We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 73cc88b commit 37ad87fCopy full SHA for 37ad87f
apps/web/app/not-found.tsx
@@ -1,7 +1,18 @@
1
+"use client"
2
+import { usePathname } from "next/navigation"
3
+
4
export default function NotFound() {
5
+ const pathname = usePathname()
6
+ const v0url = "v0.codehike.org" + pathname
7
return (
- <h2 className="w-full h-[80vh] flex justify-center items-center text-6xl">
- 404
- </h2>
8
+ <main className="w-full h-[80vh] flex flex-col gap-2 justify-center items-center">
9
+ <h2 className="text-6xl mb-8">Page not found.</h2>
10
+ <p>
11
+ For older versions try:{" "}
12
+ <a href={"https://" + v0url} className="text-primary underline">
13
+ {v0url}
14
+ </a>
15
+ </p>
16
+ </main>
17
)
18
}
0 commit comments