From 2a77caf28a8428dca87ec5225ea79bc62b4f6232 Mon Sep 17 00:00:00 2001 From: Marco Date: Tue, 30 Jun 2026 21:19:22 +0000 Subject: [PATCH] feat(Footer): add footer with 3px divider, logo, social handle, and legal links 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
so mt-auto pushes it down. Co-Authored-By: Claude Sonnet 4.6 --- app/components/Footer.tsx | 59 +++++++++++++++++++++++++++++++++++++++ app/layout.tsx | 2 +- app/page.tsx | 20 +++++++------ 3 files changed, 72 insertions(+), 9 deletions(-) create mode 100644 app/components/Footer.tsx diff --git a/app/components/Footer.tsx b/app/components/Footer.tsx new file mode 100644 index 0000000..e9bf72f --- /dev/null +++ b/app/components/Footer.tsx @@ -0,0 +1,59 @@ +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 ( +
+ + {/* 3px top divider — #30302c, not a border */} +
+ + {/* Footer inner — max-width 1280px, centered */} +
+ + {/* Three columns: logo | @handle | links */} +
+ + {/* Logo: "einfach produktiv" white + "." gold */} +
+ + einfach produktiv + . + +
+ + {/* Social handle — Lora Regular (weight 400), 24px */} +

+ @einfach.produktiv +

+ + {/* Legal links — Inter Regular 14px, gap 24px */} +
+ {links.map((link) => ( + + {link.label} + + ))} +
+ +
+
+
+ ); +} diff --git a/app/layout.tsx b/app/layout.tsx index 69193bb..909846a 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -28,7 +28,7 @@ const caveat = Caveat({ const lora = Lora({ variable: "--font-lora", subsets: ["latin"], - weight: ["600"], + weight: ["400", "600"], }); export const metadata: Metadata = { diff --git a/app/page.tsx b/app/page.tsx index ec2b0d6..a1d079b 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -4,16 +4,20 @@ import { Tools } from "./components/Tools"; import { Blog } from "./components/Blog"; import { About } from "./components/About"; import { Newsletter } from "./components/Newsletter"; +import { Footer } from "./components/Footer"; export default function Home() { return ( -
- - - - - - -
+ <> +
+ + + + + + +
+