import { getDictionary, isLocale, type Locale } from "@/lib/i18n"; import { notFound } from "next/navigation"; export default function ContactPage({ params }: { params: { locale: string } }) { if (!isLocale(params.locale)) { notFound(); } const locale = params.locale as Locale; const dictionary = getDictionary(locale); return (

{dictionary.contact.kicker}

{dictionary.contact.title}

{dictionary.contact.description}

{dictionary.contact.channels.map((channel) => (

{channel.name}

{channel.status}

))}
); }