아 404 컴포넌트 날먹 개꿀이죠~
This commit is contained in:
parent
b67d8f84af
commit
14a04aa3e7
3 changed files with 218 additions and 4 deletions
|
|
@ -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>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue