Skip to content

Connect, collaborate, and grow with a community of TypeScript developers

chode: make homepage static again (#1115)

__aadamw2da37d4dfef1
diff --git a/apps/web/src/app/[locale]/page.tsx b/apps/web/src/app/[locale]/page.tsx
index bb00aeed..a362c1a3 100644
--- a/apps/web/src/app/[locale]/page.tsx
+++ b/apps/web/src/app/[locale]/page.tsx
@@ -4,6 +4,11 @@ import { Community } from './_components/community/community';
import { Features } from './_components/features';
import { Hero } from './_components/hero';
import { WaitlistBanner } from './_components/waitlist-banner';
+import { getStaticParams } from '~/locales/server';
+
+export function generateStaticParams() {
+ return getStaticParams();
+}
export default async function Index({ params: { locale } }: { params: { locale: string } }) {
setStaticParamsLocale(locale);