diff --git a/src/app/[lang]/page.tsx b/src/app/[lang]/page.tsx index 1e9c77c..06b634c 100644 --- a/src/app/[lang]/page.tsx +++ b/src/app/[lang]/page.tsx @@ -1,4 +1,13 @@ -export default function Home() { +import langKey from "@/bootstrap/i18n/dictionaries/lang-key"; +import { getServerTranslation, LANGS } from "@/bootstrap/i18n/i18n"; +import Link from "next/link"; + +export default async function Home(props: { + params: Promise<{ lang: LANGS }>; +}) { + const { params } = props; + const { lang } = await params; + const { t } = await getServerTranslation(lang); return (
@@ -8,6 +17,12 @@ export default function Home() { Welcome to Acme. This is the example for the , brought to you by Vercel.

+ + {t(langKey.global.dashboard)} +