Skip to content

Commit

Permalink
Merge pull request #507 from Jashwanth-rit/jashwanth/Perfect
Browse files Browse the repository at this point in the history
Fixes:#496/navbar-allign
  • Loading branch information
Trevisx07 authored Oct 20, 2024
2 parents a5c1421 + e42836f commit dd394f6
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions client/src/components/Navbar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -274,13 +274,13 @@ const Navbar = ({ isAuthenticated, user, handleLogout }) => {
</NavLink>

<NavLink to="/labtest" className="flex items-baseline gap-2">
<MdOutlineLocalHospital />{' '}
<MdOutlineLocalHospital className="mr-0.5 relative top-[5px] " />{' '}
<p className="font-bold text-lg hover:brightness-50">Lab Test</p>
</NavLink>

{/* Add the new Hospitals Around Link for Desktop */}
<NavLink to="/hospitals-around" className="flex items-baseline gap-2">
<FaHospitalAlt />
<FaHospitalAlt className="mr-0.5 relative top-[3px] " />
<p className="font-bold text-lg hover:brightness-50">
Hospitals Around
</p>
Expand Down Expand Up @@ -311,7 +311,7 @@ const Navbar = ({ isAuthenticated, user, handleLogout }) => {
</>
) : (
<NavLink to="/registerOPD" className="flex items-baseline gap-2">
<MdOutlineLocalHospital />
<MdOutlineLocalHospital className="mr-0.5 relative top-[5px] " />
<p className="font-bold text-lg hover:brightness-50">
Instant OPD
</p>
Expand All @@ -320,9 +320,7 @@ const Navbar = ({ isAuthenticated, user, handleLogout }) => {
</div>

<div className="flex gap-3">

{localStorage?.getItem('token')? (

{localStorage?.getItem('token') ? (
<button
className={`${
dark === 'dark'
Expand Down

0 comments on commit dd394f6

Please sign in to comment.