init: 初始化

This commit is contained in:
Montia37
2025-08-13 04:32:05 +08:00
commit af6f7b1d09
343 changed files with 9919 additions and 0 deletions

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

@@ -0,0 +1,31 @@
import { Button } from "@/components/ui/button";
import {
Card,
CardDescription,
CardFooter,
CardHeader,
CardTitle,
} from "@/components/ui/card";
import { useNavigate } from "react-router-dom";
export default function NotFound() {
const navigate = useNavigate();
return (
<div className="flex flex-grow items-center justify-center">
<Card className="w-full max-w-md">
<CardHeader>
<CardTitle className="text-2xl font-bold">404 - Not Found</CardTitle>
<CardDescription>
The page you are looking for does not exist.
</CardDescription>
</CardHeader>
<CardFooter>
<Button onClick={() => navigate("/")} className="w-full">
Go to Home
</Button>
</CardFooter>
</Card>
</div>
);
}