Skip to content

Commit 6e9692e

Browse files
committed
feat: build homepage statically
1 parent 7142a0a commit 6e9692e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

app/[locale]/page.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ import {
2222
BLOG_FEEDS,
2323
BLOGS_WITHOUT_FEED,
2424
CALENDAR_DISPLAY_COUNT,
25+
LOCALES_CODES,
2526
RSS_DISPLAY_COUNT,
2627
} from "@/lib/constants"
2728

@@ -127,6 +128,8 @@ const Page = async ({ params }: { params: Promise<{ locale: Lang }> }) => {
127128
)
128129
}
129130

131+
export const generateStaticParams = async () => LOCALES_CODES
132+
130133
export async function generateMetadata() {
131134
const t = await getTranslations()
132135

0 commit comments

Comments
 (0)