mirror of
https://github.com/theoludwig/theoludwig.git
synced 2024-11-05 04:51:30 +01:00
24 lines
499 B
TypeScript
24 lines
499 B
TypeScript
|
import { GetStaticProps } from 'next'
|
||
|
import useTranslation from 'next-translate/useTranslation'
|
||
|
|
||
|
import { ErrorPage } from 'components/ErrorPage'
|
||
|
import Head from 'components/Head'
|
||
|
|
||
|
const Error404: React.FC = () => {
|
||
|
const { t } = useTranslation()
|
||
|
|
||
|
return (
|
||
|
<>
|
||
|
<Head title='Divlo - 404' />
|
||
|
|
||
|
<ErrorPage statusCode={404} message={t('errors:notFound')} />
|
||
|
</>
|
||
|
)
|
||
|
}
|
||
|
|
||
|
export const getStaticProps: GetStaticProps = async () => {
|
||
|
return { props: {} }
|
||
|
}
|
||
|
|
||
|
export default Error404
|