-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixes #30 UI addition for signup and login modal #55
base: main
Are you sure you want to change the base?
Conversation
1. KlinicAuthform that handles both login & signUp modal 2. KlinicAuthContainer that has tabs to switch b/w login and signup and render the login/signup form 3. Added clsx in package json and installed to handle multiple classes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@vanamraghu I have created this video which should help you understand how we should think about creating scalable solutions.
https://www.loom.com/share/0ee4064f30ac49e3afe1cc2ae9175c89?sid=1f947cac-e84d-435c-a05c-bc2bd456883d
…nto 30-feature-request-ui-add-loginsignup-modal
1. KlinicAuthForm renamed to AuthForm that displays the form for login and sign up 2. Modal component created to display the login and sign up form and also state is handled to display modal when close button is clicked or anywhere in the page 3. KlinicAuthContainer is removed and renamed to Modal component 4. Button component modified so that first logo can be displayed following the button text (earlier it was text followed by children) now children is displayed followed by button text 5. Header component is created to display the LogIn button so that when clicked modal and related forms is displayed
1. Removed clsx and making use of classNames to handle display of conditionals for tailwind
…ignup-modal' into 30-feature-request-ui-add-loginsignup-modal # Conflicts: # package-lock.json
Unassigned myself as this PR is not ready for the review. |
What type of PR is this? (check all applicable)
Description
Addition of login button in header so that when clicked it should display the modal and when close button is clicked it closes the modal
Addition of Signup and Login modal to handle sign up and login process,
Form is added that can be reused that has Email and password
Related Tickets & Documents
QA Instructions, Screenshots, Recordings