Compare commits

...

2 commits

Author SHA1 Message Date
Imbus
a83cce236f Formatting 2024-03-08 06:28:57 +01:00
Imbus
aee8a44404 CLS fix significantly better on footer with sticky 2024-03-08 06:28:46 +01:00

View file

@ -3,10 +3,14 @@ import { JSXElement } from "solid-js";
export function Footer(): JSXElement {
return (
/* Something here is causing a Layout Shift, TODO: Fix */
<footer class="footer footer-center mt-auto rounded bg-base-200 p-10 text-base-content">
<footer class="footer footer-center sticky mt-auto rounded bg-base-200 p-10 text-base-content">
<nav class="grid grid-flow-col gap-4">
<a href="/about" class="link-hover link">About us</a>
<a href="/contact" class="link-hover link">Contact</a>
<a href="/about" class="link-hover link">
About us
</a>
<a href="/contact" class="link-hover link">
Contact
</a>
</nav>
<nav>
<div class="grid grid-flow-col gap-4">