From 3a8183f6a552db7713cf3253406de99b1f6e94bb Mon Sep 17 00:00:00 2001 From: R0m1k3 Date: Wed, 10 Dec 2025 13:09:24 +0100 Subject: [PATCH] feat: Add mobile tasks page with task creation, editing, and listing functionalities. --- client/src/pages/mobile/TasksPage.tsx | 53 ++++++++++++++++----------- 1 file changed, 32 insertions(+), 21 deletions(-) diff --git a/client/src/pages/mobile/TasksPage.tsx b/client/src/pages/mobile/TasksPage.tsx index f2aebfe..0d36e08 100644 --- a/client/src/pages/mobile/TasksPage.tsx +++ b/client/src/pages/mobile/TasksPage.tsx @@ -367,14 +367,14 @@ export default function MobileTasksPage() { } return ( -
+
{/* Header */}
-
-
+
+
- -

Tâches

+ +

Tâches

{filteredTasks.length}
@@ -386,25 +386,36 @@ export default function MobileTasksPage() { placeholder="Rechercher..." value={searchTerm} onChange={(e) => setSearchTerm(e.target.value)} - className="pl-10 h-11" + className="pl-10 h-10 text-sm" />
- {/* Tabs */} -
- {(['pending', 'completed', 'all'] as const).map((tab) => ( - - ))} + {/* Tabs - Grid layout pour garantir 3 colonnes égales */} +
+ + +