From a2293be828dc516bc65387f2b1cced10780982a0 Mon Sep 17 00:00:00 2001 From: Matthias Puchstein Date: Thu, 3 Jul 2025 12:11:13 +0200 Subject: [PATCH] working on the colors of the navbars --- src/components/Navbar.tsx | 20 +++++++------------- src/styles/navbar.css | 4 ++-- 2 files changed, 9 insertions(+), 15 deletions(-) diff --git a/src/components/Navbar.tsx b/src/components/Navbar.tsx index 9fae3ca..45763fb 100644 --- a/src/components/Navbar.tsx +++ b/src/components/Navbar.tsx @@ -1,34 +1,28 @@ -import { NavLink } from 'react-router-dom'; +import {NavLink} from 'react-router-dom'; import {FaArchive, FaHome, FaList, FaMicrophone, FaUser} from "react-icons/fa"; export default function Navbar() { - const linkClasses = ({ isActive }: { isActive: boolean }) => + const linkClasses = ({isActive}: { isActive: boolean }) => isActive ? 'text-blue-600 font-semibold' : 'text-gray-600'; return ( -