diff --git a/logo.png b/logo.png new file mode 100644 index 0000000..47693ae Binary files /dev/null and b/logo.png differ diff --git a/src/lib/components/layout/Header.svelte b/src/lib/components/layout/Header.svelte index cfbb18c..5e704a1 100644 --- a/src/lib/components/layout/Header.svelte +++ b/src/lib/components/layout/Header.svelte @@ -17,7 +17,6 @@ Settings, BookOpen, Library, - Feather, Download, FileJson, FileText, @@ -61,19 +60,25 @@ }; }); - async function handleExport(exportFn: () => Promise, formatName: string) { + async function handleExport( + exportFn: () => Promise, + formatName: string, + ) { if (!story.currentStory) return; showExportMenu = false; try { const success = await exportFn(); if (success) { - ui.showToast(`Exported story as ${formatName}`, 'info'); + ui.showToast(`Exported story as ${formatName}`, "info"); } else { - ui.showToast('Export cancelled', 'info'); + ui.showToast("Export cancelled", "info"); } } catch (error) { - console.error('[Header] Export failed:', error); - ui.showToast(`Export failed: ${error instanceof Error ? error.message : 'Unknown error'}`, 'error'); + console.error("[Header] Export failed:", error); + ui.showToast( + `Export failed: ${error instanceof Error ? error.message : "Unknown error"}`, + "error", + ); } } @@ -117,7 +122,7 @@ branches, chapters, ), - 'Aventura (.avt)', + "Aventura (.avt)", ); } @@ -132,7 +137,7 @@ story.locations, true, ), - 'Markdown (.md)', + "Markdown (.md)", ); } @@ -140,7 +145,7 @@ if (!story.currentStory) return; await handleExport( () => exportService.exportToText(story.currentStory, story.entries), - 'Plain Text (.txt)', + "Plain Text (.txt)", ); } @@ -150,9 +155,9 @@ >
-
+
{#if story.currentStory} - + Aventura @@ -165,7 +170,7 @@ {/if} {:else} - + Aventura Aventura {/if}
@@ -297,7 +302,9 @@ title="Join our Discord community" > - + {/if} diff --git a/static/logo.png b/static/logo.png new file mode 100644 index 0000000..47693ae Binary files /dev/null and b/static/logo.png differ diff --git a/static/logo_bg.png b/static/logo_bg.png new file mode 100644 index 0000000..61f890f Binary files /dev/null and b/static/logo_bg.png differ