diff --git a/pages/404.tsx b/pages/404.tsx index 2f6f306..3875ee3 100644 --- a/pages/404.tsx +++ b/pages/404.tsx @@ -1,4 +1,5 @@ import type { NextPage } from "next"; +import Head from "next/head"; import Link from "next/link"; import styles from "../styles/Errorpage.module.css"; @@ -64,7 +65,9 @@ const svg = ` `; const Custom404: NextPage = () => { - return
+ return <> + Error 404 - c0ntroller.de +
@@ -73,7 +76,7 @@ const Custom404: NextPage = () => { > Back to the main page <
-
; + ; }; export default Custom404; \ No newline at end of file diff --git a/pages/_error.tsx b/pages/_error.tsx index b14eb1f..2720852 100644 --- a/pages/_error.tsx +++ b/pages/_error.tsx @@ -1,4 +1,5 @@ import { NextPage, NextPageContext } from "next"; +import Head from "next/head"; import Link from "next/link"; import styles from "../styles/Errorpage.module.css"; @@ -64,7 +65,9 @@ const Error: NextPage<{ statusCode?: number }> = ({ statusCode }) => { `; - return
+ return <> + Error {statusCode} - c0ntroller.de +
@@ -74,7 +77,7 @@ const Error: NextPage<{ statusCode?: number }> = ({ statusCode }) => { > Back to the main page <
-
; + ; }; Error.getInitialProps = ({ res, err }: NextPageContext) => {