fixid logo

This commit is contained in:
marcoabat
2023-08-09 17:38:44 +02:00
parent 635ddfd506
commit fe0868cdeb

View File

@@ -15,19 +15,18 @@ class LoginPage extends StatelessWidget {
Size screenSize = MediaQuery.of(context).size; Size screenSize = MediaQuery.of(context).size;
double dialogWidth = screenSize.width > 300 ? 300 : screenSize.width; double dialogWidth = screenSize.width > 300 ? 300 : screenSize.width;
return Stack(children: [ return Stack(children: [
Image( Image.network(
'https://vkyxfurwyfjfvjlseegf.supabase.co/storage/v1/object/sign/assets/nekro_wallpaper.jpg?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1cmwiOiJhc3NldHMvbmVrcm9fd2FsbHBhcGVyLmpwZyIsImlhdCI6MTY5MTU5NTI3MywiZXhwIjoxNzIzMTMxMjczfQ.fRSqj5N0oZq2G3rTW3fHbuaThin9oQ5Ygrvs58upUog&t=2023-08-09T15%3A34%3A33.717Z',
width: screenSize.width, width: screenSize.width,
height: screenSize.height, height: screenSize.height,
fit: BoxFit.cover, fit: BoxFit.cover,
image: const AssetImage(
'nekro_wallpaper.jpg',
),
), ),
Align( Align(
alignment: Alignment.topCenter, alignment: Alignment.topCenter,
child: Row( child: Row(
mainAxisSize: MainAxisSize.min, mainAxisSize: MainAxisSize.min,
children: [ children: [
if (screenSize.width > 760)
Text( Text(
'BRISEN', 'BRISEN',
style: Theme.of(context).textTheme.displayLarge!.copyWith( style: Theme.of(context).textTheme.displayLarge!.copyWith(
@@ -36,13 +35,14 @@ class LoginPage extends StatelessWidget {
color: Colors.white, color: Colors.white,
), ),
), ),
const Padding( Padding(
padding: EdgeInsets.symmetric(horizontal: 20), padding: const EdgeInsets.symmetric(horizontal: 20),
child: Image( child: Image.network(
'https://vkyxfurwyfjfvjlseegf.supabase.co/storage/v1/object/sign/assets/logo.png?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1cmwiOiJhc3NldHMvbG9nby5wbmciLCJpYXQiOjE2OTE1OTUyNTcsImV4cCI6MTcyMzEzMTI1N30.EZeMK8bfz83jk1ELdPga0VhyedwZ4ZKDsUEGPR0QBBM&t=2023-08-09T15%3A34%3A17.513Z',
width: 200, width: 200,
image: AssetImage('logo.png'),
), ),
), ),
if (screenSize.width > 760)
Text( Text(
'CHECKER', 'CHECKER',
style: Theme.of(context).textTheme.displayLarge!.copyWith( style: Theme.of(context).textTheme.displayLarge!.copyWith(