Skip to content

Commit

Permalink
change underline to bold for text in navbar once selected
Browse files Browse the repository at this point in the history
  • Loading branch information
gl-cardillo committed Jul 18, 2024
1 parent 8c0e632 commit 766ad7e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions client/src/components/Navbar/navbar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ const Navbar = () => {
to="/"
className={({ isActive }) =>
isActive
? "nav-link-active underline nav-link bg-white-500 hover:bg-white-600 active:bg-white-700 focus:outline-none focus:ring-white-300 hover:font-bold w-10"
? "nav-link-active font-bold nav-link bg-white-500 hover:bg-white-600 active:bg-white-700 focus:outline-none focus:ring-white-300 w-10"
: "nav-link bg-white-500 hover:bg-white-600 active:bg-white-700 focus:outline-none focus:ring-white-300 hover:font-bold w-10"
}
>
Expand All @@ -151,7 +151,7 @@ const Navbar = () => {
to="categories"
className={({ isActive }) =>
isActive
? "nav-link-active underline nav-link bg-white-500 hover:bg-white-600 active:bg-white-700 focus:outline-none focus:ring-white-300 hover:font-bold w-10 mr-8"
? "nav-link-active font-bold nav-link bg-white-500 hover:bg-white-600 active:bg-white-700 focus:outline-none focus:ring-white-300 w-10 mr-8"
: "nav-link bg-white-500 hover:bg-white-600 active:bg-white-700 focus:outline-none focus:ring-white-300 hover:font-bold w-10 mr-8"
}
>
Expand All @@ -161,7 +161,7 @@ const Navbar = () => {
to="customize"
className={({ isActive }) =>
isActive
? "nav-link-active underline nav-link bg-white-500 hover:bg-white-600 active:bg-white-700 focus:outline-none focus:ring-white-300 hover:font-bold w-10 mr-8"
? "nav-link-active font-bold nav-link bg-white-500 hover:bg-white-600 active:bg-white-700 focus:outline-none focus:ring-white-300 w-10 mr-8"
: "nav-link bg-white-500 hover:bg-white-600 active:bg-white-700 focus:outline-none focus:ring-white-300 hover:font-bold w-10 mr-8"
}
>
Expand All @@ -171,7 +171,7 @@ const Navbar = () => {
to="shop"
className={({ isActive }) =>
isActive
? "nav-link-active underline nav-link bg-white-500 hover:bg-white-600 active:bg-white-700 focus:outline-none focus:ring-white-300 hover:font-bold w-10 mr-8"
? "nav-link-active font-bold nav-link bg-white-500 hover:bg-white-600 active:bg-white-700 focus:outline-none focus:ring-white-300 w-10 mr-8"
: "nav-link bg-white-500 hover:bg-white-600 active:bg-white-700 focus:outline-none focus:ring-white-300 hover:font-bold w-10 mr-8"
}
>
Expand Down

0 comments on commit 766ad7e

Please sign in to comment.