2021-04-18 01:56:23 +02:00
|
|
|
import { GetStaticProps } from 'next'
|
|
|
|
import useTranslation from 'next-translate/useTranslation'
|
|
|
|
|
|
|
|
import { Contact } from 'components/Contact'
|
|
|
|
import { RevealFade } from 'components/design/RevealFade'
|
|
|
|
import { Section } from 'components/design/Section'
|
2021-04-18 23:09:51 +02:00
|
|
|
import { Head } from 'components/Head'
|
2021-04-18 01:56:23 +02:00
|
|
|
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'
|
|
|
|
|
|
|
|
const Home: React.FC = () => {
|
|
|
|
const { t } = useTranslation()
|
|
|
|
|
|
|
|
return (
|
|
|
|
<>
|
|
|
|
<Head />
|
|
|
|
|
|
|
|
<Section isMain id='about'>
|
|
|
|
<Profile />
|
|
|
|
<SocialMediaList />
|
|
|
|
</Section>
|
|
|
|
|
|
|
|
<RevealFade>
|
|
|
|
<Section id='interests' heading={t('home:interests.title')}>
|
|
|
|
<Interests />
|
|
|
|
</Section>
|
|
|
|
</RevealFade>
|
|
|
|
|
|
|
|
<RevealFade>
|
|
|
|
<Section id='skills' heading={t('home:skills.title')} withoutShadowContainer>
|
|
|
|
<Skills />
|
|
|
|
</Section>
|
|
|
|
</RevealFade>
|
|
|
|
|
|
|
|
<RevealFade>
|
|
|
|
<Section
|
|
|
|
id='portfolio'
|
|
|
|
heading={t('home:portfolio.title')}
|
|
|
|
withoutShadowContainer
|
|
|
|
>
|
|
|
|
<Portfolio />
|
|
|
|
</Section>
|
|
|
|
</RevealFade>
|
|
|
|
|
|
|
|
<RevealFade>
|
|
|
|
<Section id='contact' heading={t('home:contact.title')}>
|
|
|
|
<Contact />
|
|
|
|
</Section>
|
|
|
|
</RevealFade>
|
|
|
|
</>
|
|
|
|
)
|
|
|
|
}
|
|
|
|
|
|
|
|
export const getStaticProps: GetStaticProps = async () => {
|
|
|
|
return { props: {} }
|
|
|
|
}
|
|
|
|
|
|
|
|
export default Home
|