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">
|
||||
import '../app.css';
|
||||
import "../app.css";
|
||||
import Navbar from "../components/navbar/navbar.svelte";
|
||||
</script>
|
||||
|
||||
<Navbar />
|
||||
|
||||
<slot />
|
||||
|
@ -1,5 +1 @@
|
||||
<script>
|
||||
import Navbar from "../components/navbar/navbar.svelte";
|
||||
</script>
|
||||
|
||||
<Navbar />
|
||||
<h1>Home</h1>
|
||||
|
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