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">
import '../app.css';
import "../app.css";
import Navbar from "../components/navbar/navbar.svelte";
</script>
<Navbar />
<slot />

View File

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

View File

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