static a tag convert to view component

This commit is contained in:
Burak Civan
2022-08-03 14:04:32 +03:00
parent 5cb11e3ea6
commit 0dfc8df574
46 changed files with 167 additions and 138 deletions

View File

@ -3,7 +3,7 @@
@foreach ($favorites as $favorite)
<x-tooltip id="{{ $favorite['title'] }}" placement="right" message="{{ $favorite['title'] }}">
<a href="{{ $favorite['url'] }}" class="w-8 h-8 flex items-center justify-center mb-2.5">
<x-link href="{{ $favorite['url'] }}" class="w-8 h-8 flex items-center justify-center mb-2.5" override="class">
<span
id="{{ $favorite['id'] }}"
@class([
@ -14,7 +14,7 @@
>
{{ $favorite['icon'] }}
</span>
</a>
</x-link>
</x-tooltip>
@endforeach
</div>