1
0
Fork 0
mirror of https://github.com/seanmorley15/AdventureLog.git synced 2025-08-03 20:25:18 +02:00
AdventureLog/src/routes/+layout.svelte

22 lines
405 B
Svelte
Raw Normal View History

<script>
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";
2024-04-02 22:02:20 +00:00
// only show footer if scrolled to the bottom
</script>
<Navbar />
<section>
2024-04-02 22:02:20 +00:00
<slot />
</section>
<!-- <Footer /> -->
2024-04-02 22:02:20 +00:00
<!-- <style>
section {
margin-top: 2rem;
margin-bottom: 5rem;
/* gives the footer space! */
}
2024-04-02 22:02:20 +00:00
</style> -->