20 lines
531 B
TypeScript
20 lines
531 B
TypeScript
import { Link } from "react-router-dom";
|
|
|
|
const NotFound = () => {
|
|
return (
|
|
<div className="flex min-h-screen items-center justify-center bg-muted">
|
|
<div className="text-center">
|
|
<h1 className="mb-4 text-4xl font-bold">404</h1>
|
|
<p className="mb-4 text-xl text-muted-foreground">
|
|
Oops! Page not found.
|
|
</p>
|
|
<Link to="/" className="text-primary underline hover:text-primary/90">
|
|
Return to Home
|
|
</Link>
|
|
</div>
|
|
</div>
|
|
);
|
|
};
|
|
|
|
export default NotFound;
|