-
Notifications
You must be signed in to change notification settings - Fork 57
Expand file tree
/
Copy pathnot-found.tsx
More file actions
32 lines (31 loc) · 1.29 KB
/
not-found.tsx
File metadata and controls
32 lines (31 loc) · 1.29 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
import Link from "next/link";
import { Button } from "@/components/ui/button";
import { FlickeringGrid } from "@/components/magicui/flickering-grid";
export default function NotFound() {
return (
<div className="min-h-screen bg-background flex items-center justify-center w-full z-10">
<div className="absolute top-0 left-0 z-0 w-full h-[500px] [mask-image:linear-gradient(to_top,transparent_25%,black_95%)]">
<FlickeringGrid
className="absolute top-0 left-0 size-full"
squareSize={4}
gridGap={6}
color="#6B7280"
maxOpacity={0.5}
flickerChance={0.1}
/>
</div>
<div className="text-center flex flex-col gap-4 max-w-xs mx-auto relative">
<h1 className="text-8xl font-mono font-bold drop-shadow-lg text-primary">
404
</h1>
<p className="text-muted-foreground text-base leading-relaxed text-center tracking-tight text-balance">
Sorry, we couldn't find the page you're looking for. The
page might have been moved, deleted, or you entered the wrong URL.
</p>
<Button asChild className="w-full rounded-lg h-9 drop-shadow-lg">
<Link href="/">Back to Home</Link>
</Button>
</div>
</div>
);
}