omnivore/packages/web/pages/404.tsx
2023-02-27 10:06:36 +08:00

16 lines
476 B
TypeScript

import Head from 'next/head'
import { ErrorLayout } from '../components/templates/ErrorLayout'
import { SettingsLayout } from '../components/templates/SettingsLayout'
export default function Custom404(): JSX.Element {
return (
<>
<Head>
<title>Page Not Found</title>
</Head>
<SettingsLayout title="Page could not be found">
<ErrorLayout statusCode={404} message="This page could not be found." />
</SettingsLayout>
</>
)
}