From 05d1bafa41a857987d5566604fb9399e3af6c2d4 Mon Sep 17 00:00:00 2001 From: Franz Unger Date: Fri, 29 Nov 2024 08:59:21 +0100 Subject: [PATCH 1/2] Add basic notfound page --- site/src/app/[domain]/[language]/not-found.tsx | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 site/src/app/[domain]/[language]/not-found.tsx diff --git a/site/src/app/[domain]/[language]/not-found.tsx b/site/src/app/[domain]/[language]/not-found.tsx new file mode 100644 index 000000000..a405eb448 --- /dev/null +++ b/site/src/app/[domain]/[language]/not-found.tsx @@ -0,0 +1,12 @@ +import Link from "next/link"; + +export default async function NotFound404(): Promise { + return ( + + +

Page not found.

+ Return Home + + + ); +} From fdc982cee0981c7b94a8b806144cf844879e1ff4 Mon Sep 17 00:00:00 2001 From: Franz Unger Date: Tue, 3 Dec 2024 11:23:29 +0100 Subject: [PATCH 2/2] Remove unnecessary type --- site/src/app/[domain]/[language]/not-found.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site/src/app/[domain]/[language]/not-found.tsx b/site/src/app/[domain]/[language]/not-found.tsx index a405eb448..89b9ad758 100644 --- a/site/src/app/[domain]/[language]/not-found.tsx +++ b/site/src/app/[domain]/[language]/not-found.tsx @@ -1,6 +1,6 @@ import Link from "next/link"; -export default async function NotFound404(): Promise { +export default async function NotFound404() { return (