Migrate Turnstile to package and cleanup

This commit is contained in:
2025-12-23 09:02:10 +07:00
parent 12ae6fe45d
commit 91bb01bfd8
6 changed files with 141 additions and 44 deletions

View File

@@ -1,11 +0,0 @@
@props(['theme' => 'auto', 'size' => 'normal', 'tabindex' => 0])
<script src="https://challenges.cloudflare.com/turnstile/v0/api.js" async defer></script>
<div class="cf-turnstile"
data-sitekey="{{ env('TURNSTILE_SITE_KEY') }}"
data-theme="{{ $theme }}"
data-size="{{ $size }}"
data-tabindex="{{ $tabindex }}"
{{ $attributes }}
></div>