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

@ -16,7 +16,7 @@
@can ($button['permission'])
@endif
<li class="border-b p-2 hover:bg-gray-100">
<a href="{{ $button['url']}}" class="flex items-center justify-between text-xs">
<x-link href="{{ $button['url']}}" class="flex items-center justify-between text-xs" override="class">
<div class="truncate">
<div class="flex items-center">
<h2 class="relative">
@ -35,7 +35,7 @@
</div>
<span class="material-icons text-gray-500 transform rtl:rotate-180">chevron_right</span>
</a>
</x-link>
</li>
@if ($checkPermissionCreate)
@endcan
@ -44,7 +44,7 @@
@if (! empty($suggestion))
<li class="border-b p-2 hover:bg-gray-100">
<a href="{{ url($suggestion->action_url) . '?' . http_build_query((array) $suggestion->action_parameters) }}" class="flex items-center justify-between text-xs">
<x-link href="{{ url($suggestion->action_url) . '?' . http_build_query((array) $suggestion->action_parameters) }}" class="flex items-center justify-between text-xs" override="class">
<div class="truncate">
<h2>
{{ $suggestion->name }}
@ -56,7 +56,7 @@
</div>
<span class="material-icons text-gray-500">chevron_right</span>
</a>
</x-link>
</li>
@endif
</ul>