mirror of
https://github.com/theoludwig/theoludwig.git
synced 2024-11-15 16:43:12 +01:00
17 lines
470 B
TypeScript
17 lines
470 B
TypeScript
import type { LocaleProps } from "@repo/i18n/config"
|
|
import { CurriculumVitae } from "@repo/ui/CurriculumVitae"
|
|
import { unstable_setRequestLocale } from "next-intl/server"
|
|
|
|
interface CurriculumVitaeProps extends LocaleProps {}
|
|
|
|
const CurriculumVitaePage: React.FC<CurriculumVitaeProps> = (props) => {
|
|
const { params } = props
|
|
|
|
// Enable static rendering
|
|
unstable_setRequestLocale(params.locale)
|
|
|
|
return <CurriculumVitae />
|
|
}
|
|
|
|
export default CurriculumVitaePage
|