import Link from 'next/link'; import en from '@/i18n/en.json'; interface FooterProps { variant?: 'marketing' | 'dashboard'; t?: typeof en; // Optional translation object } export function Footer({ variant = 'marketing', t }: FooterProps) { const isDashboard = variant === 'dashboard'; // Fallback to English if no translation is provided or if keys are missing const translations = t?.footer || en.footer; return ( ); }