shas6395----- #56
@ -32,31 +32,23 @@ class _HomePageState extends State<HomePage> {
|
||||
padding: EdgeInsets.fromLTRB(80, 80, 80, 0),
|
||||
child: Text(
|
||||
'Sun Chasers',
|
||||
style: GoogleFonts.libreBaskerville(
|
||||
fontSize: 35,
|
||||
style: GoogleFonts.roboto(
|
||||
fontSize: 52,
|
||||
color: globals.TEXTCOLOR,
|
||||
),
|
||||
textAlign: TextAlign.center,
|
||||
),
|
||||
),
|
||||
|
||||
|
||||
const SizedBox(height: 10),
|
||||
|
||||
Text(
|
||||
'The #1 Sunny Spot Finder',
|
||||
style: GoogleFonts.libreBaskerville(
|
||||
fontSize: 20,
|
||||
fontWeight: FontWeight. bold,
|
||||
color: globals.TEXTCOLOR,
|
||||
),
|
||||
),
|
||||
Container(
|
||||
padding: EdgeInsets.fromLTRB(80, 40, 80, 80),
|
||||
margin: EdgeInsets.fromLTRB(80, 80, 80, 80),
|
||||
child: ElevatedButton(
|
||||
style: ElevatedButton.styleFrom(
|
||||
fixedSize: const Size(200, 200),
|
||||
primary: globals.BUTTONCOLOR,
|
||||
elevation: 100,
|
||||
elevation: globals.elevation,
|
||||
shape: const CircleBorder(),
|
||||
),
|
||||
onPressed: () {
|
||||
@ -66,19 +58,12 @@ class _HomePageState extends State<HomePage> {
|
||||
);
|
||||
},
|
||||
child: Text(
|
||||
(globals.LOGGED_IN_USER.userID == 0 ? 'FIND SPOT BY LOCATION \n \n without signing in' : 'FIND SPOT BY LOCATION'),
|
||||
(globals.LOGGED_IN_USER.userID == 0 ? '\nFIND SPOT BY LOCATION \n \n as guest' : 'FIND SPOT BY LOCATION'),
|
||||
|
||||
textAlign: TextAlign.center,
|
||||
style: TextStyle(
|
||||
fontSize: 18,
|
||||
color: Colors.white,
|
||||
shadows: <Shadow> [
|
||||
Shadow(
|
||||
offset: Offset(2, 2),
|
||||
blurRadius: 10.0,
|
||||
color: globals.SHADOWCOLOR,
|
||||
),
|
||||
]
|
||||
),
|
||||
),
|
||||
),
|
||||
@ -100,7 +85,7 @@ class _HomePageState extends State<HomePage> {
|
||||
style: ElevatedButton.styleFrom(
|
||||
fixedSize: const Size(200, 50),
|
||||
primary: globals.BUTTONCOLOR,
|
||||
elevation: 100,
|
||||
elevation: globals.elevation,
|
||||
),
|
||||
onPressed: () {
|
||||
Navigator.push(
|
||||
@ -112,13 +97,7 @@ class _HomePageState extends State<HomePage> {
|
||||
style: TextStyle(
|
||||
fontSize: 18,
|
||||
color: Colors.white,
|
||||
shadows: <Shadow> [
|
||||
Shadow(
|
||||
offset: Offset(2, 2),
|
||||
blurRadius: 10.0,
|
||||
color: globals.SHADOWCOLOR,
|
||||
),
|
||||
])
|
||||
)
|
||||
),
|
||||
),
|
||||
Padding(padding: EdgeInsets.symmetric(horizontal: 10, vertical: 5)),
|
||||
@ -126,7 +105,7 @@ class _HomePageState extends State<HomePage> {
|
||||
style: ElevatedButton.styleFrom(
|
||||
fixedSize: const Size(200, 50),
|
||||
primary: globals.BUTTONCOLOR,
|
||||
elevation: 100,
|
||||
elevation: globals.elevation,
|
||||
),
|
||||
onPressed: () {
|
||||
Navigator.push(
|
||||
@ -138,13 +117,7 @@ class _HomePageState extends State<HomePage> {
|
||||
style: TextStyle(
|
||||
fontSize: 18,
|
||||
color: Colors.white,
|
||||
shadows: <Shadow> [
|
||||
Shadow(
|
||||
offset: Offset(2, 2),
|
||||
blurRadius: 10.0,
|
||||
color: Color.fromARGB(255, 0, 0, 0),
|
||||
),
|
||||
])
|
||||
)
|
||||
),
|
||||
)
|
||||
]
|
||||
@ -157,7 +130,7 @@ class _HomePageState extends State<HomePage> {
|
||||
style: ElevatedButton.styleFrom(
|
||||
fixedSize: const Size(200, 50),
|
||||
primary: globals.BUTTONCOLOR,
|
||||
elevation: 100,
|
||||
elevation: globals.elevation,
|
||||
),
|
||||
onPressed: () {
|
||||
globals.LOGGED_IN_USER = User.User(0, "", "");
|
||||
|
@ -19,6 +19,7 @@ Color PINKBACKGROUND = const Color.fromARGB(255, 240, 229, 229);
|
||||
Color TEXTCOLOR = const Color.fromARGB(255, 79, 98, 114);
|
||||
Color SHADOWCOLOR = const Color.fromARGB(255, 0, 0, 0);
|
||||
Color TEXTWHITE = const Color.fromARGB(0, 0, 0, 0);
|
||||
const double elevation = 5;
|
||||
late List<Venue> VENUES = [];
|
||||
late WeatherData forecast;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user