33 lines
803 B
TypeScript
33 lines
803 B
TypeScript
import Link from 'next/link';
|
|||
|
|
import { Button } from '@/components/ui/button';
|
||
|
|
import {
|
||
|
|
Card,
|
||
|
|
CardContent,
|
||
|
|
CardFooter,
|
||
|
|
CardHeader,
|
||
|
|
CardTitle,
|
||
|
|
} from '@/components/ui/card';
|
||
|
|
|
||
|
|
export default function NotFound() {
|
||
|
|
return (
|
||
|
|
<div className="flex min-h-[50vh] items-center justify-center p-6">
|
||
|
|
<Card className="max-w-md w-full">
|
||
|
|
<CardHeader>
|
||
|
|
<CardTitle>Page not found</CardTitle>
|
||
|
|
</CardHeader>
|
||
|
|
<CardContent>
|
||
|
|
<p className="text-muted-foreground">
|
||
|
|
The page you're looking for doesn't exist or has been
|
||
|
|
moved.
|
||
|
|
</p>
|
||
|
|
</CardContent>
|
||
|
|
<CardFooter>
|
||
|
|
<Button asChild>
|
||
|
|
<Link href="/">Go home</Link>
|
||
|
|
</Button>
|
||
|
|
</CardFooter>
|
||
|
|
</Card>
|
||
|
|
</div>
|
||
|
|
);
|
||
|
|
}
|