diff --git a/lib/home/home_screen.dart b/lib/home/home_screen.dart index 65d70b5..675603b 100644 --- a/lib/home/home_screen.dart +++ b/lib/home/home_screen.dart @@ -1,4 +1,5 @@ import 'package:flutter/material.dart'; +import 'package:go_router/go_router.dart'; import 'package:provider/provider.dart'; import 'package:phone_login/auth/auth_state.dart'; @@ -34,6 +35,28 @@ class _LoggedOutView extends StatelessWidget { @override Widget build(BuildContext context) { - return const Center(child: Text('Logged Out')); + return Center( + child: Column( + mainAxisAlignment: MainAxisAlignment.center, + children: [ + const Icon(Icons.lock, size: 100, color: Colors.grey), + const SizedBox(height: 20), + Text('Welcome!', style: Theme.of(context).textTheme.headlineMedium), + const SizedBox(height: 10), + const Text( + 'Please log in to continue.', + textAlign: TextAlign.center, + style: TextStyle(color: Colors.grey), + ), + const SizedBox(height: 30), + ElevatedButton( + onPressed: () { + context.go('/phone'); + }, + child: const Text('Login'), + ), + ], + ), + ); } }