2021-09-06 20:49:13 +00:00
|
|
|
import { Head } from "blitz";
|
|
|
|
|
|
|
|
import ErrorComponent from "../core/components/error-component";
|
2021-07-31 14:33:18 +00:00
|
|
|
|
|
|
|
// ------------------------------------------------------
|
|
|
|
// This page is rendered if a route match is not found
|
|
|
|
// ------------------------------------------------------
|
|
|
|
export default function Page404() {
|
2021-07-31 15:57:43 +00:00
|
|
|
const statusCode = 404;
|
|
|
|
const title = "This page could not be found";
|
2021-07-31 14:33:18 +00:00
|
|
|
return (
|
|
|
|
<>
|
|
|
|
<Head>
|
|
|
|
<title>
|
|
|
|
{statusCode}: {title}
|
|
|
|
</title>
|
|
|
|
</Head>
|
|
|
|
<ErrorComponent statusCode={statusCode} title={title} />
|
|
|
|
</>
|
2021-07-31 15:57:43 +00:00
|
|
|
);
|
2021-07-31 14:33:18 +00:00
|
|
|
}
|