button animated change component..

This commit is contained in:
Cüneyt Şentürk
2022-07-04 12:52:24 +03:00
parent 47610fa373
commit ded7bfdce6
31 changed files with 135 additions and 84 deletions

View File

@ -1,8 +1,8 @@
<div>
<h2 class="lg:text-lg font-medium text-black">
<x-link.hover group-hover>
<x-button.hover group-hover>
{{ $title }}
</x-link.hover>
</x-button.hover>
</h2>
@if (! empty($description))

View File

@ -8,7 +8,6 @@
<img src="{{ $image }}" class="w-60 h-60 object-contain mt-10 m-auto" />
</div>
<div @class([
'lg:w-3/5',
$textColor,
@ -22,11 +21,11 @@
@if (! empty($button) && $button->isNotEmpty())
{!! $button !!}
@else
<a href="{!! $url !!}">
<x-link.hover color="to-white">
<x-link href="{!! $url !!}" class="bg-transparent" override="class">
<x-link.hover color="to-white">
{{ $textAction }}
</x-link.hover>
</a>
</x-link>
@endif
</div>
</div>
</div>