-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #22 from kr-anurag/404
feat: changes on the 404 page
- Loading branch information
Showing
2 changed files
with
25 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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're looking for doesn'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; |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5685953
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs: