diff --git a/pages/_app.tsx b/pages/_app.tsx index 8f19b22..edef891 100644 --- a/pages/_app.tsx +++ b/pages/_app.tsx @@ -10,7 +10,6 @@ import { useEffect } from 'react' const MyApp = ({ Component, pageProps }: AppProps): JSX.Element => { const { lang } = useTranslation() - // 10 years before cookie's expiration const COOKIE_EXPIRATION = 10 * 365.25 * 24 * 60 * 60 useEffect(() => { diff --git a/pages/index.tsx b/pages/index.tsx index fe7cd0a..36d0c54 100644 --- a/pages/index.tsx +++ b/pages/index.tsx @@ -3,28 +3,32 @@ import type { NextPage } from 'next' import Link from 'next/link' import useTranslation from 'next-translate/useTranslation' import { FiGithub } from 'react-icons/fi' +import { Fragment } from 'react' const Home: NextPage = () => { const { t } = useTranslation() return ( -
+ -

- {t('home:title')}
- +

+

+ {t('home:title')} +

+ {t('home:subtitle')} -

- - + {t('common:repo-github')} - - -
+ +
+ ) }