Open-Code-Crafters / FitFlex

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.
https://befiteveryday.netlify.app
MIT License
55 stars 96 forks source link

[Bug]: Overlapping Issue Register Form and Footer; Login Button Redirects to Non-Existent Route #192

Open Konain-Raza opened 1 week ago

Konain-Raza commented 1 week ago

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

Screenshot from 2024-10-12 11-06-34 Screenshot from 2024-10-12 11-06-53

On which device are you experiencing this bug?

No response

Record

GAVINESHWAR commented 1 week ago

@Konain-Raza , Go ahead