"use client" import { useTranslations } from "next-intl" import Link from "next/link" import { useLocale } from "next-intl" export function Footer() { const t = useTranslations("common") const locale = useLocale() const year = new Date().getFullYear() // Helper to generate localized path // If we had a centralized navigation config with createSharedPathnamesNavigation, we would use that Link. // Since we are using next/link manually: const getPath = (path: string) => { // Ideally we should check if default locale needs prefix or not based on middleware config // But safely: if locale is strictly part of the URL structure in this app... // The Logo uses "/" which might reset locale. // Let's try to preserve it. return `/${locale}${path}` } return ( ) }