shivansh-bhatnagar18 / multiplayer-uno

https://multiplayer-uno.vercel.app
21 stars 43 forks source link

Frontend: Added Login Page with modifications to other components #88

Closed PrathamX595 closed 3 weeks ago

PrathamX595 commented 3 weeks ago

Added Login Page & Signup Page with other modifications

Fixes: #79

Description

Added a login page with changes to some components namely: 1)Button component was changed to include type as a prop. 2)Input button was changed to adjust the roundness and the height and width props were made editable . 3)NavBar was modified to conditionally render the signin/login button. 4)Routes for Login and Signup pages were added. 5)Implemented authContext to the login page

How to Test

Related Issues

80

87

76

Checklist

Screenshots (if applicable)

image

image

vercel[bot] commented 3 weeks ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
multiplayer-uno ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 13, 2024 7:46pm
kuv2707 commented 3 weeks ago

We won't be using google auth right now (that can be done later) So change the text accordingly. Also, we will use name and password for now.

A technical note: Both login and signup are quite identical, but differ in the api call and that signup ( = for first time users) will have a confirm password field.

kuv2707 commented 3 weeks ago

@PrathamX595 Login is implemented in the backend, so you can test if everything works as expected. This PR should be done in priority, as only after this would we be able to proceed to the game page.

PrathamX595 commented 3 weeks ago

@PrathamX595 Login is implemented in the backend, so you can test if everything works as expected. This PR should be done in priority, as only after this would we be able to proceed to the game page.

I'll get it done latest by Tomorrow only a few changes are left

PrathamX595 commented 3 weeks ago

@kuv2707 implemented the authContext let me know if anything else is needed to done