diff --git a/src/components/Nav.svelte b/src/components/Nav.svelte index 081e6e7..dc7c91b 100644 --- a/src/components/Nav.svelte +++ b/src/components/Nav.svelte @@ -1,6 +1,7 @@ Skip to content - Home - Blog - About + + Home + + + Blog + + + About + @@ -60,21 +69,31 @@ import { REPO_URL } from '$lib/siteConfig'; --> - + + /> + {#if isDark} @@ -84,13 +103,15 @@ import { REPO_URL } from '$lib/siteConfig'; fill="none" stroke="currentColor" class="h-5 w-5 text-gray-800 dark:text-yellow-100" - > + + d="M12 3v1m0 16v1m9-9h-1M4 12H3m15.364 6.364l-.707-.707M6.343 6.343l-.707-.707m12.728 + 0l-.707.707M6.343 17.657l-.707.707M16 12a4 4 0 11-8 0 4 4 0 018 0z" + /> + {:else} + + /> + {/if} diff --git a/src/routes/__layout.svelte b/src/routes/__layout.svelte index 840fb11..8640675 100644 --- a/src/routes/__layout.svelte +++ b/src/routes/__layout.svelte @@ -8,10 +8,16 @@ - + + + - @@ -21,37 +27,45 @@