diff --git a/client/src/App.jsx b/client/src/App.jsx index 9ab481b..95e89c7 100644 --- a/client/src/App.jsx +++ b/client/src/App.jsx @@ -48,8 +48,8 @@ function AppFoundation() { } const Placeholder = ({ name }) => ( - - {name} Dashboard - Coming Soon + + {name} Dashboard - Coming Soon ); @@ -75,7 +75,7 @@ function App() { }> } /> - } /> + } /> } /> } /> } /> diff --git a/client/src/pages/home/Home.jsx b/client/src/pages/home/Home.jsx index 8816dbf..ebbc3d1 100644 --- a/client/src/pages/home/Home.jsx +++ b/client/src/pages/home/Home.jsx @@ -10,17 +10,17 @@ export default function Home() { // 1. CSS making this look like how we want it, TODO turn to theme? const tabStyles = { fontSize: "lg", - fontWeight: "normal", + fontWeight: "bold", color: "fg.muted", - px: 4, // Horizontal padding - py: 2, // Vertical padding - borderBottom: "2px solid transparent", - mb: "-2px", // 🔥 The trick: Pulls the active border down to overlap the container's line + px: 2, // Horizontal padding + // py: 2, // Vertical padding + borderBottom: "1px solid transparent", transition: "all 0.2s", _hover: { color: "fg" }, - _activeLink: { - color: "color", // Or whatever your primary text color is - borderColor: "currentColor", // The active underline + + "&.active": { // Target the active class applied by React Router NavLink + color: "fg", + borderColor: "fg", } }; @@ -31,12 +31,12 @@ export default function Home() { {/* TABS CONTAINER - Replicates the Tabs.List line container */} - + My Dashboard - Gas - Seismic - Remote Sensing Daily Activity + Gas + Remote Sensing + Seismic {/* EDIT MODE BUTTONS & CONTROLS */}