2024-07-30 23:59:06 +02:00
|
|
|
import type { LocaleProps } from "@repo/i18n/config"
|
2024-07-31 11:41:39 +02:00
|
|
|
import { About } from "@repo/ui/Home/About"
|
|
|
|
import { Interests } from "@repo/ui/Home/Interests"
|
|
|
|
import { OpenSource } from "@repo/ui/Home/OpenSource"
|
|
|
|
import { Portfolio } from "@repo/ui/Home/Portfolio"
|
|
|
|
import { Skills } from "@repo/ui/Home/Skills"
|
|
|
|
import { MainLayout } from "@repo/ui/Layout/MainLayout"
|
|
|
|
import { RevealFade } from "@repo/ui/Layout/Section"
|
2024-07-30 23:59:06 +02:00
|
|
|
import { unstable_setRequestLocale } from "next-intl/server"
|
|
|
|
|
|
|
|
interface HomePageProps extends LocaleProps {}
|
|
|
|
|
|
|
|
const HomePage: React.FC<HomePageProps> = (props) => {
|
|
|
|
const { params } = props
|
|
|
|
|
|
|
|
// Enable static rendering
|
|
|
|
unstable_setRequestLocale(params.locale)
|
|
|
|
|
|
|
|
return (
|
|
|
|
<MainLayout>
|
|
|
|
<About />
|
|
|
|
|
|
|
|
<RevealFade>
|
|
|
|
<Interests />
|
|
|
|
</RevealFade>
|
|
|
|
|
|
|
|
<RevealFade>
|
|
|
|
<Skills />
|
|
|
|
</RevealFade>
|
|
|
|
|
|
|
|
<RevealFade>
|
|
|
|
<Portfolio />
|
|
|
|
</RevealFade>
|
|
|
|
|
|
|
|
<RevealFade>
|
|
|
|
<OpenSource />
|
|
|
|
</RevealFade>
|
|
|
|
</MainLayout>
|
|
|
|
)
|
|
|
|
}
|
|
|
|
|
|
|
|
export default HomePage
|