From 0eb6997efa20094f692ea71452d38916c4d75869 Mon Sep 17 00:00:00 2001 From: Mathias Schopmans Date: Thu, 29 Feb 2024 13:43:42 +0100 Subject: [PATCH] feat: add basic 404 error page --- src/pages/404.tsx | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 src/pages/404.tsx diff --git a/src/pages/404.tsx b/src/pages/404.tsx new file mode 100644 index 0000000..f131255 --- /dev/null +++ b/src/pages/404.tsx @@ -0,0 +1,22 @@ +import Head from "next/head"; +import Link from "next/link"; + +import Search from "@/components/Icons/Search"; +import { formatTitle } from "@/lib/format"; + +export default function Custom404() { + return ( + <> + + {formatTitle("404 - Page Not Found")} + +
+ +

404 - Page Not Found

+

+ Return to homepage +

+
+ + ); +}