1
1
mirror of https://github.com/theoludwig/theoludwig.git synced 2024-11-15 16:43:12 +01:00
.profile/apps/website/app/[locale]/curriculum-vitae/page.tsx

18 lines
486 B
TypeScript
Raw Normal View History

import type { LocaleProps } from "@repo/i18n/routing"
import { CurriculumVitae } from "@repo/ui/CurriculumVitae"
import { setRequestLocale } from "next-intl/server"
2024-07-31 19:23:14 +02:00
interface CurriculumVitaeProps extends LocaleProps {}
const CurriculumVitaePage: React.FC<CurriculumVitaeProps> = async (props) => {
2024-07-31 19:23:14 +02:00
const { params } = props
const { locale } = await params
2024-07-31 19:23:14 +02:00
// Enable static rendering
setRequestLocale(locale)
2024-07-31 19:23:14 +02:00
return <CurriculumVitae />
2024-07-31 19:23:14 +02:00
}
export default CurriculumVitaePage