SCRUM-7: Integrate Contact Form with Web3Forms API #24
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 PR integrates the existing contact form with Web3Forms API, replacing the originally planned backend integration with triggerApi. The implementation provides a complete user experience with form validation, loading states, and appropriate feedback messages.
Changes Made
Why Web3Forms Instead of triggerApi
Web3Forms API provides a simpler, production-ready solution with built-in spam protection and reliable email delivery without requiring us to maintain our own email infrastructure.
Testing Done
Important Note for Review and Merge
For testing purposes, the form currently sends submissions to technical@unswdata.com. When approving this PR for merge, please remember to update the recipient email to hello@unswdata.com so that form submissions go directly to the DataSoc Executives when the website is deployed.
Closes SCRUM-7