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

added contact.html backend with hCaptcha #48

Merged
merged 2 commits into from
Feb 13, 2022

Conversation

Anirban-1490
Copy link
Contributor

Added backend for contact page

  • JWOC Participant (not registered on JWOC site :( )
  • Contributor

Closes: #37

Describe the changes you've made

Made backend for Contact page (contact.html) using FromSubmit API and hCaptcha.
Also added custom styling if captcha has not been done but user has pressed the submit button.
Also fixed CORS error for POST request on hCaptcha endpoint

Type of change

What sort of change have you made:

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Code style update (formatting, local variables)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

Tested with my own email address and after form submit emails are coming :)

Checklist:

Example how to mark a checkbox:-

  • My code follows the guidelines of this project.
  • I have performed a self-review of my own code.
  • I have commented my code, particularly wherever it was hard to understand.
  • I have made corresponding changes to the documentation.
  • My changes generate no new warnings.
  • I have added tests that prove my fix is effective or that my feature works.
  • Any dependent changes have been merged and published in downstream modules.

Screenshots

s1
s2
s3
s4

Copy link
Owner

@prathimacode-hub prathimacode-hub left a comment

Choose a reason for hiding this comment

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

PR approved. Welcome to repo officially. Glad to see your initiation to take up this issue. Great start it was. 👏🎉@Anirban-1490

@prathimacode-hub prathimacode-hub added the Approved Your PR is approved label Feb 13, 2022
@prathimacode-hub prathimacode-hub merged commit 051cac0 into prathimacode-hub:main Feb 13, 2022
@prathimacode-hub prathimacode-hub added JWOC This issue/pull request will be considered for JWOC 2k22. and removed JWOC This issue/pull request will be considered for JWOC 2k22. labels Feb 13, 2022
@Anirban-1490
Copy link
Contributor Author

PR approved. Welcome to repo officially. Glad to see your initiation to take up this issue. Great start it was. 👏🎉@Anirban-1490

Thank you :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Approved Your PR is approved
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Treksy: Add contact.html back-end
2 participants