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 @@ |
|||||||
<script> |
<script> |
||||||
import "../app.css"; |
import "../app.css"; |
||||||
|
import Navbar from "$lib/components/navbar.svelte"; |
||||||
</script> |
</script> |
||||||
|
|
||||||
|
<Navbar /> |
||||||
|
|
||||||
<slot /> |
<slot /> |
||||||
|
|||||||
Loading…
Reference in new issue