24 lines
781 B
TypeScript
24 lines
781 B
TypeScript
|
|
import Link from "next/link";
|
||
|
|
import { Button } from "@/components/ui/button";
|
||
|
|
import { Navbar } from "@/components/Navbar";
|
||
|
|
|
||
|
|
export default function NotFound() {
|
||
|
|
return (
|
||
|
|
<>
|
||
|
|
<Navbar />
|
||
|
|
<div className="flex-1 flex items-center justify-center p-6">
|
||
|
|
<div className="max-w-md text-center space-y-4">
|
||
|
|
<p className="text-xs uppercase tracking-[0.2em] text-muted-foreground">
|
||
|
|
404
|
||
|
|
</p>
|
||
|
|
<h1 className="text-2xl font-bold tracking-tight">Page not found</h1>
|
||
|
|
<p className="text-sm text-muted-foreground">
|
||
|
|
The page you're looking for doesn't exist or has moved.
|
||
|
|
</p>
|
||
|
|
<Button render={<Link href="/" />}>Back to dashboard</Button>
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
</>
|
||
|
|
);
|
||
|
|
}
|