diff --git a/resources/views/checkout/partials/sections/login/logged-out.blade.php b/resources/views/checkout/partials/sections/login/logged-out.blade.php index 313e6b2..cb8c01b 100644 --- a/resources/views/checkout/partials/sections/login/logged-out.blade.php +++ b/resources/views/checkout/partials/sections/login/logged-out.blade.php @@ -28,4 +28,4 @@ class="justify-center"

@lang('Login') - \ No newline at end of file + diff --git a/resources/views/components/button/base.blade.php b/resources/views/components/button/base.blade.php new file mode 100644 index 0000000..99f647f --- /dev/null +++ b/resources/views/components/button/base.blade.php @@ -0,0 +1,18 @@ +@props(['loader' => false, 'tag']) +class([ + 'relative inline-block self-start text-center text-sm transition cursor-pointer', + 'disabled:cursor-not-allowed disabled:opacity-70', + ]) }} + v-bind:disabled="$root.loading" +> + @if($loader) +
+ +
+ @endif + $loader ? '{ "invisible": $root.loading }' : false])> + {{ $slot }} + +
diff --git a/resources/views/components/button/index.blade.php b/resources/views/components/button/index.blade.php index 150c209..f5c674a 100644 --- a/resources/views/components/button/index.blade.php +++ b/resources/views/components/button/index.blade.php @@ -1,18 +1,3 @@ -@props(['loader' => false, 'tag']) -class([ - 'relative inline-block self-start rounded py-4 px-6 text-center text-sm transition cursor-pointer', - 'disabled:cursor-not-allowed disabled:opacity-70', - ]) }} - v-bind:disabled="$root.loading" -> - @if($loader) -
- -
- @endif - $loader ? '{ "invisible": $root.loading }' : false])> - {{ $slot }} - -
+class('py-4 px-6 rounded')) }}> + {{ $slot }} + diff --git a/resources/views/components/button/outline.blade.php b/resources/views/components/button/outline.blade.php index 7f2d419..0026b51 100644 --- a/resources/views/components/button/outline.blade.php +++ b/resources/views/components/button/outline.blade.php @@ -1,3 +1,3 @@ -merge(['class' => 'rounded border bg-white text-sm font-medium text-ct-primary']) }}> +merge(['class' => 'rounded border bg-white text-sm font-medium text-ct-neutral']) }}> {{ $slot }} diff --git a/resources/views/components/input/quantity.blade.php b/resources/views/components/input/quantity.blade.php index f2c20e3..1497b7a 100644 --- a/resources/views/components/input/quantity.blade.php +++ b/resources/views/components/input/quantity.blade.php @@ -6,7 +6,7 @@ :error-callback="checkResponseForExpiredCart" v-slot="{ mutate, variables }" > -
+