-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
2 changed files
with
41 additions
and
2 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,38 @@ | ||
import React from 'react'; | ||
import Link from 'next/link'; | ||
|
||
const NavBar: React.FC = () => { | ||
return ( | ||
<nav className="flex justify-around items-center bg-gray-800 text-white"> | ||
<div className="flex gap-4 py-2"> | ||
<Link href="/" className="hover:underline">Home</Link> | ||
</div> | ||
|
||
<div className="flex gap-4 py-2"> | ||
<Link href="/Donate" className="hover:underline">Donate</Link> | ||
</div> | ||
|
||
<div className="flex gap-4 py-2"> | ||
<Link href="/Account" className="hover:underline">Account</Link> | ||
</div> | ||
|
||
<div className="text-xl font-bold"> | ||
Stock Charity | ||
</div> | ||
|
||
<div className="flex gap-4 py-2"> | ||
<Link href="/AboutUs" className="hover:underline">About</Link> | ||
</div> | ||
|
||
<div className="flex gap-4 py-2"> | ||
<Link href="/charity-signup" className="hover:underline">Join as a Charity</Link> | ||
</div> | ||
|
||
<div className="flex gap-4 py-2"> | ||
<Link href="/login" className="hover:underline bg-green-500 text-white px-4 py-2 rounded-full">Login</Link> | ||
</div> | ||
</nav> | ||
); | ||
}; | ||
|
||
export default NavBar; |