2022-03-17 01:11:10 +01:00
|
|
|
import type { NextPage } from 'next'
|
2022-05-16 14:25:01 +02:00
|
|
|
import { FiGithub } from 'react-icons/fi'
|
2022-04-13 02:16:51 +02:00
|
|
|
import Link from 'next/link'
|
2022-05-16 14:25:01 +02:00
|
|
|
import useTranslation from 'next-translate/useTranslation'
|
2022-02-12 23:07:11 +01:00
|
|
|
|
2022-05-16 14:25:01 +02:00
|
|
|
import NextHead from 'components/NextHead'
|
2022-04-05 05:08:50 +02:00
|
|
|
|
|
|
|
import styles from '../styles/pages/home.module.scss'
|
2022-03-16 18:31:33 +01:00
|
|
|
|
2022-02-12 23:07:11 +01:00
|
|
|
const Home: NextPage = () => {
|
2022-05-16 14:25:01 +02:00
|
|
|
const { t } = useTranslation()
|
|
|
|
|
2022-03-16 18:31:33 +01:00
|
|
|
return (
|
2022-04-05 05:08:50 +02:00
|
|
|
<main className={styles.application}>
|
2022-05-16 14:25:01 +02:00
|
|
|
<NextHead />
|
2022-04-05 05:08:50 +02:00
|
|
|
|
2022-04-13 02:16:51 +02:00
|
|
|
<p className={styles.title}>
|
2022-05-16 14:25:01 +02:00
|
|
|
{t('home:title')} <br />
|
|
|
|
<span className={styles.subtitle}>{t('home:subtitle')}</span>
|
2022-04-13 02:16:51 +02:00
|
|
|
</p>
|
|
|
|
<Link href='https://github.com/Walidoux'>
|
2022-04-18 20:17:31 +02:00
|
|
|
<a className={styles['redirect-link']} target='_blank'>
|
2022-05-16 14:25:01 +02:00
|
|
|
<FiGithub fontSize={20} />
|
|
|
|
<span className={styles.text}>{t('common:walidoux-github')}</span>
|
2022-04-13 02:16:51 +02:00
|
|
|
</a>
|
|
|
|
</Link>
|
2022-04-05 05:08:50 +02:00
|
|
|
</main>
|
2022-03-17 01:11:10 +01:00
|
|
|
)
|
|
|
|
}
|
2022-02-12 23:07:11 +01:00
|
|
|
|
2022-03-17 01:11:10 +01:00
|
|
|
export default Home
|