Skip to content

Commit

Permalink
Fixed blue color
Browse files Browse the repository at this point in the history
  • Loading branch information
harini-1597 committed Jun 11, 2024
1 parent c197ece commit 216cb48
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/src/components/Navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ const Navbar = () => {

const getNavLinkClass = (path: string) => {
return location.pathname === path
? "block py-2 px-3 bg-blue-600 rounded md:bg-transparent md:p-0 text-white md:text-blue-500"
: "block py-2 px-3 rounded md:border-0 md:p-0 text-white md:hover:text-blue-500 hover:bg-blue-400 hover:text-white md:hover:bg-transparent";
? "block py-2 px-3 bg-blue-600 rounded md:bg-transparent md:p-0 text-white md:text-blue-300"
: "block py-2 px-3 rounded md:border-0 md:p-0 text-white md:hover:text-blue-300 hover:bg-blue-400 hover:text-white md:hover:bg-transparent";
};

return (
Expand Down

0 comments on commit 216cb48

Please sign in to comment.