2a77caf28a
Dark bg (#111). Top divider is a 3px div in #30302c (not a CSS border). Three justify-between columns: Lora SemiBold logo with gold period (#fdb705), Lora Regular @handle centered (added weight 400 to Lora config), Inter 14px legal links with gap-6. Footer sits outside <main> so mt-auto pushes it down. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
60 lines
2.0 KiB
TypeScript
60 lines
2.0 KiB
TypeScript
import Link from "next/link";
|
|
|
|
const links = [
|
|
{ label: "Impressum", href: "/impressum" },
|
|
{ label: "Datenschutz", href: "/datenschutz" },
|
|
{ label: "AGB", href: "/agb" },
|
|
{ label: "Widerruf", href: "/widerruf" },
|
|
];
|
|
|
|
export function Footer() {
|
|
return (
|
|
<footer className="bg-[#111] flex flex-col items-center justify-end w-full mt-auto">
|
|
|
|
{/* 3px top divider — #30302c, not a border */}
|
|
<div className="bg-[#30302c] h-[3px] w-full shrink-0" />
|
|
|
|
{/* Footer inner — max-width 1280px, centered */}
|
|
<div className="flex flex-col items-start w-full max-w-[1280px] py-4">
|
|
|
|
{/* Three columns: logo | @handle | links */}
|
|
<div className="flex items-center justify-between px-16 w-full">
|
|
|
|
{/* Logo: "einfach produktiv" white + "." gold */}
|
|
<div className="flex items-center p-2 shrink-0">
|
|
<span
|
|
className="font-semibold text-white text-[1.25rem] leading-normal whitespace-nowrap"
|
|
style={{ fontFamily: "var(--font-lora)" }}
|
|
>
|
|
einfach produktiv
|
|
<span style={{ color: "#fdb705" }}>.</span>
|
|
</span>
|
|
</div>
|
|
|
|
{/* Social handle — Lora Regular (weight 400), 24px */}
|
|
<p
|
|
className="font-normal text-white text-[1.5rem] text-center leading-[1.2] whitespace-nowrap shrink-0"
|
|
style={{ fontFamily: "var(--font-lora)", fontWeight: 400 }}
|
|
>
|
|
@einfach.produktiv
|
|
</p>
|
|
|
|
{/* Legal links — Inter Regular 14px, gap 24px */}
|
|
<div className="flex items-start gap-6 shrink-0">
|
|
{links.map((link) => (
|
|
<Link
|
|
key={link.label}
|
|
href={link.href}
|
|
className="font-normal text-white text-[0.875rem] leading-[1.5] whitespace-nowrap hover:text-[#f6a701] transition-colors"
|
|
>
|
|
{link.label}
|
|
</Link>
|
|
))}
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
</footer>
|
|
);
|
|
}
|