Yimaru-Admin/src/pages/NotFoundPage.tsx
2025-12-17 14:40:14 +03:00

24 lines
709 B
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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 doesnt exist.</div>
<Button asChild>
<Link to="/dashboard">Go to Dashboard</Link>
</Button>
</CardContent>
</Card>
</div>
)
}