feat: enhance Header component with active link styling

- Added `usePathname` hook to determine the current route.
- Implemented `isActiveLink` and `getLinkClasses` functions for dynamic link styling based on active state.
- Adjusted navigation links in the Header to utilize the new styling functions for improved user experience.
- Updated KanbanPageClient subtitle for consistency.
This commit is contained in:
Julien Froidefond
2025-09-18 12:57:10 +02:00
parent 3c7f5ca2fa
commit cece09d150
2 changed files with 29 additions and 8 deletions

View File

@@ -57,7 +57,7 @@ function KanbanPageContent() {
<div className="min-h-screen bg-[var(--background)]">
<Header
title="Kanban Board"
subtitle="Gestionnaire de tâches en colonnes"
subtitle="Gestionnaire de tâches"
stats={stats}
syncing={syncing}
/>