ajout de la section recommandation
This commit is contained in:
+21
-13
@@ -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),
|
||||
],
|
||||
),
|
||||
),
|
||||
),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user