- Hero: remove framer-motion, CSS stagger animations, glass pill CTA button, refined typography and scroll indicator - Stats: remove framer-motion, Lucide icons, tighter glass cards with mono labels - ToolsGrid: remove framer-motion, editorial section heading, 4-col xl grid - ToolCard: replace framer-motion motion.Link with plain Link + CSS hover, compact layout (icon→title→desc→badges+arrow), ElementType icon prop - Footer: remove framer-motion, matches sidebar footer style - BackToTop: remove framer-motion, JS scroll progress bar (1px primary line), compact glass button - not-found: remove framer-motion and shadcn Button, glass pill CTA, 120px mono 404, CSS stagger - page.tsx: remove unnecessary 'use client' directive Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
56 lines
1.9 KiB
TypeScript
56 lines
1.9 KiB
TypeScript
import Link from 'next/link';
|
|
import AnimatedBackground from '@/components/AnimatedBackground';
|
|
import Logo from '@/components/Logo';
|
|
import { ArrowLeft } from 'lucide-react';
|
|
|
|
export default function NotFound() {
|
|
return (
|
|
<main className="relative min-h-screen dark text-foreground flex flex-col">
|
|
<AnimatedBackground />
|
|
|
|
<div className="flex-1 flex flex-col items-center justify-center px-6 py-20 relative z-10 text-center">
|
|
|
|
{/* Logo */}
|
|
<div style={{ animation: 'fadeIn 0.5s ease-out both' }}>
|
|
<Logo size={52} />
|
|
</div>
|
|
|
|
{/* 404 */}
|
|
<div
|
|
className="mt-8"
|
|
style={{ animation: 'slideUp 0.5s ease-out 0.15s both' }}
|
|
>
|
|
<span className="text-[80px] md:text-[120px] font-bold font-mono text-primary leading-none tabular-nums block">
|
|
404
|
|
</span>
|
|
</div>
|
|
|
|
{/* Message */}
|
|
<div
|
|
className="mt-4 space-y-1"
|
|
style={{ animation: 'slideUp 0.5s ease-out 0.3s both' }}
|
|
>
|
|
<p className="text-sm font-medium text-foreground/70">Page not found</p>
|
|
<p className="text-[11px] text-muted-foreground/50 font-mono max-w-xs mx-auto leading-relaxed">
|
|
The tool or page you're looking for doesn't exist or has been moved.
|
|
</p>
|
|
</div>
|
|
|
|
{/* CTA */}
|
|
<div
|
|
className="mt-8"
|
|
style={{ animation: 'slideUp 0.5s ease-out 0.45s both' }}
|
|
>
|
|
<Link
|
|
href="/"
|
|
className="inline-flex items-center gap-2 px-5 py-2.5 glass rounded-lg border border-primary/30 hover:border-primary/60 hover:bg-primary/10 text-sm font-medium text-foreground/70 hover:text-foreground transition-all duration-200"
|
|
>
|
|
<ArrowLeft className="w-3.5 h-3.5 text-primary" />
|
|
Back to Home
|
|
</Link>
|
|
</div>
|
|
</div>
|
|
</main>
|
|
);
|
|
}
|