Rebuild-Black-Business / RBB-Website

Website to help connect black-owned businesses with consumers and resources
https://www.rebuildblackbusiness.com/
MIT License
119 stars 75 forks source link

Suggestion box #324

Closed SeHarlan closed 4 years ago

SeHarlan commented 4 years ago

Describe your PR

Created a suggestion box/form that integrates with Netlify. !! I've gotten a success message from Netlify, but as I don't have access to the dashboard I cannot fully confirm this !!

A user can access this form by clicking on the contact card I added on the about us page, it then pops open a modal with the form. Talking with Neil, we thought it might be best to remove the business registration contact card as there is essentially already a whole page dedicated to it. I've left the code for it commented out in case we want to bring it back though.

The original issue also mention sending an email to some rbb email account, I have not done that part but can tackle it if we want to add that as well. It would just mean creating a service function and calling it in the handleSubmit func in SuggestionBox.js

I've also added titles to the other forms for consistency

Related to #283 Fixes #283

Pages/Interfaces that will change

added SuggestionBox.js in Forms folder about.js ContactCard.js BusinessSignUpForm.js AllySignUpForm.js

Screenshots / video of changes

Before: Screen Shot 2020-08-19 at 4 06 29 PM

After: Screen Shot 2020-08-19 at 4 06 41 PM

Screen Shot 2020-08-19 at 4 05 28 PM

Drop some screenshots of the before and after of your work here. Better yet, take a screen recording using a tool like Loom

Steps to test

1.

Additional notes

netlify[bot] commented 4 years ago

Deploy request for rebuild-black-business accepted.

Accepted with commit 591f2bff48de008cf113d0b896001a6f6e62da1f

https://app.netlify.com/sites/rebuild-black-business/deploys/5f4436f548609a000a88e181

magnificode commented 4 years ago

@SeHarlan this looks great, thank you so much for the work!

racedale commented 4 years ago

@all-contributors please add SeHarlan for code

allcontributors[bot] commented 4 years ago

@racedale

This project's configuration file has malformed JSON: .all-contributorsrc. Error:: Unexpected token { in JSON at position 8547

racedale commented 4 years ago

@all-contributors please add SeHarlan for code

allcontributors[bot] commented 4 years ago

@racedale

I've put up a pull request to add @SeHarlan! :tada: