You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
543 B
21 lines
543 B
2 years ago
|
import Head from "next/head"
|
||
|
import { ErrorComponent } from "@blitzjs/next"
|
||
|
|
||
|
// ------------------------------------------------------
|
||
|
// This page is rendered if a route match is not found
|
||
|
// ------------------------------------------------------
|
||
|
export default function Page404() {
|
||
|
const statusCode = 404
|
||
|
const title = "This page could not be found"
|
||
|
return (
|
||
|
<>
|
||
|
<Head>
|
||
|
<title>
|
||
|
{statusCode}: {title}
|
||
|
</title>
|
||
|
</Head>
|
||
|
<ErrorComponent statusCode={statusCode} title={title} />
|
||
|
</>
|
||
|
)
|
||
|
}
|