diff --git a/src/components/NavBar/NavBar.jsx b/src/components/NavBar/NavBar.jsx index bb68483..a3123dc 100644 --- a/src/components/NavBar/NavBar.jsx +++ b/src/components/NavBar/NavBar.jsx @@ -10,7 +10,7 @@ import { useColorMode, VStack, } from "@chakra-ui/react"; -import { Outlet, Link, useLocation } from "react-router-dom"; +import { Outlet, Link, useLocation, NavLink } from "react-router-dom"; import logo from "../../assets/images/rubix.png"; import logoLight from "../../assets/images/light-logo.png"; import { useEffect, useState } from "react"; @@ -72,18 +72,26 @@ const NavBar = () => { - ({ + fontSize: "14px", + fontWeight: "400", + borderBottom: isActive ? "1px solid #DE858E" : "0px solid #fff", // Active style for MAIN NET + })} > MAIN NET - - + ({ + fontSize: "14px", + fontWeight: "400", + borderBottom: isActive ? "1px solid #DE858E" : "0px solid #fff", // Active style for SUBNETS + })} > SUBNETS - +