ajout de la section recommandation

This commit is contained in:
sartron_Northblue
2025-09-12 15:39:51 +04:00
parent ce230d0637
commit 20741659f2
9 changed files with 187 additions and 13 deletions
+21 -13
View File
@@ -3,6 +3,7 @@ import 'widgets/header_widget.dart';
import 'widgets/hero_section_widget.dart';
import 'widgets/search_bar_widget.dart';
import 'widgets/popular_places_widget.dart';
import 'widgets/recommendation_widget.dart';
import 'theme/app_theme.dart';
void main() {
@@ -30,19 +31,26 @@ class TravelHomePage extends StatelessWidget {
return Scaffold(
backgroundColor: AppTheme.backgroundColor,
body: SafeArea(
child: Column(
children: [
SizedBox(
height: MediaQuery.of(context).size.height * 0.5,
child: const HeroSectionWidget(),
),
const SizedBox(height: 20),
const PopularPlacesWidget(),
const SizedBox(height: 20),
],
child: SingleChildScrollView(
child: Column(
children: [
SizedBox(
height: MediaQuery.of(context).size.height * 0.5,
child: const HeroSectionWidget(),
),
const SizedBox(height: 20),
const PopularPlacesWidget(),
const SizedBox(height: 20),
// Section Recommendation
const RecommendationWidget(),
const SizedBox(height: 20),
],
),
),
),
);