--- import type { Lang } from '@/i18n/utils'; import type { TranslationKey } from '@/i18n/ui'; interface Props { t: (key: TranslationKey) => string; lang: Lang; } const { t, lang } = Astro.props; const year = new Date().getFullYear(); const base = lang === 'en' ? '/en' : ''; const locationText = lang === 'en' ? 'Maldonado, Uruguay' : 'Maldonado, Uruguay'; const navLinks: { href: string; key: TranslationKey }[] = [ { href: `${base}/`, key: 'nav.home' }, { href: `${base}/servicios/`, key: 'nav.services' }, { href: `${base}/planes/`, key: 'nav.plans' }, { href: `${base}/nosotros/`, key: 'nav.about' }, { href: `${base}/instructivos/`, key: 'nav.tutorials' }, { href: `${base}/contacto/`, key: 'nav.contact' }, ]; const legalLinks = [ { href: `${base}/legal/privacidad/`, key: 'footer.privacy' as TranslationKey }, { href: `${base}/legal/terminos/`, key: 'footer.terms' as TranslationKey }, ]; ---