Skip to content

Commit f8fd084

Browse files
♻️ Cleanup x-data directives
1 parent 1004e6a commit f8fd084

18 files changed

+28
-28
lines changed

resources/views/components/articles/hero.blade.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ class="relative flex max-w-screen-lg items-start justify-center gap-10 md:gap-20
66
>
77
{{-- Left Side --}}
88
<div
9-
x-data="{}"
9+
x-data
1010
x-init="
1111
() => {
1212
if (reducedMotion) return
@@ -160,7 +160,7 @@ class="absolute -bottom-2 left-0 h-1 w-full origin-left rounded-full bg-butter t
160160

161161
{{-- Right Side --}}
162162
<div
163-
x-data="{}"
163+
x-data
164164
x-init="
165165
() => {
166166
if (reducedMotion) return

resources/views/components/button.blade.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
@if ($tag === "button")
6565
<button
6666
@if ($tooltip)
67-
x-data="{}"
67+
x-data
6868
x-tooltip.raw="{{ $tooltip }}"
6969
@endif
7070
type="{{ $type }}"
@@ -106,7 +106,7 @@
106106
@elseif ($tag === "a")
107107
<a
108108
@if ($tooltip)
109-
x-data="{}"
109+
x-data
110110
x-tooltip.raw="{{ $tooltip }}"
111111
@endif
112112
wire:loading.attr="disabled"

resources/views/components/consulting/experts.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<section
2-
x-data="{}"
2+
x-data
33
x-init="
44
() => {
55
if (reducedMotion) return

resources/views/components/consulting/hero.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<section
2-
x-data="{}"
2+
x-data
33
x-init="
44
() => {
55
if (reducedMotion) return

resources/views/components/consulting/kirschbaum.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<section
2-
x-data="{}"
2+
x-data
33
id="kirschbaum"
44
x-init="
55
() => {

resources/views/components/consulting/testimonials/index.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<section
2-
x-data="{}"
2+
x-data
33
x-init="
44
() => {
55
if (reducedMotion) return

resources/views/components/footer.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class="my-auto block rounded-xl bg-pink-100 px-8 py-4 text-center text-sm font-m
2525
</div>
2626

2727
<div
28-
x-data="{}"
28+
x-data
2929
x-ref="footer"
3030
x-init="
3131
() => {

resources/views/components/home/demo.blade.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<div
2-
x-data="{}"
2+
x-data
33
class="mx-auto w-full max-w-screen-lg px-10 pt-40 lg:px-5"
44
>
55
<div
6-
x-data="{}"
6+
x-data
77
x-init="
88
() => {
99
if (reducedMotion) return

resources/views/components/home/hero.blade.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ class="relative flex items-start justify-center min-[550px]:justify-start lg:gap
99
{{-- Accelerated --}}
1010
<div
1111
class="relative translate-x-10 text-3xl font-black italic min-[500px]:translate-x-0 lg:text-4xl"
12-
x-data="{}"
12+
x-data
1313
x-init="
1414
() => {
1515
if (reducedMotion) return
@@ -154,7 +154,7 @@ class="w-28 opacity-0"
154154
{{-- Header --}}
155155
<div
156156
class="group/header pt-3"
157-
x-data="{}"
157+
x-data
158158
x-init="
159159
() => {
160160
if (reducedMotion) return
@@ -323,7 +323,7 @@ class="hidden scale-[0.65] min-[450px]:block"
323323

324324
{{-- Links --}}
325325
<div
326-
x-data="{}"
326+
x-data
327327
x-init="
328328
() => {
329329
if (reducedMotion) return
@@ -432,7 +432,7 @@ class="absolute inset-0 -z-10 h-full w-full translate-x-1.5 translate-y-1.5 roun
432432

433433
{{-- Decoration Arrow --}}
434434
<div
435-
x-data="{}"
435+
x-data
436436
x-init="
437437
() => {
438438
if (reducedMotion) return
@@ -468,7 +468,7 @@ class="w-32"
468468
class="absolute -top-10 right-10 -z-10 hidden min-[500px]:block md:relative md:right-auto md:top-auto"
469469
>
470470
<div
471-
x-data="{}"
471+
x-data
472472
x-init="
473473
() => {
474474
if (reducedMotion) return

resources/views/components/home/packages.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
class="mx-auto w-full max-w-screen-lg px-5 pt-20"
33
>
44
<div
5-
x-data="{}"
5+
x-data
66
x-init="
77
() => {
88
if (reducedMotion) return

0 commit comments

Comments
 (0)