Add Footer component to layout and remove StyleGuidePage
All checks were successful
Deploy with Docker Compose / deploy (push) Successful in 2m19s

This commit is contained in:
Julien Froidefond
2025-12-12 17:10:19 +01:00
parent 5b96cf907e
commit 6d1e3daebb
4 changed files with 59 additions and 11 deletions

View File

@@ -0,0 +1,40 @@
"use client";
import Link from "next/link";
export default function Footer() {
return (
<footer
className="w-full py-6 px-4 sm:px-8 border-t"
style={{
backgroundColor: "var(--background)",
borderColor: "color-mix(in srgb, var(--gray-800) 30%, transparent)",
}}
>
<div className="max-w-7xl mx-auto flex flex-col sm:flex-row items-center justify-between gap-4">
<div
className="text-xs text-center sm:text-left"
style={{ color: "var(--muted-foreground)" }}
>
© {new Date().getFullYear()} Game of Tech - Peaksys
</div>
<div className="flex items-center gap-6">
<Link
href="/style-guide"
className="text-xs uppercase tracking-widest transition"
style={{ color: "var(--muted-foreground)" }}
onMouseEnter={(e) =>
(e.currentTarget.style.color = "var(--accent-color)")
}
onMouseLeave={(e) =>
(e.currentTarget.style.color = "var(--muted-foreground)")
}
>
Style Guide
</Link>
</div>
</div>
</footer>
);
}