From 592a91e3fa6380397bb94bf83392345c76df3af0 Mon Sep 17 00:00:00 2001 From: TinaH Date: Mon, 13 Jan 2025 15:32:16 +0100 Subject: [PATCH] lazy load assets and avoid push scripts --- .../views/components/turnstile.blade.php | 33 +++++++------------ 1 file changed, 12 insertions(+), 21 deletions(-) diff --git a/resources/views/components/turnstile.blade.php b/resources/views/components/turnstile.blade.php index 9f1319c..04a1423 100644 --- a/resources/views/components/turnstile.blade.php +++ b/resources/views/components/turnstile.blade.php @@ -10,10 +10,11 @@
+ data-theme="{{ $theme }}" + data-language="{{ $language }}" + data-size="{{ $size }}" + x-ref="turnstile" + >
- - - - @push('scripts') - - @endpush -
\ No newline at end of file +