-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'MoazamAli45-MoazamAli45'
- Loading branch information
Showing
2 changed files
with
41 additions
and
9 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,31 @@ | ||
import { Link } from "react-router-dom"; | ||
|
||
const NotFound = () => { | ||
return ( | ||
<section className="bg-transparent flex items-center justify-center h-full"> | ||
<div className="py-8 px-4 mx-auto max-w-screen-xl lg:py-16 lg:px-6"> | ||
<div className="mx-auto max-w-screen-sm text-center"> | ||
<h1 className="mb-4 text-7xl tracking-tight font-extrabold lg:text-9xl text-green-500"> | ||
404 | ||
</h1> | ||
<p className="mb-4 text-3xl tracking-tight font-bold text-gray-900 md:text-4xl"> | ||
{"Something's missing."} | ||
</p> | ||
<p className="mb-4 text-lg font-light text-gray-500"> | ||
{ | ||
" Sorry, we can't find that page. You'll find lots to explore on the home page." | ||
} | ||
</p> | ||
<Link | ||
to={"/"} | ||
className="inline-flex text-white bg-gradient-to-r from-green-500 to-green-700 focus:ring-4 focus:outline-none focus:ring-primary-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center my-4" | ||
> | ||
Back to Homepage | ||
</Link> | ||
</div> | ||
</div> | ||
</section> | ||
); | ||
}; | ||
|
||
export default NotFound; |