diff --git a/frontend/lib/features/auth/presentation/login_screen.dart b/frontend/lib/features/auth/presentation/login_screen.dart index e2fefbf0..e7bcf9c2 100644 --- a/frontend/lib/features/auth/presentation/login_screen.dart +++ b/frontend/lib/features/auth/presentation/login_screen.dart @@ -12,7 +12,6 @@ import '../../../core/services/audit_service.dart'; import '../../../core/services/web_auth_integration.dart'; import '../../../core/services/auth_proxy_service.dart'; import '../../../core/notifiers/auth_notifier.dart'; -import './forgot_password_screen.dart'; class LoginScreen extends ConsumerStatefulWidget { final String? verificationToken; @@ -553,17 +552,6 @@ class _LoginScreenState extends ConsumerState ), child: const Text("로그인"), ), - const SizedBox(height: 16), - TextButton( - onPressed: () { - Navigator.of(context).push( - MaterialPageRoute( - builder: (context) => const ForgotPasswordScreen(), - ), - ); - }, - child: const Text("비밀번호를 잊으셨나요?"), - ) ], ), ), @@ -591,18 +579,7 @@ class _LoginScreenState extends ConsumerState ), child: const Text("로그인 링크 전송"), ), - const SizedBox(height: 16), - Row( - mainAxisAlignment: MainAxisAlignment.center, - children: [ - const Text("계정이 없으신가요?", style: TextStyle(color: Colors.grey, fontSize: 14)), - TextButton( - onPressed: () => context.push('/signup'), - child: const Text("회원가입"), - ), - ], - ), - const SizedBox(height: 16), + const SizedBox(height: 24), const Text( "입력하신 정보로 로그인 링크를 전송합니다.", style: TextStyle(color: Colors.grey, fontSize: 12), @@ -665,6 +642,25 @@ class _LoginScreenState extends ConsumerState ], ), ), + const SizedBox(height: 16), + Column( + children: [ + TextButton( + onPressed: () => context.push('/forgot-password'), + child: const Text("비밀번호를 잊으셨나요?"), + ), + Row( + mainAxisAlignment: MainAxisAlignment.center, + children: [ + const Text("계정이 없으신가요?", style: TextStyle(color: Colors.grey, fontSize: 14)), + TextButton( + onPressed: () => context.push('/signup'), + child: const Text("회원가입"), + ), + ], + ), + ], + ), ], ), ),