Prep Utilised Pages

Move navbar to shared layout.svelte so that it remains on all pages. Also keeps theme state.
This commit is contained in:
Nick Bland 2024-04-09 23:10:54 +10:00
parent 268a0ca69e
commit ef055880aa
Signed by: NickBland
GPG Key ID: 31CADD9E5FDD798C
3 changed files with 6 additions and 6 deletions

View File

@ -1,5 +1,8 @@
<script lang="ts"> <script lang="ts">
import '../app.css'; import "../app.css";
import Navbar from "../components/navbar/navbar.svelte";
</script> </script>
<Navbar />
<slot /> <slot />

View File

@ -1,5 +1 @@
<script> <h1>Home</h1>
import Navbar from "../components/navbar/navbar.svelte";
</script>
<Navbar />

View File

@ -0,0 +1 @@
<h1>Portfolio</h1>