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

@ -22,9 +22,9 @@
</span>
</div>
<a href="{!! !empty($sticky->attributes->has('url')) ? $sticky->attributes->get('url') : route('dashboard') !!}" class="px-3 py-1.5 rounded-xl text-sm font-medium leading-6 bg-purple hover:bg-purple-700 text-white disabled:bg-purple-100">
<x-link href="{!! !empty($sticky->attributes->has('url')) ? $sticky->attributes->get('url') : route('dashboard') !!}" class="px-3 py-1.5 rounded-xl text-sm font-medium leading-6 bg-purple hover:bg-purple-700 text-white disabled:bg-purple-100" override="class">
{{ trans('general.go_back', ['type' => company()->name]) }}
</a>
</x-link>
</div>
</header>