feat: add weekly summary link to Header component

- Introduced a new navigation link for the weekly summary in the Header component, enhancing user access to summary insights.
This commit is contained in:
Julien Froidefond
2025-09-19 10:28:33 +02:00
parent 3dd6e0fd1c
commit 978bb4d380
4 changed files with 483 additions and 0 deletions

View File

@@ -1,3 +1,5 @@
'use client';
import { useTheme } from '@/contexts/ThemeContext';
import { useJiraConfig } from '@/contexts/JiraConfigContext';
import { usePathname } from 'next/navigation';
@@ -51,6 +53,7 @@ export function Header({ title = "TowerControl", subtitle = "Task Management", s
{ href: '/', label: 'Dashboard' },
{ href: '/kanban', label: 'Kanban' },
{ href: '/daily', label: 'Daily' },
{ href: '/weekly-summary', label: 'Résumé' },
{ href: '/tags', label: 'Tags' },
...(isJiraConfigured ? [{ href: '/jira-dashboard', label: `Jira${jiraConfig?.projectKey ? ` (${jiraConfig.projectKey})` : ''}` }] : []),
{ href: '/settings', label: 'Settings' }