diff --git a/src/app/[locale]/agenda/page.tsx b/src/app/[locale]/agenda/page.tsx deleted file mode 100644 index 78ba041..0000000 --- a/src/app/[locale]/agenda/page.tsx +++ /dev/null @@ -1,78 +0,0 @@ -import Script from 'next/script'; -import { getLocale, Lang, locales } from '@/i18n/locales'; -import { translations } from '@/i18n/translations'; -import { Metadata } from 'next'; -import Link from 'next/link'; -import { LanguageSelector } from '@/components/ui/language-selector'; - -export async function generateStaticParams() { - return locales.map((locale) => ({ locale })); -} - -export async function generateMetadata({ params }: { params: Promise<{ locale: Lang }> }): Promise { - const { locale } = await params; - const currentLocale = getLocale(locale); - const t = translations[currentLocale]; - return { - title: `${t.contribute.agenda.title} - ${t.hero.title}`, - description: t.about.description, - }; -} - -export default async function AgendaPage({ params }: { params: Promise<{ locale: Lang }> }) { - const { locale } = await params; - const currentLocale = getLocale(locale); - const t = translations[currentLocale]; - - return ( - <> -