import Link from 'next/link' import { locales, type Dict, type Locale } from '@/i18n' export function Header({ t, locale, showProjects, showNews }: { t: Dict; locale: Locale; showProjects: boolean; showNews: boolean }) { const links = [ ['#mission', t.nav.mission, true], ['#directions', t.nav.directions, true], ['#projects', t.nav.projects, showProjects], ['#news', t.nav.news, showNews], ['#collaboration', t.nav.collaboration, true], ] as const return (
{t.siteName}
{locales.map((l) => ( {l.toUpperCase()} ))}
) }