learning_ai_clock/web/src/app/not-found.tsx

23 lines
909 B
TypeScript

import Link from 'next/link';
export default function NotFound() {
return (
<div className="flex min-h-screen items-center justify-center p-4" style={{ background: 'var(--cm-bg-canvas)' }}>
<div className="mx-auto max-w-md text-center">
<div className="mb-4 text-6xl font-bold" style={{ color: 'var(--cm-text-secondary)' }}>404</div>
<h2 className="mb-2 text-xl font-semibold" style={{ color: 'var(--cm-text-primary)' }}>Page not found</h2>
<p className="mb-6 text-sm" style={{ color: 'var(--cm-text-secondary)' }}>
The page you&apos;re looking for doesn&apos;t exist or has been moved.
</p>
<Link
href="/"
className="rounded-lg px-4 py-2 text-sm font-medium"
style={{ background: 'var(--cm-accent-primary)', color: 'var(--cm-bg-canvas)' }}
>
Go Home
</Link>
</div>
</div>
);
}