ajout de la barre de navigation en bas

This commit is contained in:
sartron_Northblue
2025-09-12 15:59:15 +04:00
parent 20741659f2
commit 176334d0be
5 changed files with 75 additions and 25 deletions
+27 -19
View File
@@ -4,6 +4,7 @@ import 'widgets/hero_section_widget.dart';
import 'widgets/search_bar_widget.dart';
import 'widgets/popular_places_widget.dart';
import 'widgets/recommendation_widget.dart';
import 'widgets/bottom_navigation_widget.dart';
import 'theme/app_theme.dart';
void main() {
@@ -31,26 +32,33 @@ class TravelHomePage extends StatelessWidget {
return Scaffold(
backgroundColor: AppTheme.backgroundColor,
body: SafeArea(
child: SingleChildScrollView(
child: Column(
children: [
SizedBox(
height: MediaQuery.of(context).size.height * 0.5,
child: const HeroSectionWidget(),
child: Column(
children: [
Expanded(
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),
const RecommendationWidget(),
const SizedBox(height: 20),
],
),
),
const SizedBox(height: 20),
const PopularPlacesWidget(),
const SizedBox(height: 20),
// Section Recommendation
const RecommendationWidget(),
const SizedBox(height: 20),
],
),
),
const BottomNavigationWidget(),
],
),
),
);