Skip to content

Commit

Permalink
Modified contact us page with Captcha
Browse files Browse the repository at this point in the history
  • Loading branch information
bensonpaul committed Jul 2, 2024
1 parent 04c4ffc commit 36483ad
Show file tree
Hide file tree
Showing 3 changed files with 362 additions and 229 deletions.
4 changes: 2 additions & 2 deletions config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ unsafe = true
Description = "The first-in-class comprehensive digital healthcare suite of patient advocacy tools for patients and consumers who are determined to be empowered in their health care journey. Unblock Health is revolutionizing patient autonomy and healthcare consumerism."
logotitle ="Comprehensive Healthcare Suite of Patient Advocacy Services designed for Patients and Consumers - Unblock Health"
footersectionaboutcontent ="Unblock Health rejects traditional barriers to patient health information. We empower patients to play an active role in their care and help HIM professionals deliver a positive experience."
recaptchaSiteKey = "6LfG8v8pAAAAAL_bNl24ICh0nOSe5Yx2GnXOmhVD"
recaptchaSecretKey = "6LfG8v8pAAAAAEgxJXOK7v0ko5Z-7HLPQ7f8DdfN"
recaptchaSiteKey = "6LcwogEqAAAAAI2QtVzQNHKN2kE2zXkodWEUzHfD"
recaptchaSecretKey = "6LcwogEqAAAAAKLRTlccbN_3GVKb7O9SsCWsQxKe"
recaptchaurl = "https://www.google.com/recaptcha/api.js"
# Navigation
[params.navigation]
Expand Down
26 changes: 24 additions & 2 deletions layouts/partials/footer-new.html
Original file line number Diff line number Diff line change
Expand Up @@ -171,18 +171,37 @@ <h3 class="slds-text-heading_medium medium" style="font-size: 24px; font-weight:
<div class="slds-form-element__control slds-m-bottom_medium">
<input type="email" name="Email" id="quickemail" placeholder="Email Address*" class="slds-input slds-p-vertical_x-small" required/>
</div>

<div class="slds-form-element__control slds-m-bottom_medium">
<input type="text" name="Subject" id="quicksubject" placeholder="Subject*" class="slds-input slds-p-vertical_x-small" required/>
</div>
<div class="slds-form-element__control slds-m-bottom_medium">
<textarea name="Message" id="quickmessage" placeholder="Message*" class="slds-input slds-p-vertical_x-small" style="min-height:138px;" required></textarea>
</div>

<div class="slds-form-element__control slds-m-bottom_medium">
{{/* <div class="slds-p-vertical_x-small g-recaptcha" data-sitekey="6LcwogEqAAAAAI2QtVzQNHKN2kE2zXkodWEUzHfD"></div> */}}
{{/* <div class="g-recaptcha" data-sitekey="6LcwogEqAAAAAI2QtVzQNHKN2kE2zXkodWEUzHfD"></div> */}}

<!--02-07-2024-->
{{/* <div class="g-recaptcha" data-sitekey="{{.Site.Params.recaptchaSiteKey}}"></div> */}}

</div>
<input type="hidden" name="_subject" value="[UnBlock Health] - Contact Form Submission" />
<input type="hidden" name="sitekey" id="sitekey" value="6LfG8v8pAAAAAL_bNl24ICh0nOSe5Yx2GnXOmhVD" />
<div class="slds-p-vertical_x-small g-recaptcha"
data-sitekey="6LfG8v8pAAAAAL_bNl24ICh0nOSe5Yx2GnXOmhVD"
data-callback="onRecaptchaResponseSuccess"
data-expired-callback="onRecaptchaResponseExpiry"
data-error-callback="onRecaptchaError" data-server="IN"></div>



<button id="contact-submit" class="slds-button slds-button_brand slds-button_stretch slds-p-vertical_small slds-p-horizontal_medium slds-color__text_gray-1">
<span class="slds-text-body_small slds-text-title_caps slds-color__text_gray-1"><b>Send</b></span></button>

</div>
</form>

<div id="successfooter" style="display:none;">

</div>
Expand Down Expand Up @@ -238,7 +257,10 @@ <h3 class="slds-text-heading_medium medium" style="font-size: 24px; font-weight:
<script src="{{"js/jquery.validate.min.js" | absURL}}"></script>
<script src="{{"js/jquery.form.js" | absURL}}"></script>
{{/* <script src="{{"js/twitter-widgets.js" | absURL}}"></script> */}}
<script src="{{"js/main-new.js" | absURL}}"></script>

<script src="{{"js/main-new.js" | absURL}}"></script>
{{/* <script src="{{"js/recaptcha_verify_test.js" | absURL}}"></script> */}}

</section>

</body>
Expand Down
Loading

0 comments on commit 36483ad

Please sign in to comment.