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

1
Mobile/.gitignore vendored
View File

@ -44,3 +44,4 @@ app.*.map.json
environment.json
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',