Skip to content

Commit

Permalink
feat: changes on the 404 page
Browse files Browse the repository at this point in the history
  • Loading branch information
anuraglol committed Feb 8, 2022
1 parent 127d4ab commit eefac78
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 9 deletions.
29 changes: 20 additions & 9 deletions pages/404.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,27 @@ import { FC } from "react";
const customError: FC = () => {
return (
<div className="flex flex-col items-center justify-center w-screen h-screen">
<h2 className="mb-5 text-2xl font-semibold">Why are you here?</h2>
<Image
objectFit="contain"
width={500}
height={300}
src="/16.png"
alt=""
/>

<a href="https://www.youtube.com/watch?v=dQw4w9WgXcQ">
<Image
objectFit="contain"
width={500}
height={300}
src="https://i.ytimg.com/vi/dQw4w9WgXcQ/hqdefault.jpg"
alt=""
/>
<h2 className="mb-5 text-2xl font-semibold font-sora">
Lost in the void?
</h2>
<p className="text-center">
The page you&apos;re looking for doesn&apos;t exist. <br />
We suggest you back to home :)
</p>

<a
href="/"
className="mt-4 cursor-pointer flex items-center px-5 py-2 duration-100 border-2 rounded-lg fill-current stroke-current text-darkerblue bg-neongreen border-neongreen hover:bg-transparent hover:text-neongreen"
>
Back to Home
</a>
</div>
);
Expand Down
Binary file added public/16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit eefac78

Please sign in to comment.