feat(01-07): update pages with password reset navigation and deep linking
- Updated login page to navigate to /reset-password instead of placeholder - Added "Forgot Password?" link to signup page - Enhanced reset password confirmation page to extract token/email from URL parameters - Updated update password page to handle deep linking parameters - Added deep linking support configuration in main.dart - Improved router with URL parameter extraction helpers
This commit is contained in:
@@ -137,6 +137,22 @@ class _SignupPageState extends State<SignupPage> {
|
||||
),
|
||||
],
|
||||
),
|
||||
const SizedBox(height: 12),
|
||||
|
||||
// Forgot password link
|
||||
Align(
|
||||
alignment: Alignment.center,
|
||||
child: TextButton(
|
||||
onPressed: _handleForgotPassword,
|
||||
child: Text(
|
||||
'Forgot Password?',
|
||||
style: Theme.of(context).textTheme.bodyMedium?.copyWith(
|
||||
color: Theme.of(context).colorScheme.primary,
|
||||
fontWeight: FontWeight.w500,
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
@@ -335,4 +351,9 @@ class _SignupPageState extends State<SignupPage> {
|
||||
// Navigate to sign in page
|
||||
context.go('/login');
|
||||
}
|
||||
|
||||
void _handleForgotPassword() {
|
||||
// Navigate to password reset page
|
||||
context.go('/reset-password');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user