Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revision of Home Page #327

Merged
merged 1 commit into from
Oct 28, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
51 changes: 35 additions & 16 deletions ludos/mobile/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ class Home extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Scaffold(
backgroundColor: const Color(0xFF6b415e),
backgroundColor: const Color(0xFF40749c),
appBar: AppBar(
backgroundColor: const Color(0xFF5f1a37),
backgroundColor: const Color(0xFF101c2c),
centerTitle: true,
title: const Text('Ludos'),
leading: IconButton(
Expand Down Expand Up @@ -53,6 +53,7 @@ class Home extends StatelessWidget {
child: const Text(
'Assassins Creed Mirage launch brings 18% player rise across AC series',
softWrap: true,
style: TextStyle(color: Colors.white),
),
),

Expand All @@ -62,7 +63,9 @@ class Home extends StatelessWidget {
child: TextButton(
style: TextButton.styleFrom(foregroundColor: Colors.black),
onPressed: () {},
child: Text('@senaal'),
child: const Text('@senaal',
style: TextStyle(color: Color(0xFFf89c34)),
),
),
),
],
Expand All @@ -73,6 +76,7 @@ class Home extends StatelessWidget {
child: const Text(
'The average total player increase across the series is 18.66% since the release of Assassins Creed Mirage. This sudden increased interest across so many old games in the series is very rare for any series.',
softWrap: true,
style: TextStyle(color: Colors.white),
),
),
Container(
Expand All @@ -91,7 +95,9 @@ class Home extends StatelessWidget {
color: Colors.white,
onPressed: () {},
icon: const Icon(Icons.comment)),
Text('10 minutes ago'),
const Text('10 minutes ago',
style: TextStyle(color: Colors.white),
),
],
),
),
Expand All @@ -100,7 +106,7 @@ class Home extends StatelessWidget {
const Divider(
height: 3.0,
thickness: 3.0,
color: Color(0xFF5f1a37),
color: Color(0xFF589cb4),
),
],

Expand All @@ -122,6 +128,7 @@ class Home extends StatelessWidget {
child: const Text(
' FAR CRY’S MULTIPLAYER GAME IS AN EXTRACTION-BASED SHOOTER',
softWrap: true,
style: TextStyle(color: Colors.white),
),
),

Expand All @@ -131,7 +138,8 @@ class Home extends StatelessWidget {
child: TextButton(
style: TextButton.styleFrom(foregroundColor: Colors.black),
onPressed: () {},
child: Text('@furkanulke'),
child: Text('@furkanulke',
style: TextStyle(color: Color(0xFFf89c34)),),
),
),
],
Expand All @@ -142,6 +150,7 @@ class Home extends StatelessWidget {
child: const Text(
'As expected with an extraction-based shooter, the game loop is focused on gathering gear, leveling up, and purchasing perks. Although sources were unable to dive deep into what perks entail, it was said that they are directly tied to the leveling system. ',
softWrap: true,
style: TextStyle(color: Colors.white),
),
),
Container(
Expand All @@ -160,7 +169,8 @@ class Home extends StatelessWidget {
color: Colors.white,
onPressed: () {},
icon: const Icon(Icons.comment)),
Text('40 minutes ago'),
const Text('40 minutes ago',
style: TextStyle(color: Colors.white),),
],
),
),
Expand All @@ -169,7 +179,7 @@ class Home extends StatelessWidget {
const Divider(
height: 3.0,
thickness: 3.0,
color: Color(0xFF5f1a37),
color: Color(0xFF589cb4),
),
],

Expand All @@ -191,14 +201,15 @@ class Home extends StatelessWidget {
child: const Text(
'Watch Dogs: Legion vs Watch Dogs 2',
softWrap: true,
style: TextStyle(color: Colors.white),
),
),

),
SizedBox(width: 5.0),
Container(
child: TextButton(
style: TextButton.styleFrom(foregroundColor: Colors.black),
style: TextButton.styleFrom(foregroundColor: Color(0xFFf89c34)),
onPressed: () {},
child: Text('@haticeerk'),
),
Expand All @@ -211,6 +222,7 @@ class Home extends StatelessWidget {
child: const Text(
'Anyone else really disappointed with Watch Dogs: Legion after REALLY loving Watch Dogs 2?',
softWrap: true,
style: TextStyle(color: Colors.white)
),
),
Container(
Expand All @@ -229,7 +241,9 @@ class Home extends StatelessWidget {
color: Colors.white,
onPressed: () {},
icon: const Icon(Icons.comment)),
Text('10 hours ago'),
const Text('10 hours ago',
style: TextStyle(color: Colors.white),
),
],
),
),
Expand All @@ -238,7 +252,7 @@ class Home extends StatelessWidget {
const Divider(
height: 3.0,
thickness: 3.0,
color: Color(0xFF5f1a37),
color: Color(0xFF589cb4),
),
],
),
Expand All @@ -259,6 +273,7 @@ class Home extends StatelessWidget {
child: const Text(
'Disco Elysium x Death note fan-fiction recommendations?',
softWrap: true,
style: TextStyle(color: Colors.white),
),
),

Expand All @@ -268,7 +283,9 @@ class Home extends StatelessWidget {
child: TextButton(
style: TextButton.styleFrom(foregroundColor: Colors.black),
onPressed: () {},
child: Text('@kardelen'),
child: const Text('@kardelen',
style: TextStyle(color: Color(0xFFf89c34)),
),
),
),
],
Expand All @@ -279,6 +296,7 @@ class Home extends StatelessWidget {
child: const Text(
'Does anyone have any recommendations for Disco Elysium x Death note fan-fiction. I have seen the concept thrown around here a lot but I would absoluely love to read a story about it. Comment if you know any. Thanks!',
softWrap: true,
style: TextStyle(color: Colors.white),
),
),
Container(
Expand All @@ -297,7 +315,8 @@ class Home extends StatelessWidget {
color: Colors.white,
onPressed: () {},
icon: const Icon(Icons.comment)),
Text('10 days ago'),
const Text('10 days ago',
style: TextStyle(color: Colors.white),),
],
),
),
Expand All @@ -306,15 +325,15 @@ class Home extends StatelessWidget {
const Divider(
height: 3.0,
thickness: 3.0,
color: Color(0xFF5f1a37),
color: Color(0xFF589cb4),
),
],
),

],
),
bottomNavigationBar: Container(
color: const Color(0xFF5f1a37),
color: const Color(0xFF101c2c),
padding: const EdgeInsets.all(10.0),
child: Row(
mainAxisAlignment: MainAxisAlignment.spaceEvenly,
Expand All @@ -330,7 +349,7 @@ class Home extends StatelessWidget {
IconButton(
color: Colors.white,
onPressed: () {},
icon: const Icon(Icons.add_box)),
icon: const Icon(Icons.games)),
IconButton(
color: Colors.white,
onPressed: () {},
Expand Down