-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make profile navbar and search bar reusable
- Loading branch information
1 parent
898666f
commit cc9b55c
Showing
2 changed files
with
23 additions
and
7 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,27 @@ | ||
import React from 'react' | ||
import React from "react"; | ||
import SearchBar from "../reusable/SearchBar"; | ||
import { IoMdHome, IoIosNotifications } from "react-icons/io"; | ||
import { BiSolidMessageRounded } from "react-icons/bi"; | ||
import Image from "next/image"; | ||
|
||
const Navbar = () => { | ||
return ( | ||
<div> | ||
I am navbar for profile | ||
<div className="flex justify-between mt-2 mb-8"> | ||
<SearchBar placeholder="Enter interests" /> | ||
<div className="flex gap-10 items-center"> | ||
<IoMdHome className="text-2xl" /> | ||
<BiSolidMessageRounded className="text-2xl" /> | ||
<IoIosNotifications className="text-2xl" /> | ||
<Image | ||
src="/profile-image.png" | ||
height={35} | ||
width={35} | ||
alt="profile-image" | ||
className="rounded-full" | ||
/> | ||
</div> | ||
</div> | ||
) | ||
} | ||
); | ||
}; | ||
|
||
export default Navbar; |
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