'use client' import { m, motion } from 'framer-motion' import Link from 'next/link' import Image from 'next/image' import { Home, Search, ArrowLeft, Package, ShoppingBag, Phone, Mail } from 'lucide-react' import { Button } from '@/components/ui/button' import { Card, CardContent } from '@/components/ui/card' import { Badge } from '@/components/ui/badge' import { Header } from '@/components/layout/header' import { Footer } from '@/components/layout/footer' import MobileTabBar from '@/components/layout/MobileTabBar' // Predefined positions to avoid hydration mismatch const PARTICLE_POSITIONS = [ { left: 25, top: 30, duration: 3.2, delay: 0 }, { left: 70, top: 20, duration: 4.1, delay: 0.5 }, { left: 15, top: 60, duration: 3.8, delay: 1.0 }, { left: 80, top: 70, duration: 4.5, delay: 1.5 }, { left: 40, top: 15, duration: 3.5, delay: 0.3 }, { left: 60, top: 80, duration: 4.2, delay: 0.8 }, { left: 30, top: 45, duration: 3.9, delay: 1.2 }, { left: 85, top: 40, duration: 4.0, delay: 0.2 } ] export default function NotFound() { const quickLinks = [ { title: 'Homepage', description: 'Return to our main page', href: '/', icon: Home, color: 'bg-emerald-500' }, { title: 'Products', description: 'Browse our product catalog', href: '/products', icon: Package, color: 'bg-blue-500' }, { title: 'About Us', description: 'Learn about our company', href: '/about', icon: ShoppingBag, color: 'bg-purple-500' }, { title: 'Contact', description: 'Get in touch with us', href: '/contact', icon: Phone, color: 'bg-orange-500' } ] return ( <>
{/* Animated 404 Illustration */}
{/* Rice grains scattered illustration */}
404
{/* Floating particles */} {PARTICLE_POSITIONS.map((position, i) => ( ))}
{/* Error Message */}
Page Not Found

Oops! Page Not Found

The page you're looking for seems to have gone missing, just like rice grains that fell off the bag! Don't worry, we'll help you find what you need.

Error Code: 404 Resource Not Found
{/* Quick Action Buttons */} {/* Quick Links Grid */}

Or explore these popular sections:

{quickLinks.map((link, index) => { const IconComponent = link.icon return (

{link.title}

{link.description}

) })}
{/* Help Section */}

Still need help?

If you were looking for something specific, our team is here to help you find it.