Skip to content

Commit

Permalink
Merge pull request #22 from kr-anurag/404
Browse files Browse the repository at this point in the history
feat: changes on the 404 page
  • Loading branch information
avneesh0612 authored Feb 8, 2022
2 parents 127d4ab + 09becaa commit 5685953
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 13 deletions.
38 changes: 25 additions & 13 deletions pages/404.tsx
Original file line number Diff line number Diff line change
@@ -1,22 +1,34 @@
import { NextPage } from "next";
import Image from "next/image";
import { FC } from "react";
import Link from "next/link";

const customError: FC = () => {

const CustomError: NextPage = () => {
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=""
/>

<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="https://www.youtube.com/watch?v=dQw4w9WgXcQ">
<Image
objectFit="contain"
width={500}
height={300}
src="https://i.ytimg.com/vi/dQw4w9WgXcQ/hqdefault.jpg"
alt=""
/>
</a>
<Link href="/">
<a 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>
</Link>
</div>
);
};

export default customError;
export default CustomError;
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.

1 comment on commit 5685953

@vercel
Copy link

@vercel vercel bot commented on 5685953 Feb 8, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.