Add user name to Navbar component

This commit is contained in:
Sean Morley
2024-04-05 22:17:20 +00:00
parent f335917047
commit 3ab2918ed2
2 changed files with 6 additions and 2 deletions

View File

@@ -1,12 +1,12 @@
<script lang="ts">
export let data;
import Footer from "$lib/components/Footer.svelte";
import Navbar from "$lib/components/Navbar.svelte";
import "../app.css";
// only show footer if scrolled to the bottom
</script>
<Navbar />
<Navbar user={data.user} />
<section>
<slot />
</section>