Skip to content

Commit 4a24ef3

Browse files
committed
temp: add empty page for lighthouse control
1 parent 2dcc6df commit 4a24ef3

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

app/[locale]/empty/page.tsx

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
import { getMetadata } from "@/lib/utils/metadata"
2+
3+
import { routing } from "@/i18n/routing"
4+
5+
const Page = async () => {
6+
return <h1 className="text-center font-black">ethereum.org</h1>
7+
}
8+
9+
export async function generateStaticParams() {
10+
return routing.locales.map((locale) => ({
11+
locale,
12+
}))
13+
}
14+
15+
export async function generateMetadata() {
16+
return await getMetadata({
17+
locale: "en",
18+
slug: [""],
19+
title: "ethereum.org",
20+
description: "Empty page test",
21+
})
22+
}
23+
24+
export default Page

0 commit comments

Comments
 (0)