From 00283a5f7e78888f92112e94f8a324c07b21887f Mon Sep 17 00:00:00 2001 From: Jonas List Date: Tue, 22 Apr 2025 13:36:59 +0200 Subject: [PATCH] Moved and enhanced not found page (#169) --- src/app/(docs)/not-found.tsx | 28 ---------------------- src/app/not-found.tsx | 45 ++++++++++++++++++++++++++++++++++++ 2 files changed, 45 insertions(+), 28 deletions(-) delete mode 100644 src/app/(docs)/not-found.tsx create mode 100644 src/app/not-found.tsx diff --git a/src/app/(docs)/not-found.tsx b/src/app/(docs)/not-found.tsx deleted file mode 100644 index e690aec..0000000 --- a/src/app/(docs)/not-found.tsx +++ /dev/null @@ -1,28 +0,0 @@ -import { buttonVariants } from "fumadocs-ui/components/api"; -import Link from "next/link"; - -export default function NotFound() { - return ( -
-
-
-

- 404 -

-

- Oops! You've wandered off the Zen path. Let's guide you - back to tranquility. -

-
- - Return to Docs - -
-
- ); -} diff --git a/src/app/not-found.tsx b/src/app/not-found.tsx new file mode 100644 index 0000000..e4a5684 --- /dev/null +++ b/src/app/not-found.tsx @@ -0,0 +1,45 @@ +import { buttonVariants } from "fumadocs-ui/components/api"; +import Image from "next/image"; +import Link from "next/link"; +import type { Metadata } from "next"; + +export const metadata: Metadata = { + title: "404 | Page Not Found", +}; + +export default function NotFound() { + return ( +
+ 404 +
+
+

+ 404 +

+

+ Page not found +

+
+
+

+ Oops! You've wandered off the Zen path. Let's guide you back + to tranquility. +

+ + Return to Docs + +
+
+ ); +}