feat(frontend): add material catalogue screen with search and filters

This commit is contained in:
SaidSoighiri94
2026-07-06 11:44:43 +02:00
parent 97a1ad9e84
commit 84bd2cc629
6 changed files with 398 additions and 2 deletions
+4 -1
View File
@@ -5,6 +5,7 @@ import "../widgets/ensup_top_bar.dart";
import "../widgets/profile_card.dart";
import "../widgets/action_card.dart";
import "../widgets/brand_corners.dart";
import "catalogue_screen.dart";
/// Écran d'accueil étudiant : profil + choix Emprunter / Restituer.
class HomeScreen extends StatelessWidget {
@@ -79,7 +80,9 @@ class HomeScreen extends StatelessWidget {
description:
"Accéder au catalogue et emprunter du matériel éducatif",
color: EnsupColors.cyan,
onTap: () => _bientot(context, "Emprunter"),
onTap: () => Navigator.of(context).push(
MaterialPageRoute(builder: (_) => const CatalogueScreen()),
),
),
),
const SizedBox(width: 16),