(FEAT): Implemented 404 page
This commit is contained in:
parent
426c8534f0
commit
15c2b31e9f
@ -6,11 +6,9 @@ export default function WebLayout() {
|
||||
|
||||
return (
|
||||
<>
|
||||
<div className="bg-gray-100 min-h-[100vh]">
|
||||
<div className="bg-gray-100 min-h-screen">
|
||||
<Navigation />
|
||||
<div className="pt-0 md:pt-14">
|
||||
<Outlet />
|
||||
</div>
|
||||
<Outlet />
|
||||
</div>
|
||||
</>
|
||||
|
||||
|
||||
@ -1,9 +1,27 @@
|
||||
import ROUTE_CONSTANTS from "../types/routes";
|
||||
|
||||
export default function NotFound() {
|
||||
|
||||
return (
|
||||
<>
|
||||
<h1>Not Found!</h1>
|
||||
</>
|
||||
<div className="w-full h-screen flex justify-center">
|
||||
<div className="mx-2 md:mx-0 w-full md:w-1/2 flex items-center justify-center h-full border-l border-r border-gray-300 bg-white">
|
||||
<div className="flex flex-col items-center justify-center gap-y-4">
|
||||
<div className="flex flex-col items-center justify-center">
|
||||
<svg
|
||||
className="h-20 md:h-24 text-blue-700 motion-safe:animate-bounce ease-in-out"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
viewBox="0 0 448 512"
|
||||
fill="currentColor"
|
||||
>
|
||||
<path d="M288 0L160 0 128 0C110.3 0 96 14.3 96 32s14.3 32 32 32l0 132.8c0 11.8-3.3 23.5-9.5 33.5L10.3 406.2C3.6 417.2 0 429.7 0 442.6C0 480.9 31.1 512 69.4 512l309.2 0c38.3 0 69.4-31.1 69.4-69.4c0-12.8-3.6-25.4-10.3-36.4L329.5 230.4c-6.2-10.1-9.5-21.7-9.5-33.5L320 64c17.7 0 32-14.3 32-32s-14.3-32-32-32L288 0zM192 196.8L192 64l64 0 0 132.8c0 23.7 6.6 46.9 19 67.1L309.5 320l-171 0L173 263.9c12.4-20.2 19-43.4 19-67.1z" />
|
||||
</svg>
|
||||
<div className="bg-black size-10 md:size-12 blur rounded-full scale-x-150 scale-y-50 -mt-1 md:-mt-2 opacity-50"></div>
|
||||
</div>
|
||||
<h1 className="text-gray-500 text-6xl md:text-8xl font-sans">404</h1>
|
||||
<p className="text-sm md:text-base text-gray-700">This page could not be found!</p>
|
||||
<a className="underline text-sm md:text-base text-blue-700" href={ROUTE_CONSTANTS.Home}>Back Home</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user