-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Created a `not-found.tsx` file - Added an Image for the custom page. - re installed react-icons package (It was giving some errors)
- Loading branch information
Showing
4 changed files
with
36 additions
and
0 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 |
---|---|---|
|
@@ -42,5 +42,8 @@ | |
}, | ||
"engines": { | ||
"node": ">=18.17.0" | ||
}, | ||
"dependencies": { | ||
"react-icons": "^5.3.0" | ||
} | ||
} |
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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
import React from "react"; | ||
import Image from "next/image"; | ||
import Link from "next/link"; | ||
|
||
const NotFound = () => { | ||
return ( | ||
<main className=" text-center"> | ||
<div className=" h-[500px] md:w-auto my-[100px]"> | ||
<Image alt=" 404image" src={"/404.svg"} height={300} width={300} className=" overflow-hidden h-full w-full" /> | ||
<p className=" text-sm font-light"> | ||
Go back to the{" "} | ||
<Link href={"/"}> | ||
{" "} | ||
<span className=" font-normal underline text-primary-content text-base">Home Page</span>{" "} | ||
</Link>{" "} | ||
</p> | ||
</div> | ||
</main> | ||
); | ||
}; | ||
|
||
export default NotFound; |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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