Skip to content

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

fix(web): static site generation (#619)

Tom Lienard8e913b4fb9d1
diff --git a/apps/web/src/app/[locale]/layout.tsx b/apps/web/src/app/[locale]/layout.tsx
new file mode 100644
index 00000000..b17f5685
--- /dev/null
+++ b/apps/web/src/app/[locale]/layout.tsx
@@ -0,0 +1,9 @@
+import { getStaticParams } from '~/locales/server';
+
+export function generateStaticParams() {
+ return getStaticParams();
+}
+
+export default function RootLayout({ children }: { children: React.ReactNode }) {
+ return children;
+}