Add HCaptcha on newsletter
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
de1b7646c3
commit
d28de66a4f
@ -20,6 +20,7 @@
|
||||
<input type="hidden" name="l" value="b3297dce-4f02-42a5-9918-54499804323e" />
|
||||
<input type="hidden" name="lang" value="{{ site.LanguageCode }}" />
|
||||
<input type="email" name="email" required placeholder="j.postel@isi.edu" class="form-control my-3">
|
||||
<div class="my-2 mx-auto h-captcha" data-sitekey="12a1e811-7f34-44ca-9e7c-fb1e9ade6b00"></div>
|
||||
<button type="submit" class="btn btn-lg btn-primary py-2" data-umami-event="cta-newsletter-join">
|
||||
{{ i18n "cta-newsletter-button1" }}
|
||||
</button>
|
||||
|
@ -1,5 +1,6 @@
|
||||
<script src="/js/jquery.slim.min.js"></script>
|
||||
<script src="/js/bootstrap.min.js"></script>
|
||||
<script src="https://js.hcaptcha.com/1/api.js" async defer></script>
|
||||
<script>
|
||||
window.addEventListener("scroll", function() {
|
||||
if (window.scrollY > 100) {
|
||||
|
Loading…
Reference in New Issue
Block a user