Skip to content

Commit

Permalink
change landing page ui
Browse files Browse the repository at this point in the history
  • Loading branch information
xjyribro committed Apr 17, 2024
1 parent 55d4b48 commit 740ea6c
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions lib/constants/landing_page_texts.dart
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ class LandingPageContent{
'Movement: Use the joystick for mobile, "wasd" keys for web.\n'
'Interact: Virtual button for mobile, "e" key for web.';
static const String visitPark = 'Gomiland National Park is home to many protected species of flora and fauna. The residents love strolling about here and you would too!\n\n'
'Find points-of-interests like the World Forest, Bee Colony, Castle grounds and Bamboo Forest Shrine.\n\n'
'Bonus: It\'s Sakura season in a few days. Be sure to find a nice spot to take pictures and enjoy the beautiful sight!';
'Find points-of-interest like the World Forest, Bee Colony, Castle grounds and Bamboo Forest Shrine.\n\n'
'Bonus: It\'s Sakura season in a few days. Be sure to find a nice spot to take pictures and enjoy the beautiful sights!';
static const String sortRubbish = 'The city has given you 6 bins to throw your rubbish.\n\n'
'Learn about the materials each item is made of, then start sorting! \n\n'
'Get coins for correct sorting and fines for incorrect sorting. Coins can buy useful items and objects for your zen garden!';
static const String helpResidents = 'Some of the residents in town need assistance.\n\n'
'Use your map to locate people needing help. Mr Stark here needs materials for his construction. '
'Use your map to locate people in need of help. Mr Stark here needs materials for his construction. '
'His machines will appear and start building when you collect enough recyclables!\n\n'
'Bonus: Complete all the quests to erect the eco-warrior statue on the Castle Grounds.';
static const String learnSustainability = 'Explore different parts of Gomiland to understand how the city achieves sustainability.\n\n'
Expand Down
4 changes: 2 additions & 2 deletions lib/screens/landing_page/content_box.dart
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,10 @@ class ContentBox extends StatelessWidget {
),
Container(
height: size.width * 0.16,
width: size.width * 0.32,
width: size.width * 0.31,
constraints: const BoxConstraints(
minHeight: 160,
minWidth: 300,
minWidth: 316,
),
decoration: BoxDecoration(
border: Border.all(color: borderColor, width: 3),
Expand Down
6 changes: 3 additions & 3 deletions lib/screens/landing_page/landing_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -47,21 +47,21 @@ class LandingPage extends StatelessWidget {
content: LandingPageContent.sortRubbish,
imgPath: Assets.assets_images_landing_sorting_jpg,
gifPath: Assets.assets_images_landing_sort_rubbish_gif,
borderColor: GameColors.red,
borderColor: GameColors.orange,
),
const ContentBox(
heading: LandingPageHeaders.helpResidents,
content: LandingPageContent.helpResidents,
imgPath: Assets.assets_images_landing_stark_jpg,
gifPath: Assets.assets_images_landing_builders_gif,
borderColor: GameColors.orange,
borderColor: GameColors.purple,
),
const ContentBox(
heading: LandingPageHeaders.learnSustainability,
content: LandingPageContent.learnSustainability,
imgPath: Assets.assets_images_landing_cafe_jpg,
gifPath: Assets.assets_images_landing_e_charging_gif,
borderColor: GameColors.purple,
borderColor: GameColors.green,
),
const SpacerNormal(),
],
Expand Down

0 comments on commit 740ea6c

Please sign in to comment.