From f1fe0673d7b25e1a75e181ae501f42b4a111e051 Mon Sep 17 00:00:00 2001 From: vashukashyap Date: Thu, 12 Oct 2023 17:37:31 +0530 Subject: [PATCH 1/3] fixed navbar responsiveness --- src/assets/Icons/icon-outline-person.png | Bin 0 -> 338 bytes .../Header-section/Header-section.css | 4 + src/components/Header-section/Navbar.jsx | 133 +++++++++++++++--- 3 files changed, 119 insertions(+), 18 deletions(-) create mode 100644 src/assets/Icons/icon-outline-person.png diff --git a/src/assets/Icons/icon-outline-person.png b/src/assets/Icons/icon-outline-person.png new file mode 100644 index 0000000000000000000000000000000000000000..072d19d76ac59517298ec52382c652aedcc403d9 GIT binary patch literal 338 zcmeAS@N?(olHy`uVBq!ia0vp^+(697!3HFMCO(@Aq&N#aB8!3I!XV7ZFl&wkP>``W z$lZxy-8q?;Kn_c~qpu?a!^VE@KZ&eB{&P}Xm)cpIkw`Ji< zPvf`gOkuUQj+`(>{9$iGexf3`s;B3vQ`!^OoSfg=D(dZ8Gyj>7N$<(v`O9YhocnoB z<*}u5Uptw)ejMl1^_l8B^`e8oevbwHOJaAluXq~C75e$u-!G5&*}W^6*T+_LPf(q6 z(COxsEiwx1_FfVPli6Z^{c1I^o8Zn++%wg1sp>hQzJ+bV`z{`g(x0Xm{%3(w;!G!5 zu-Ll?vkfWzU`VC9J`@t|Hjpk;WzF0fBqHZG`|>n hOd?>nc4*6Fg?%mR9u!PC{xWt~$(698ecg(Uz0 literal 0 HcmV?d00001 diff --git a/src/components/Header-section/Header-section.css b/src/components/Header-section/Header-section.css index 333b886a..50783081 100644 --- a/src/components/Header-section/Header-section.css +++ b/src/components/Header-section/Header-section.css @@ -129,4 +129,8 @@ height: 44px; background: #1abc9c; } +} + +.text-white{ + color: white !important; } \ No newline at end of file diff --git a/src/components/Header-section/Navbar.jsx b/src/components/Header-section/Navbar.jsx index 74ba132e..05ed18e1 100644 --- a/src/components/Header-section/Navbar.jsx +++ b/src/components/Header-section/Navbar.jsx @@ -1,28 +1,125 @@ import { FiUser } from "react-icons/fi"; +import { FiX } from "react-icons/fi"; import { Link } from "react-router-dom"; import MenuIcon from "../../assets/Icons/menu-icon.png"; +import PersonIcon from "../../assets/Icons/icon-outline-person.png"; import logo from "../../assets/Images/logo.png"; +import { useState } from "react"; const Navbar = () => { + const [showMenu, setShowMenu] = useState(""); + return ( <> -