diff --git a/apps/website/src/app/[locale]/page.tsx b/apps/website/src/app/[locale]/page.tsx index 7be486734e..13d76f0a19 100644 --- a/apps/website/src/app/[locale]/page.tsx +++ b/apps/website/src/app/[locale]/page.tsx @@ -1,5 +1,17 @@ import { StartPage } from "@/components/startpage"; +import { getStaticParams } from "@/locales/server"; +import { setStaticParamsLocale } from "next-international/server"; + +export function generateStaticParams() { + return getStaticParams(); +} + +export default function Page({ + params: { locale }, +}: { + params: { locale: string }; +}) { + setStaticParamsLocale(locale); -export default function Page() { return ; }