feat(frontend): add material catalogue screen with search and filters
This commit is contained in:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user