feat: implement client-side form validation using RHF and Zod - #50
Open
Divyansh77-cmd wants to merge 33 commits into
Open
Divyansh77-cmd wants to merge 33 commits into
Divyansh77-cmd wants to merge 33 commits into
Conversation
…olor-grading fix: improve color contrast and fix washed out styling on homepage#2
…-hero feat: add typewriter effect to hero headlines
Added dark/light mode theme variables, improved readability, smooth scrolling and accessibility-focused UI transitions.
This fix resolves a critical UX issue where mobile users were missing core navigation links in the header, leaving only the "Sign In" button. It introduces a responsive, fully animated hamburger menu dropdown that houses all section links and neatly integrates the "Sign In" CTA, restoring full site navigation for smaller viewports while preserving the platform's literary aesthetic.
- Integrated password visibility toggle button into the login and signup forms. - Used Lucide React Eye and EyeOff icons for dynamic state indicators. - Added accessibility labels (`aria-label`) for screen reader compatibility. - Maintained existing responsive UI styling and layout continuity.
|
@Divyansh77-cmd is attempting to deploy a commit to the areeb-coder's projects Team on Vercel. A member of the Team first needs to authorize it. |
Contributor
Author
|
Hii @Areeb-coder |
…eholders on frontend
Contributor
Author
|
Hii @Areeb-coder |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🚀 Purpose
Implements robust client-side validation for Login and Signup pages to improve UX and reduce unnecessary API calls.
🛠️ Changes
Validation Schema: Created shared Zod rules in web/src/lib/validations.ts.
Login Page: Integrated react-hook-form and added real-time error states.
Signup Page: Added "Confirm Password" match logic and name validation.
UI: Applied Tailwind rose-500 error borders and disabled the submit button during loading.
🔒 Closes Issue
Closes #16
Screenshots:
Empty Fields / Login:

Email Format & Password Mismatch (signup page):

Valid Form State:
