-
Notifications
You must be signed in to change notification settings - Fork 118
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 #261 from Ansh101112/PNF
Pnf added
- Loading branch information
Showing
3 changed files
with
67 additions
and
3 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
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,38 @@ | ||
import React from "react"; | ||
import Navbar from "../components/Navbar"; | ||
import Footer from "../components/Footer"; | ||
|
||
const NotFoundPage = () => { | ||
return ( | ||
<> | ||
<Navbar></Navbar> | ||
<div className="min-h-screen flex flex-col items-center justify-center bg-gray-900 text-white"> | ||
<div className="text-center space-y-4"> | ||
<h1 className="text-9xl font-bold neon-text animate-pulse">404</h1> | ||
<p className="text-2xl font-medium">Page Not Found</p> | ||
<div className="flex flex-col items-center space-y-2"> | ||
<p className="text-lg">Let's save the earth and save energy!</p> | ||
<p className="text-lg">Enjoy the greenery while you're here.</p> | ||
</div> | ||
</div> | ||
<div className="mt-8 animate-bounce"> | ||
<div className="flex space-x-4"> | ||
<Tree /> | ||
<Tree /> | ||
<Tree /> | ||
</div> | ||
</div> | ||
</div> | ||
<Footer></Footer> | ||
</> | ||
); | ||
}; | ||
|
||
const Tree = () => ( | ||
<div className="tree"> | ||
<div className="trunk bg-brown-600"></div> | ||
<div className="leaves bg-green-500"></div> | ||
</div> | ||
); | ||
|
||
export default NotFoundPage; |