Quick Footer

+ Add generic footer
This commit is contained in:
Nick Bland 2024-04-12 17:43:16 +10:00
parent 55fd49bfc6
commit 15f17daada
Signed by: NickBland
GPG Key ID: 31CADD9E5FDD798C
2 changed files with 14 additions and 0 deletions

View File

@ -0,0 +1,11 @@
<footer
class="footer items-center p-4 bg-base-300 dark:bg-neutral dark:text-neutral-content"
>
<aside class="items-center grid-flow-col">
<a class="btn btn-ghost text-xl" href="/">nickbland.dev</a>
<p>Copyright © 2024 - All right reserved</p>
</aside>
<nav class="grid-flow-col gap-4 md:place-self-center md:justify-self-end">
<!-- Buttons Here -->
</nav>
</footer>

View File

@ -1,8 +1,11 @@
<script lang="ts"> <script lang="ts">
import "../app.css"; import "../app.css";
import Navbar from "../components/navbar/navbar.svelte"; import Navbar from "../components/navbar/navbar.svelte";
import Footer from "../components/footer.svelte";
</script> </script>
<Navbar /> <Navbar />
<slot /> <slot />
<Footer />