applied hover component relating other pages

This commit is contained in:
Burak Civan
2022-06-23 14:21:07 +03:00
parent 2262600b37
commit 60668d9817
29 changed files with 60 additions and 117 deletions

View File

@@ -1,8 +1,6 @@
<div>
<h2 class="lg:text-lg font-medium text-black">
<span class="border-b border-transparent transition-all group-hover:border-black">
{{ $title }}
</span>
<x-text.hover text="{{ $title }}" color="to-black" />
</h2>
@if (! empty($description))

View File

@@ -22,8 +22,8 @@
@if (! empty($button) && $button->isNotEmpty())
{!! $button !!}
@else
<a href="{!! $url !!}" class="border-b border-transparent transition-all hover:border-white">
{{ $textAction }}
<a href="{!! $url !!}">
<x-text.hover text="{{ $textAction }}" color="to-white" />
</a>
@endif
</div>