diff --git a/src/lib/assets/images/logo.png b/src/lib/assets/images/logo.png new file mode 100644 index 0000000..f2d6d4f Binary files /dev/null and b/src/lib/assets/images/logo.png differ diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte index 854e88d..5f88a65 100644 --- a/src/routes/+layout.svelte +++ b/src/routes/+layout.svelte @@ -2,7 +2,7 @@ import "../app.postcss"; import { Toaster } from "svelte-sonner"; import { page } from "$app/stores"; - + import Navbar from "./components/Navbar.svelte"; let { children } = $props(); @@ -11,5 +11,7 @@ + + {@render children()} diff --git a/src/routes/components/Navbar.svelte b/src/routes/components/Navbar.svelte new file mode 100644 index 0000000..042367a --- /dev/null +++ b/src/routes/components/Navbar.svelte @@ -0,0 +1,34 @@ + + + + + + + + {#each LINKS as { href, text }} + + {#if current_path === href} + {"{"} + {text} + {"}"} + {:else} + {text} + {/if} + + {/each} + + +