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:
parent
268a0ca69e
commit
ef055880aa
@ -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 />
|
||||||
|
@ -1,5 +1 @@
|
|||||||
<script>
|
<h1>Home</h1>
|
||||||
import Navbar from "../components/navbar/navbar.svelte";
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<Navbar />
|
|
||||||
|
1
src/routes/portfolio/+page.svelte
Normal file
1
src/routes/portfolio/+page.svelte
Normal file
@ -0,0 +1 @@
|
|||||||
|
<h1>Portfolio</h1>
|
Loading…
Reference in New Issue
Block a user