static a tag convert to view component
This commit is contained in:
@ -7,9 +7,9 @@
|
||||
</div>
|
||||
|
||||
<div class="my-10">
|
||||
<a href="https://akaunting.com/lp/accounting-software?utm_source=software&utm_medium=invoice_payment&utm_campaign=plg" class="bg-purple text-white px-3 py-1.5 mb-3 sm:mb-0 rounded-xl text-sm font-medium leading-6 hover:bg-purple-700">
|
||||
<x-link href="https://akaunting.com/lp/accounting-software?utm_source=software&utm_medium=invoice_payment&utm_campaign=plg" class="bg-purple text-white px-3 py-1.5 mb-3 sm:mb-0 rounded-xl text-sm font-medium leading-6 hover:bg-purple-700" override="class">
|
||||
{{ trans('portal.get_started') }}
|
||||
</a>
|
||||
</x-link>
|
||||
</div>
|
||||
|
||||
<div class="my-10">
|
||||
|
@ -66,9 +66,9 @@
|
||||
</x-tooltip>
|
||||
|
||||
<x-tooltip id="tooltip-support" placement="right" message="{{ trans('general.help') }}">
|
||||
<a href="{{ url(trans('header.support_link')) }}" target="_blank" class="flex items-center justify-center w-8 h-8 mb-2.5 cursor-pointer js-menu-toggles">
|
||||
<x-link href="{{ url(trans('header.support_link')) }}" target="_blank" class="flex items-center justify-center w-8 h-8 mb-2.5 cursor-pointer js-menu-toggles" override="class">
|
||||
<span class="material-icons-outlined text-purple text-2xl">support</span>
|
||||
</a>
|
||||
</x-link>
|
||||
</x-tooltip>
|
||||
</div>
|
||||
|
||||
@ -102,23 +102,23 @@
|
||||
@can('read-common-companies')
|
||||
<div id="dropdown-menu-company" class="absolute right-0 mt-3 py-2 bg-white rounded-md shadow-xl z-20 hidden" style="left: auto; min-width: 10rem;">
|
||||
@foreach($companies as $com)
|
||||
<a href="{{ route('companies.switch', $com->id) }}" id="$com->id" class="h-9 leading-9 flex items-center text-sm px-2" role="menuitem" tabindex="-1">
|
||||
<x-link href="{{ route('companies.switch', $com->id) }}" id="$com->id" class="h-9 leading-9 flex items-center text-sm px-2" override="class" role="menuitem" tabindex="-1">
|
||||
<div class="w-full h-full flex items-center rounded-md px-2 hover:bg-lilac-100">
|
||||
<span class="material-icons-outlined text-purple text-xl">business</span>
|
||||
<span class="ltr:pl-2 rtl:pr-2 text-purple text-xs truncate">{{ Str::limit($com->name, 18) }}</span>
|
||||
</div>
|
||||
</a>
|
||||
</x-link>
|
||||
@endforeach
|
||||
|
||||
@can('update-common-companies')
|
||||
<a href="{{ route('companies.index') }}" class="h-9 leading-9 flex items-center text-sm px-2 border-t rounded-bl rounded-br group hover:bg-purple">
|
||||
<x-link href="{{ route('companies.index') }}" class="h-9 leading-9 flex items-center text-sm px-2 border-t rounded-bl rounded-br group hover:bg-purple" override="class">
|
||||
<div class="w-full h-full flex items-center rounded-md px-2 ">
|
||||
<span class="material-icons-outlined text-purple text-xl group-hover:text-white">settings</span>
|
||||
<span class="ltr:pl-2 rtl:pr-2 text-purple text-xs truncate group-hover:text-white">
|
||||
{{ trans('general.title.manage', ['type' => trans_choice('general.companies', 2)]) }}
|
||||
</span>
|
||||
</div>
|
||||
</a>
|
||||
</x-link>
|
||||
@endcan
|
||||
</div>
|
||||
@endcan
|
||||
|
Reference in New Issue
Block a user