아 404 컴포넌트 날먹 개꿀이죠~

This commit is contained in:
imnyang 2025-05-08 16:40:17 +09:00
commit 14a04aa3e7
3 changed files with 218 additions and 4 deletions

View file

@ -1,8 +1,17 @@
import { CommitsGrid } from "@/components/commits-grid"
import { Button } from "@/components/ui/button";
import { useNavigate } from "react-router";
export default function NotFound() {
const navigate = useNavigate();
return (
<div>
<h1>404 - Not Found</h1>
<p>The page you are looking for does not exist.</p>
<div className="flex flex-col justify-center items-center h-screen gap-8">
<CommitsGrid text="404" />
<p className="text-2xl">The page you are looking for does not exist.</p>
<Button variant="outline" onClick={() => navigate("/")}>
Go to Home
</Button>
</div>
);
}
}