[skip lovable] Use tech stack vite_react_shadcn_ts_20250728_minor

This commit is contained in:
gpt-engineer-app[bot]
2025-09-20 00:10:26 +00:00
commit b11ab23df3
76 changed files with 11597 additions and 0 deletions

24
src/pages/NotFound.tsx Normal file
View File

@@ -0,0 +1,24 @@
import { useLocation } from "react-router-dom";
import { useEffect } from "react";
const NotFound = () => {
const location = useLocation();
useEffect(() => {
console.error("404 Error: User attempted to access non-existent route:", location.pathname);
}, [location.pathname]);
return (
<div className="flex min-h-screen items-center justify-center bg-gray-100">
<div className="text-center">
<h1 className="mb-4 text-4xl font-bold">404</h1>
<p className="mb-4 text-xl text-gray-600">Oops! Page not found</p>
<a href="/" className="text-blue-500 underline hover:text-blue-700">
Return to Home
</a>
</div>
</div>
);
};
export default NotFound;