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

17 lines
470 B
TypeScript
Raw Normal View History

2024-07-31 19:23:14 +02:00
import type { LocaleProps } from "@repo/i18n/config"
import { CurriculumVitae } from "@repo/ui/CurriculumVitae"
2024-07-31 19:23:14 +02:00
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 />
2024-07-31 19:23:14 +02:00
}
export default CurriculumVitaePage