-
Notifications
You must be signed in to change notification settings - Fork 182
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 #141 from harshbhar0629/BUG/Invalid-Path-Edit
BUG: Invalid or wrong path route added
- Loading branch information
Showing
2 changed files
with
51 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,47 @@ | ||
/** @format */ | ||
|
||
import React from "react"; | ||
import { Link } from "react-router-dom"; | ||
|
||
const Error = () => { | ||
return ( | ||
<section | ||
className="py-5 bg-white" | ||
style={{ paddingTop: "100px" }}> | ||
<div className="container"> | ||
<div className="text-center"> | ||
<div | ||
className="bg-image" | ||
style={{ | ||
height: "400px", | ||
backgroundPosition: "center", | ||
backgroundImage: | ||
"url(https://cdn.dribbble.com/users/285475/screenshots/2083086/dribbble_1.gif)", | ||
}}> | ||
<h1 className="display-4 fw-bold text-black"> | ||
404 - Page Not Found !! | ||
</h1> | ||
</div> | ||
|
||
<div className="mt-3"> | ||
<h3 className="display-6 mb-1 fw-semibold"> | ||
Looks like you're lost | ||
</h3> | ||
|
||
<p className="fw-semibold"> | ||
The page you are looking for is not available! | ||
</p> | ||
|
||
<Link | ||
to="/" | ||
className="btn btn-success btn-lg my-4"> | ||
Home | ||
</Link> | ||
</div> | ||
</div> | ||
</div> | ||
</section> | ||
); | ||
}; | ||
|
||
export default Error; |