2023-10-23 23:11:59 +02:00
|
|
|
import { RevealFade } from "@/components/design/RevealFade"
|
|
|
|
import { Section } from "@/components/design/Section"
|
|
|
|
import { Interests } from "@/components/Interests"
|
|
|
|
import { Portfolio } from "@/components/Portfolio"
|
|
|
|
import { Profile } from "@/components/Profile"
|
|
|
|
import { SocialMediaList } from "@/components/Profile/SocialMediaList"
|
|
|
|
import { Skills } from "@/components/Skills"
|
|
|
|
import { OpenSource } from "@/components/OpenSource"
|
|
|
|
import { getI18n } from "@/i18n/i18n.server"
|
2023-07-31 19:06:46 +02:00
|
|
|
|
|
|
|
const HomePage = (): JSX.Element => {
|
|
|
|
const i18n = getI18n()
|
|
|
|
|
|
|
|
return (
|
2023-10-23 23:11:59 +02:00
|
|
|
<main className="flex flex-col md:mx-auto md:max-w-4xl lg:max-w-7xl">
|
|
|
|
<Section isMain id="about">
|
2023-07-31 19:06:46 +02:00
|
|
|
<Profile />
|
|
|
|
<SocialMediaList />
|
|
|
|
</Section>
|
|
|
|
|
|
|
|
<RevealFade>
|
|
|
|
<Section
|
2023-10-23 23:11:59 +02:00
|
|
|
id="interests"
|
|
|
|
heading={i18n.translate("home.interests.title")}
|
2023-07-31 19:06:46 +02:00
|
|
|
>
|
|
|
|
<Interests />
|
|
|
|
</Section>
|
|
|
|
</RevealFade>
|
|
|
|
|
|
|
|
<RevealFade>
|
|
|
|
<Section
|
2023-10-23 23:11:59 +02:00
|
|
|
id="skills"
|
|
|
|
heading={i18n.translate("home.skills.title")}
|
2023-07-31 19:06:46 +02:00
|
|
|
withoutShadowContainer
|
|
|
|
>
|
|
|
|
<Skills />
|
|
|
|
</Section>
|
|
|
|
</RevealFade>
|
|
|
|
|
|
|
|
<RevealFade>
|
|
|
|
<Section
|
2023-10-23 23:11:59 +02:00
|
|
|
id="portfolio"
|
|
|
|
heading={i18n.translate("home.portfolio.title")}
|
2023-07-31 19:06:46 +02:00
|
|
|
withoutShadowContainer
|
|
|
|
>
|
|
|
|
<Portfolio />
|
|
|
|
</Section>
|
|
|
|
</RevealFade>
|
|
|
|
|
|
|
|
<RevealFade>
|
2023-10-23 23:11:59 +02:00
|
|
|
<Section id="open-source" heading="Open source" withoutShadowContainer>
|
2023-07-31 19:06:46 +02:00
|
|
|
<OpenSource />
|
|
|
|
</Section>
|
|
|
|
</RevealFade>
|
|
|
|
</main>
|
|
|
|
)
|
|
|
|
}
|
|
|
|
|
|
|
|
export default HomePage
|