FitFlex is a fitness and weight loss website offering daily, structured workout plans for a set period. Users can follow day-wise exercises tailored to their goals, whether for weight loss, muscle gain, or general fitness. With a simple, user-friendly interface, FitFlex helps track progress and stay consistent throughout their fitness journey.
The application currently has a login button that redirects users to a route that does not exist, leading to confusion and a poor user experience. Additionally, the Google Authentication is implemented using a popup, which disrupts the user experience and may not work well for all users.
Instead of routing to a non-existent page, the login functionality should be handled through conditional rendering. This approach would allow users to toggle between the sign-in and registration forms on the same page, enhancing usability and streamlining the authentication process.
Expected behavior
The application should utilize conditional rendering to display either the sign-in or registration form based on user interaction, instead of redirecting to a nonexistent route.
The Google Authentication process should be integrated into the same component, allowing for a smoother transition and user experience without the need for popups.
Is there an existing issue for this?
Describe the bug
The application currently has a login button that redirects users to a route that does not exist, leading to confusion and a poor user experience. Additionally, the Google Authentication is implemented using a popup, which disrupts the user experience and may not work well for all users.
Instead of routing to a non-existent page, the login functionality should be handled through conditional rendering. This approach would allow users to toggle between the sign-in and registration forms on the same page, enhancing usability and streamlining the authentication process.
Expected behavior
The application should utilize conditional rendering to display either the sign-in or registration form based on user interaction, instead of redirecting to a nonexistent route. The Google Authentication process should be integrated into the same component, allowing for a smoother transition and user experience without the need for popups.
Add ScreenShots
On which device are you experiencing this bug?
No response
Record