guidebook done

This commit is contained in:
LilleBRG 2024-09-17 09:14:31 +02:00
parent 5672be582a
commit e5f7ca1560
2 changed files with 6 additions and 1 deletions

3
Mobile/.gitignore vendored
View File

@ -43,4 +43,5 @@ app.*.map.json
/android/app/release
environment.json
node_modules
node_modules
.env

View File

@ -85,6 +85,7 @@ class _TouristGuideBookPageState extends State<TouristGuideBookPage> {
padding: const EdgeInsets.symmetric(vertical: 8.0),
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
mainAxisAlignment: MainAxisAlignment.start,
children: [
Text(title, style: TextStyle(fontSize: 18, fontWeight: FontWeight.bold)),
SizedBox(height: 5),
@ -139,6 +140,9 @@ Widget build(BuildContext context) {
child: Text('Get Guidebook'),
),
if (_touristbook.isNotEmpty) ...[
_buildTouristBookSection(
_selectedCountry!,""
),
_buildTouristBookSection(
"Introduction - People",
_touristbook['introduction']?['people'] ?? 'No data',