From 94d5a97da3ae64dd6f05756ecd9ee277ec9e8ddc Mon Sep 17 00:00:00 2001 From: Dallas Hoffman Date: Mon, 25 Sep 2023 00:59:55 -0400 Subject: [PATCH] Header bar --- src/lib/components/app-header.svelte | 35 +++++++++++++++++++ .../settings/settings-button.svelte | 9 ++++- src/lib/components/theme-toggle.svelte | 1 + src/routes/+page.svelte | 21 ++--------- 4 files changed, 46 insertions(+), 20 deletions(-) create mode 100644 src/lib/components/app-header.svelte diff --git a/src/lib/components/app-header.svelte b/src/lib/components/app-header.svelte new file mode 100644 index 0000000..5a842a6 --- /dev/null +++ b/src/lib/components/app-header.svelte @@ -0,0 +1,35 @@ + + +
+ +

Notes

+ +
+ + diff --git a/src/lib/components/settings/settings-button.svelte b/src/lib/components/settings/settings-button.svelte index aedff69..78756ec 100644 --- a/src/lib/components/settings/settings-button.svelte +++ b/src/lib/components/settings/settings-button.svelte @@ -4,6 +4,13 @@ import { settings } from '$lib/stores'; - diff --git a/src/lib/components/theme-toggle.svelte b/src/lib/components/theme-toggle.svelte index f3ca5c1..85b033f 100644 --- a/src/lib/components/theme-toggle.svelte +++ b/src/lib/components/theme-toggle.svelte @@ -10,6 +10,7 @@ icon size="lg" label={`Switch to ${$theme === 'dark' ? 'light' : 'dark'} theme`} + tooltipPlacement="right" on:click={theme.toggle} > {#if $theme === 'dark'} diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index bcdee7a..b0dff0b 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -1,21 +1,16 @@ -
- -

Notes

- -
+