RotNot / src /app /not-found.tsx
deploy
Deploy RotNot
9580dce
Raw History Blame Contribute Delete
1.74 kB
import Link from "next/link";
import { Brain, Home } from "lucide-react";
export default function NotFound() {
return (
<div className="flex items-center justify-center min-h-[70vh]">
<div className="flex flex-col items-center gap-6 text-center max-w-md px-4">
{/* Animated brain icon */}
<div
className="glass-md rounded-2xl p-6"
style={{
background:
"linear-gradient(135deg, rgba(99,102,241,0.15), rgba(139,92,246,0.10))",
}}
>
<Brain size={48} style={{ color: "var(--primary)", opacity: 0.8 }} />
</div>
{/* 404 header */}
<div>
<h1
className="text-5xl font-bold tracking-tighter mb-2"
style={{ fontFamily: "var(--font-mono)", color: "var(--primary)" }}
>
404
</h1>
<h2
className="text-lg font-semibold"
style={{ color: "var(--text-primary)" }}
>
Page not found
</h2>
</div>
{/* Message */}
<p className="text-sm leading-relaxed" style={{ color: "var(--text-secondary)" }}>
This route doesn&apos;t exist — but your brain still does.
<br />
Head back and keep training.
</p>
{/* Nav home */}
<Link
href="/"
className="inline-flex items-center gap-2 px-5 py-2.5 rounded-lg text-sm font-medium transition-all duration-150 hover:brightness-110"
style={{
background: "var(--primary)",
color: "var(--primary-foreground)",
}}
>
<Home size={16} />
Back to Dashboard
</Link>
</div>
</div>
);
}