The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
Update not-found.tsx
Steven Teyd2742661a3ec
diff --git a/apps/web/app/not-found.tsx b/apps/web/app/not-found.tsxindex e06fdb8068..4b35a7b3e7 100644--- a/apps/web/app/not-found.tsx+++ b/apps/web/app/not-found.tsx@@ -1,30 +1,36 @@-import { FileX2 } from "lucide-react";+import { Wordmark } from "@dub/ui/src/wordmark";import Link from "next/link";+import { Background } from "./app.dub.co/(onboarding)/background";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 className="relative z-10 flex flex-col items-center">+ <Link href="/">+ <Wordmark className="mt-6 h-8" />+ </Link>+ <div className="mt-8 flex w-full flex-col items-center px-3 pb-16 md:mt-20 lg:px-8">+ <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="mt-4 flex h-9 w-fit items-center justify-center rounded-md border border-black bg-black px-4 text-sm text-white hover:bg-gray-800 hover:ring-4 hover:ring-gray-200"+ >+ Go back home+ </Link>+ </div></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>+ <Background />+ </>);}