protect-earth / protect.earth

International Directory of Climate Action for Humans, Businesses, and anyone else.
https://protect.earth
MIT License
35 stars 15 forks source link

Suggestion Form #52

Closed william-woodhead closed 4 years ago

william-woodhead commented 4 years ago

I have taken the approach to create a Netlify form. Since we are still with Gatsby for now, we can inline the Netlify form directives into the JSX directly. I have embedded the form into the About page.

The page has 4 internal states: initial, submitting, success & error. I have attached screenshots of these 4 states.

NOTE: I cannot test this properly since I do not have access to Netlify. I have tested this with Netlify dev cli on my local computer.

Also I have had no design or copy, so it has been freestyle in those areas!

Screenshot 2020-04-15 at 12 15 24 Screenshot 2020-04-15 at 12 15 47 Screenshot 2020-04-15 at 12 16 00 Screenshot 2020-04-15 at 12 16 11

philsturgeon commented 4 years ago

Sorry for poor communication, this was in the v2 Project and those PRs should be going to the new branch and be all Vueish. I'll take this because you did it, and because we dunno when the rewrite is done, but we'll have to port this. Sorry!!

philsturgeon commented 4 years ago

Can you recreate this in the new branch and send a PR to #39 ?