Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

improved not found page

RajuGangitlaf90790aaae6e
diff --git a/apps/web/app/not-found.tsx b/apps/web/app/not-found.tsx
new file mode 100644
index 0000000000..9917e40600
--- /dev/null
+++ b/apps/web/app/not-found.tsx
@@ -0,0 +1,30 @@
+import { FileX2 } from "lucide-react";
+import Link from "next/link";
+
+export default function NotFound() {
+ return (
+ <div className="my-10 flex flex-col items-center justify-center rounded-md bg-white py-12">
+ <div className="rounded-full bg-gray-100 p-3">
+ <FileX2 className="h-6 w-6 text-gray-600" />
+ </div>
+ <h1 className="my-3 text-xl font-semibold text-gray-700">
+ Page Not Found
+ </h1>
+ <p className="z-10 max-w-sm text-center text-sm text-gray-600">
+ Sorry, we couldn’t find the page you’re looking for.
+ </p>
+ <img
+ src="/_static/illustrations/coffee-call.svg"
+ alt="No links yet"
+ width={400}
+ height={400}
+ />
+ <Link
+ href="/"
+ className="z-10 rounded-md border border-black bg-black px-10 py-2 text-sm font-medium text-white transition-all duration-75 hover:bg-white hover:text-black"
+ >
+ Back to home
+ </Link>
+ </div>
+ );
+}