add logo on auth to take you to about page
This commit is contained in:
parent
c3298877e1
commit
033274d1e3
2 changed files with 390 additions and 349 deletions
|
|
@ -248,7 +248,9 @@ class _RegisterState extends State<Register> {
|
||||||
child: Scaffold(
|
child: Scaffold(
|
||||||
//backgroundColor: Colors.white,
|
//backgroundColor: Colors.white,
|
||||||
body: SafeArea(
|
body: SafeArea(
|
||||||
child: Center(
|
child: Stack(
|
||||||
|
children: [
|
||||||
|
Center(
|
||||||
child: SingleChildScrollView(
|
child: SingleChildScrollView(
|
||||||
physics: const BouncingScrollPhysics(),
|
physics: const BouncingScrollPhysics(),
|
||||||
child: Padding(
|
child: Padding(
|
||||||
|
|
@ -342,7 +344,8 @@ class _RegisterState extends State<Register> {
|
||||||
children: [
|
children: [
|
||||||
const Text(
|
const Text(
|
||||||
'Already a User?',
|
'Already a User?',
|
||||||
style: TextStyle(fontSize: 18, color: Colors.grey),
|
style:
|
||||||
|
TextStyle(fontSize: 18, color: Colors.grey),
|
||||||
),
|
),
|
||||||
const SizedBox(
|
const SizedBox(
|
||||||
width: 6,
|
width: 6,
|
||||||
|
|
@ -368,6 +371,24 @@ class _RegisterState extends State<Register> {
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
Positioned(
|
||||||
|
top: 5,
|
||||||
|
left: 5,
|
||||||
|
width: 75,
|
||||||
|
height: 75,
|
||||||
|
child: GestureDetector(
|
||||||
|
onTap: () {
|
||||||
|
Navigator.of(context).pushNamed(
|
||||||
|
'/about',
|
||||||
|
//arguments: widget.signedInUser,
|
||||||
|
);
|
||||||
|
},
|
||||||
|
child:
|
||||||
|
const Image(image: AssetImage('images/logo_light.png')),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
],
|
||||||
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
|
|
|
||||||
|
|
@ -286,7 +286,9 @@ class _SignInState extends State<SignIn> {
|
||||||
child: Scaffold(
|
child: Scaffold(
|
||||||
//backgroundColor: Colors.white,
|
//backgroundColor: Colors.white,
|
||||||
body: SafeArea(
|
body: SafeArea(
|
||||||
child: Center(
|
child: Stack(
|
||||||
|
children: [
|
||||||
|
Center(
|
||||||
child: SingleChildScrollView(
|
child: SingleChildScrollView(
|
||||||
physics: const BouncingScrollPhysics(),
|
physics: const BouncingScrollPhysics(),
|
||||||
child: Padding(
|
child: Padding(
|
||||||
|
|
@ -534,6 +536,24 @@ class _SignInState extends State<SignIn> {
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
Positioned(
|
||||||
|
top: 5,
|
||||||
|
left: 5,
|
||||||
|
width: 75,
|
||||||
|
height: 75,
|
||||||
|
child: GestureDetector(
|
||||||
|
onTap: () {
|
||||||
|
Navigator.of(context).pushNamed(
|
||||||
|
'/about',
|
||||||
|
//arguments: widget.signedInUser,
|
||||||
|
);
|
||||||
|
},
|
||||||
|
child:
|
||||||
|
const Image(image: AssetImage('images/logo_light.png')),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
],
|
||||||
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue