-
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.
- Loading branch information
Showing
15 changed files
with
219 additions
and
26 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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 |
---|---|---|
@@ -1,9 +1,44 @@ | ||
import React from 'react' | ||
import React from "react"; | ||
import notification_bell from "../assets/svgs/notification-bell.svg"; | ||
import { IoIosArrowDown, IoMdMenu } from "react-icons/io"; | ||
|
||
function Navbar() { | ||
function Navbar({ toggleSidebar }) { | ||
return ( | ||
<div>Navbar</div> | ||
) | ||
<nav className="h-16 text-neutral-content mb-12 bg-white border-b"> | ||
<div className="container mx-auto flex justify-between items-center h-full px-4"> | ||
<div> | ||
<button | ||
onClick={toggleSidebar} | ||
className="lg:hidden p-2 focus:outline-none" | ||
> | ||
<IoMdMenu className="h-6 w-6" /> | ||
</button> | ||
</div> | ||
|
||
<div className="flex items-center"> | ||
<img | ||
src={notification_bell} | ||
alt="Notifications" | ||
className="h-6 w-6 mr-6 cursor-pointer" | ||
/> | ||
|
||
<div className="flex items-center space-x-2 bg-[#F4F5F5] py-2 px-4 rounded-full cursor-pointer"> | ||
<span className="bg-[#4CAF50] rounded-full text-white w-8 h-8 flex items-center justify-center"> | ||
L | ||
</span> | ||
|
||
<span className="text-sm font-medium text-[#212224]"> | ||
Leslie Peters | ||
</span> | ||
|
||
<span> | ||
<IoIosArrowDown /> | ||
</span> | ||
</div> | ||
</div> | ||
</div> | ||
</nav> | ||
); | ||
} | ||
|
||
export default Navbar | ||
export default Navbar; |
Oops, something went wrong.