feat: add date-fns dependency and update HomePage component

- Added `date-fns` as a dependency in `package.json` and `package-lock.json`.
- Refactored `Home` component to `HomePage`, implementing server-side rendering for tasks and stats retrieval.
- Integrated `Header` and `KanbanBoard` components for improved UI structure.
- Marked Kanban components as completed in `TODO.md`.
This commit is contained in:
Julien Froidefond
2025-09-13 13:55:33 +02:00
parent e173c09119
commit 54f105fe62
8 changed files with 365 additions and 101 deletions

View File

@@ -33,10 +33,10 @@
## Phase 2: Interface utilisateur Kanban (Priorité 2)
### 2.1 Composants de base
- [ ] `components/kanban/Board.tsx` - Tableau Kanban principal
- [ ] `components/kanban/Column.tsx` - Colonnes du Kanban
- [ ] `components/kanban/TaskCard.tsx` - Cartes de tâches
- [ ] `components/ui/` - Composants UI réutilisables
- [x] `components/kanban/Board.tsx` - Tableau Kanban principal
- [x] `components/kanban/Column.tsx` - Colonnes du Kanban
- [x] `components/kanban/TaskCard.tsx` - Cartes de tâches
- [x] `components/ui/Header.tsx` - Header avec statistiques
### 2.2 Clients HTTP
- [ ] `clients/tasks-client.ts` - Client pour les tâches