From 26cc3bf4bb49bfa3f5abbedbd100d6332c700f76 Mon Sep 17 00:00:00 2001 From: Nathan Lamy Date: Tue, 19 Aug 2025 12:46:23 +0200 Subject: [PATCH] ui: add tabs navigation --- app/components/home/bottom-nav.tsx | 2 +- app/components/home/date-picker.tsx | 2 +- app/components/home/index.tsx | 79 +++++++++++++---------------- 3 files changed, 37 insertions(+), 46 deletions(-) diff --git a/app/components/home/bottom-nav.tsx b/app/components/home/bottom-nav.tsx index 50f1262..8ea46dc 100644 --- a/app/components/home/bottom-nav.tsx +++ b/app/components/home/bottom-nav.tsx @@ -18,7 +18,7 @@ const navigationMenuItems = [ export default function BottomNavigation({ activeId }: { activeId: string }) { return ( -
+
diff --git a/app/components/home/date-picker.tsx b/app/components/home/date-picker.tsx index f44eb0b..96f40b0 100644 --- a/app/components/home/date-picker.tsx +++ b/app/components/home/date-picker.tsx @@ -33,7 +33,7 @@ export default function DatePickerWithRange({
-
- - -
+
- -
- - - - Vos colles ({studentColles.length}) - - - - Vos favoris ({0 /* TODO: stars.length */}) - - - - Votre classe ({classColles.length}) - - -
-
- {/* TODO: Filter component */}
- {activeTab === "all" && ( + {activeTab === "class" && ( <>