-
Notifications
You must be signed in to change notification settings - Fork 93
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 #75 from saurabh-dev-vns/feature/NotFoundPage
Add 404 Page Component
- Loading branch information
Showing
2 changed files
with
27 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
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,23 @@ | ||
// src/components/NotFound.jsx | ||
|
||
import React from 'react'; | ||
|
||
const NotFound = () => { | ||
return ( | ||
<div className="flex flex-col items-center lg:top-8 lg:relative m-2 justify-center min-h-screen bg-white text-center"> | ||
<h1 className="text-6xl font-bold text-gray-800 mb-4">404</h1> | ||
<p className="text-xl text-gray-600 mb-8">Oops! Page Not Found</p> | ||
<p className="text-md text-gray-500 mb-4"> | ||
The page you are looking for might have been removed or is temporarily unavailable. | ||
</p> | ||
<a | ||
href="/" | ||
className="mt-4 px-6 py-2 bg-blue-600 text-white rounded-lg hover:bg-blue-500 transition duration-300" | ||
> | ||
Go to Homepage | ||
</a> | ||
</div> | ||
); | ||
}; | ||
|
||
export default NotFound; |