Files
OpenFrame/app/(dashboard)/not-found.tsx
T

26 lines
929 B
TypeScript

import Link from 'next/link';
import { Button } from '@/components/ui/button';
import { FileQuestion } from 'lucide-react';
export default function DashboardNotFound() {
return (
<div className="flex min-h-[calc(100vh-4rem)] flex-col items-center justify-center gap-4 p-4">
<div className="flex flex-col items-center gap-2 text-center">
<FileQuestion className="h-12 w-12 text-muted-foreground" />
<h1 className="text-2xl font-bold">Page Not Found</h1>
<p className="text-muted-foreground max-w-md">
The page you&apos;re looking for doesn&apos;t exist or has been moved.
</p>
</div>
<div className="flex gap-2">
<Button asChild variant="default">
<Link href="/dashboard">Go to dashboard</Link>
</Button>
<Button asChild variant="outline">
<Link href="/">Go home</Link>
</Button>
</div>
</div>
);
}