From a1cf111ff349f06b8387c31043062b9976145d33 Mon Sep 17 00:00:00 2001 From: Chneemann Date: Wed, 5 Aug 2026 16:42:23 +0200 Subject: [PATCH] feat: add localized footer section --- src/components/Footer.tsx | 12 +++++++++--- src/i18n/messages/de.json | 7 ++++++- src/i18n/messages/en.json | 7 ++++++- 3 files changed, 21 insertions(+), 5 deletions(-) diff --git a/src/components/Footer.tsx b/src/components/Footer.tsx index 421ee21..28321d9 100644 --- a/src/components/Footer.tsx +++ b/src/components/Footer.tsx @@ -1,18 +1,24 @@ "use client"; import Link from "next/link"; +import { useTranslations } from "next-intl"; import AnalyticsWidget from "./AnalyticsWidget"; /** * Page footer with copyright notice, live analytics widget, and legal links */ export default function Footer() { + const tCommon = useTranslations("Common"); + const tFooter = useTranslations("Footer"); + + const currentYear = new Date().getFullYear(); + return (