-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathnot-found.tsx
27 lines (23 loc) · 923 Bytes
/
not-found.tsx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
import {Button} from "@/components/ui/button";
import NotFoundImage from '@/components/assets/not-found.jpg';
import Image from "next/image";
import {NavLink} from "@/components/navigation/link/NavLink";
import {HouseIcon} from "lucide-react";
export default function NotFound() {
return (
<div className="m-auto p-4 flex flex-col gap-4 justify-center items-center">
{/*Image sourced from https://github.com/httpcats/http.cat, licensed under the MIT License*/}
<Image src={NotFoundImage} alt="Not Found" className="rounded-xs" width={450}/>
<h1 className="text-primary text-5xl my-2">
404 Not Found
</h1>
<p className="text-secondary">Whoops! Could not find the requested resource.</p>
<Button asChild className="mt-4">
<NavLink href="/">
<HouseIcon className="mr-2 w-4 h-4" />
Return Home
</NavLink>
</Button>
</div>
)
}