From 6ef64dfe1ca203d9831eb2d3e6c150abb09b8218 Mon Sep 17 00:00:00 2001 From: Gilles Soulier Date: Sun, 24 May 2026 14:48:12 +0200 Subject: [PATCH] fix(home): tuiles d'accueil navigables via Link React Router Co-Authored-By: Claude Sonnet 4.6 --- frontend/src/pages/HomePage.tsx | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/frontend/src/pages/HomePage.tsx b/frontend/src/pages/HomePage.tsx index 1084fa5..610f4ab 100644 --- a/frontend/src/pages/HomePage.tsx +++ b/frontend/src/pages/HomePage.tsx @@ -1,3 +1,5 @@ +import { Link } from 'react-router-dom' + export default function HomePage() { return (
@@ -11,18 +13,19 @@ export default function HomePage() {
{[ - { label: 'Todos', icon: 'list', path: '/todos' }, + { label: 'Todos', icon: 'list-check', path: '/todos' }, { label: 'Courses', icon: 'cart-shopping', path: '/shopping' }, { label: 'Notes', icon: 'note-sticky', path: '/notes' }, ].map((item) => ( -
{item.label} -
+ ))}