Add Footer component to layout and remove StyleGuidePage
All checks were successful
Deploy with Docker Compose / deploy (push) Successful in 2m19s
All checks were successful
Deploy with Docker Compose / deploy (push) Successful in 2m19s
This commit is contained in:
40
components/layout/Footer.tsx
Normal file
40
components/layout/Footer.tsx
Normal 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>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user