24 lines
709 B
TypeScript
24 lines
709 B
TypeScript
import { Link } from "react-router-dom"
|
||
import { Button } from "../components/ui/button"
|
||
import { Card, CardContent, CardHeader, CardTitle } from "../components/ui/card"
|
||
|
||
export function NotFoundPage() {
|
||
return (
|
||
<div className="mx-auto w-full max-w-3xl pt-10">
|
||
<Card>
|
||
<CardHeader>
|
||
<CardTitle>Page not found</CardTitle>
|
||
</CardHeader>
|
||
<CardContent className="flex items-center justify-between gap-3">
|
||
<div className="text-sm text-muted-foreground">The page you requested doesn’t exist.</div>
|
||
<Button asChild>
|
||
<Link to="/dashboard">Go to Dashboard</Link>
|
||
</Button>
|
||
</CardContent>
|
||
</Card>
|
||
</div>
|
||
)
|
||
}
|
||
|
||
|