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:
Dani B
2026-01-28 12:18:34 -05:00
parent 680ecdc0df
commit 53329c9eb8
5 changed files with 107 additions and 32 deletions

View File

@@ -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');
}
}