Browse Source
navbar will be used on every page so moved to +layout.svelte to prevent reloading when the page route changesmaster
2 changed files with 3 additions and 2 deletions
@ -1,5 +1,8 @@
@@ -1,5 +1,8 @@
|
||||
<script> |
||||
import "../app.css"; |
||||
import Navbar from "$lib/components/navbar.svelte"; |
||||
</script> |
||||
|
||||
<Navbar /> |
||||
|
||||
<slot /> |
||||
|
||||
Loading…
Reference in new issue