Skip to content
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

Feature: handle quick contact form with formspree.io - index.html, ar… #148

Conversation

RealRichi3
Copy link
Member

@RealRichi3 RealRichi3 commented Oct 13, 2022

Summary

Quick contact form for homepage returns error 405 - issue #129
Email handler for quick contact form exposes sensitive private keys in front end - issue #130

For this fix, an account should be created on formspree.io to get the form_id to the passed in the form action url (line 522 for index.html, line 481 for ar-index.html)

Fixes #129 #130 #146

Lorem ipsum dolor sit amet, consectetur adipiscing.

List of changes proposed in this PR (pull-request)

  • Added formspree.io as email sending service for quick contact form.

What should a reviewer concentrate their feedback on?

  • Everything looks ok?

@netlify
Copy link

netlify bot commented Oct 13, 2022

Deploy Preview for oscksa ready!

Name Link
🔨 Latest commit 639cb8a
🔍 Latest deploy log https://app.netlify.com/sites/oscksa/deploys/63530087ce88a90008a2b4db
😎 Deploy Preview https://deploy-preview-148--oscksa.netlify.app/
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@RealRichi3
Copy link
Member Author

@BatoolMM Please review

@BatoolMM BatoolMM added outreachy bug Something isn't working labels Oct 13, 2022
Copy link
Member

@BatoolMM BatoolMM left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @RealRichi3, just added the form's endpoint!

ar-index.html Outdated Show resolved Hide resolved
index.html Outdated Show resolved Hide resolved
@BatoolMM
Copy link
Member

Thank you, it's working (email is delivered) but still shows an error in the website, not sure why!

I will merge this for now as quick fix!

@BatoolMM
Copy link
Member

@all-contributors please add @RealRichi3 for infra

@allcontributors
Copy link
Contributor

@BatoolMM

I've put up a pull request to add @RealRichi3! 🎉

@BatoolMM BatoolMM merged commit 805f914 into Open-Science-Community-Saudi-Arabia:main Oct 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working outreachy
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] Quick contact form returns 405 error code
2 participants