From aba2cf204ae4939aec3373dfe3afebf00548e1e9 Mon Sep 17 00:00:00 2001 From: michaelschal <35957947-michaelschal@users.noreply.replit.com> Date: Wed, 1 Oct 2025 09:54:13 +0000 Subject: [PATCH] Improve link styling and accessibility in the sidebar navigation Refactor Link components in sidebar.tsx to use the new Next.js 13+ App Router syntax, removing unnecessary `` tags and simplifying className application. Replit-Commit-Author: Agent Replit-Commit-Session-Id: ae4037a0-2a6f-4530-9bac-79b543286bda Replit-Commit-Checkpoint-Type: intermediate_checkpoint Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/397bca8c-984f-43ff-841a-10897aeb8140/ae4037a0-2a6f-4530-9bac-79b543286bda/ds3R7vP --- client/src/components/sidebar.tsx | 79 +++++++++++++++---------------- 1 file changed, 38 insertions(+), 41 deletions(-) diff --git a/client/src/components/sidebar.tsx b/client/src/components/sidebar.tsx index 2d48049..6247a70 100644 --- a/client/src/components/sidebar.tsx +++ b/client/src/components/sidebar.tsx @@ -40,25 +40,24 @@ export default function Sidebar() { return (
  • - - - - {item.label} - {item.badge && ( - - {item.badge} - - )} - + + + {item.label} + {item.badge && ( + + {item.badge} + + )}
  • ); @@ -74,20 +73,19 @@ export default function Sidebar() { return (
  • - - - - {item.label} - + + + {item.label}
  • ); @@ -97,14 +95,13 @@ export default function Sidebar() {
    - - - - Paramètres - + + + Paramètres