fixid logo

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

View File

@@ -15,42 +15,42 @@ 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: [
Text( if (screenSize.width > 760)
'BRISEN', Text(
style: Theme.of(context).textTheme.displayLarge!.copyWith( 'BRISEN',
fontFamily: 'Cinzel', style: Theme.of(context).textTheme.displayLarge!.copyWith(
fontWeight: FontWeight.bold, fontFamily: 'Cinzel',
color: Colors.white, fontWeight: FontWeight.bold,
), color: Colors.white,
), ),
const Padding( ),
padding: EdgeInsets.symmetric(horizontal: 20), Padding(
child: Image( padding: const EdgeInsets.symmetric(horizontal: 20),
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'),
), ),
), ),
Text( if (screenSize.width > 760)
'CHECKER', Text(
style: Theme.of(context).textTheme.displayLarge!.copyWith( 'CHECKER',
fontFamily: 'Cinzel', style: Theme.of(context).textTheme.displayLarge!.copyWith(
fontWeight: FontWeight.bold, fontFamily: 'Cinzel',
color: Colors.white, fontWeight: FontWeight.bold,
), color: Colors.white,
) ),
)
], ],
)), )),
Scaffold( Scaffold(