-
Notifications
You must be signed in to change notification settings - Fork 125
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
Feat/hng 82 develop waitlist form to add user #98
Closed
toonami2907
wants to merge
31
commits into
hngprojects:main
from
toonami2907:feat/HNG-82-develop-waitlist-form-to-add-user
Closed
Feat/hng 82 develop waitlist form to add user #98
toonami2907
wants to merge
31
commits into
hngprojects:main
from
toonami2907:feat/HNG-82-develop-waitlist-form-to-add-user
Conversation
This file contains 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
…remix into feat/47-component-datacard
…rantex/hng_boilerplate_remix into feat/47-component-datacard
…-datacard Feat/47 component datacard
initialized staging dir
Merge pull request hngprojects#203 from hngprojects/dev
install pnpm lock file
Removed React import
…ipts-to-pnpm Change deploy scripts to pnpm
toonami2907
force-pushed
the
feat/HNG-82-develop-waitlist-form-to-add-user
branch
from
July 20, 2024 16:58
e20200c
to
09ccef9
Compare
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.
This pull request introduces a new waitlist form component for the organization's project. The form allows users to sign up for a waitlist by entering their name and email address. It features form validation and responsive design to ensure compatibility with various screen sizes.
Key Features
Form Component:
Developed a waitlist form using React and Tailwind CSS.
Integrated form validation for name and email fields.
Included success and error messages to provide user feedback.
Implemented responsive design to adapt to various screen sizes, including extra-small devices.
Validation:
Checks for non-empty name and valid email address before allowing submission.
Error Handling:
Displays error messages for invalid input or submission issues.
Code Changes
Action Function:
Removed placeholder API integration (commented out) for form submission.
Validates form data on the server side.
Form Component:
Added state management for form input and error handling.
Used Tailwind CSS for responsive styling and layout adjustments.
Fixed button styling to ensure it stays within the parent container.
Additional Notes
The form design maintains static dimensions as per the requirement.
Adjustments have been made for extra-small screens to ensure usability.
Please review the changes and let me know if there are any further adjustments needed.