hackathon/web_src/routes/__layout.svelte

15 lines
300 B
Svelte

<script>
import '../app.css';
import Modal from 'svelte-simple-modal';
import Navbar from '$lib/components/Navbar.svelte';
import Footer from '$lib/components/Footer.svelte';
</script>
<Modal>
<Navbar />
<div class="mx-auto mt-6 relative min-h-[80vh]">
<slot />
</div>
<Footer />
</Modal>