2024-04-03 22:59:05 +00:00
|
|
|
<script lang="ts">
|
2024-04-05 22:17:20 +00:00
|
|
|
export let data;
|
2024-04-02 22:02:20 +00:00
|
|
|
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
|
2024-03-29 22:44:32 +00:00
|
|
|
</script>
|
|
|
|
|
2024-04-05 22:22:09 +00:00
|
|
|
<!-- passes the user object to the navbar component -->
|
2024-04-05 22:17:20 +00:00
|
|
|
<Navbar user={data.user} />
|
2024-03-29 22:44:32 +00:00
|
|
|
<section>
|
2024-04-02 22:02:20 +00:00
|
|
|
<slot />
|
|
|
|
</section>
|
|
|
|
<!-- <Footer /> -->
|
2024-03-29 22:44:32 +00:00
|
|
|
|
2024-04-02 22:02:20 +00:00
|
|
|
<!-- <style>
|
2024-03-29 22:44:32 +00:00
|
|
|
section {
|
2024-03-29 22:52:42 +00:00
|
|
|
margin-top: 2rem;
|
2024-03-29 22:44:32 +00:00
|
|
|
margin-bottom: 5rem;
|
|
|
|
/* gives the footer space! */
|
|
|
|
}
|
2024-04-02 22:02:20 +00:00
|
|
|
</style> -->
|