From b732c1edd723e800c860a175f1631825a136ead7 Mon Sep 17 00:00:00 2001 From: mpuchstein Date: Wed, 2 Jul 2025 17:29:31 +0200 Subject: [PATCH] trying stuff --- src/App.tsx | 20 +++++++++++--------- src/components/Navbar.tsx | 13 +++++++++++-- 2 files changed, 22 insertions(+), 11 deletions(-) diff --git a/src/App.tsx b/src/App.tsx index 674d376..c210614 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -1,6 +1,6 @@ import './App.css'; import Navbar from './components/Navbar'; -import { BrowserRouter, Routes, Route } from 'react-router-dom'; +import {BrowserRouter, Routes, Route} from 'react-router-dom'; function Home() { return
Home Page
; @@ -25,14 +25,16 @@ function Profile() { export default function App() { return ( - - - } /> - } /> - } /> - } /> - } /> - +
+ + + }/> + }/> + }/> + }/> + }/> + +
); } diff --git a/src/components/Navbar.tsx b/src/components/Navbar.tsx index f2d3ade..136c435 100644 --- a/src/components/Navbar.tsx +++ b/src/components/Navbar.tsx @@ -2,10 +2,19 @@ import { NavLink } from 'react-router-dom'; export default function Navbar() { const linkClasses = ({ isActive }: { isActive: boolean }) => - isActive ? 'text-blue-600 font-semibold' : 'text-gray-600'; + isActive + ? 'text-blue-600 font-semibold' + : 'text-gray-600'; return ( -