#26 Added re-captcha to the site

This commit is contained in:
Luke Else 2025-04-06 23:00:42 +01:00
parent e1160b3462
commit 33ddd2add0

View File

@ -60,6 +60,11 @@
gap: 1em 1em;
width: 100%;
}
.g-recaptcha {
width: fit-content;
overflow: hidden;
}
</style>
<Card>
@ -81,6 +86,10 @@
</div>
<input class="button" type="submit" value="Send" />
<input type="hidden" name="redirectTo" value="https://luke-else.co.uk/contact?sent=true">
<!-- reCAPTCHA integration -->
<div class="g-recaptcha" data-sitekey="6Lc3NgwrAAAAAKBh-ALiEnNfkYR4Wq4TLtH5DYEL"></div>
<script src="https://www.google.com/recaptcha/api.js" async defer></script>
</form>
</div>
<div slot="footer">