Quick Footer
+ Add generic footer
This commit is contained in:
parent
55fd49bfc6
commit
15f17daada
11
src/components/footer.svelte
Normal file
11
src/components/footer.svelte
Normal 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>
|
@ -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 />
|
Loading…
Reference in New Issue
Block a user