Replace hcaptcha by altcha
This commit is contained in:
parent
43d8ce7a49
commit
d1a20d0baa
5 changed files with 12 additions and 7 deletions
|
|
@ -25,7 +25,7 @@ title = "Subscribe to our newsletter"
|
|||
<input type="hidden" name="lang" value="en" />
|
||||
<input type="email" name="email" required placeholder="j.postel@isi.edu" class="form-control mb-3">
|
||||
<input type="text" name="name" placeholder="Name (optional)" class="form-control mb-3">
|
||||
<div class="mb-2 mx-auto h-captcha" data-sitekey="12a1e811-7f34-44ca-9e7c-fb1e9ade6b00"></div>
|
||||
<altcha-widget floating class="mb-2 mx-auto" challengeurl="https://lists.happydomain.org/api/public/captcha/altcha"></altcha-widget>
|
||||
<button type="submit" class="btn btn-lg btn-primary py-2" data-umami-event="cta-newsletter-join">
|
||||
Join our newsletter
|
||||
</button>
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ title = "Rejoindre notre newsletter"
|
|||
<input type="hidden" name="lang" value="en" />
|
||||
<input type="email" name="email" required placeholder="j.postel@isi.edu" class="form-control mb-3">
|
||||
<input type="text" name="name" placeholder="Nom (optionnel)" class="form-control mb-3">
|
||||
<div class="mb-2 mx-auto h-captcha" data-sitekey="12a1e811-7f34-44ca-9e7c-fb1e9ade6b00"></div>
|
||||
<altcha-widget floating class="mb-2 mx-auto" challengeurl="https://lists.happydomain.org/api/public/captcha/altcha"></altcha-widget>
|
||||
<button type="submit" class="btn btn-lg btn-primary py-2" data-umami-event="cta-newsletter-join">
|
||||
Rejoindre notre newsletter
|
||||
</button>
|
||||
|
|
|
|||
|
|
@ -39,10 +39,11 @@
|
|||
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>
|
||||
<altcha-widget
|
||||
floating
|
||||
class="my-2 mx-auto"
|
||||
challengeurl="https://lists.happydomain.org/api/public/captcha/altcha"
|
||||
></altcha-widget>
|
||||
<button
|
||||
type="submit"
|
||||
class="btn btn-lg btn-primary py-2"
|
||||
|
|
|
|||
|
|
@ -172,6 +172,10 @@
|
|||
placeholder="j.postel@isi.edu"
|
||||
class="form-control"
|
||||
/>
|
||||
<altcha-widget
|
||||
floating
|
||||
challengeurl="https://lists.happydomain.org/api/public/captcha/altcha"
|
||||
></altcha-widget>
|
||||
<button
|
||||
type="submit"
|
||||
class="btn btn-primary text-nowrap"
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
<script src="/js/bootstrap.bundle.min.js"></script>
|
||||
<script src="https://js.hcaptcha.com/1/api.js" async defer></script>
|
||||
<script src="https://lists.happydomain.org/public/static/altcha.umd.js" async defer></script>
|
||||
<script>
|
||||
window.matchMedia('(prefers-color-scheme: dark)').addEventListener('change', function(e) {
|
||||
document.documentElement.setAttribute('data-bs-theme', e.matches ? 'dark' : 'light');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue