Skip to content

Commit

Permalink
Move footer to layout component
Browse files Browse the repository at this point in the history
  • Loading branch information
adriandelgado committed Aug 6, 2024
1 parent 908a05a commit 8cb7a2a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 2 additions & 0 deletions src/routes/+layout.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import { Toaster } from "svelte-sonner";
import { page } from "$app/stores";
import Navbar from "$lib/components/layout/Navbar.svelte";
import Footer from "$lib/components/Footer.svelte";
let { children } = $props();
</script>
Expand All @@ -14,4 +15,5 @@

<Navbar />
{@render children()}
<Footer />
<Toaster richColors closeButton />
5 changes: 0 additions & 5 deletions src/routes/+page.svelte
Original file line number Diff line number Diff line change
@@ -1,7 +1,2 @@
<script>
import Footer from "$lib/components/Footer.svelte";
</script>
<h1 class="font-mono text-5xl">Bienvenido a KOKOA</h1>
<p class="font-mono">Promovemos la programación orientada al comunismo</p>

<Footer></Footer>

0 comments on commit 8cb7a2a

Please sign in to comment.