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

@ -45,7 +45,7 @@
@endif
</div>
<a href="{{ route('portal.profile.edit', user()->id) }}" class="border-b text-sm hover:text-black">
<x-link href="{{ route('portal.profile.edit', user()->id) }}" class="border-b text-sm hover:text-black" override="class">
{{ trans('portal.see_all_details') }}
</a>
</x-link>
</div>

View File

@ -11,9 +11,9 @@
@endforeach
@if ($invoices->count() > 2)
<a href="{{ route('portal.invoices.index') }}" class="underline hover:text-black-700">
<x-link href="{{ route('portal.invoices.index') }}" class="underline hover:text-black-700" override="class">
{{ trans('modules.see_all_type', ['type' => trans_choice('general.invoices', 2)]) }}
</a>
</x-link>
@endif
@else
<span class="text-xs">

View File

@ -11,9 +11,9 @@
@endforeach
@if ($invoices->count() > 2)
<a href="{{ route('portal.invoices.index') }}" class="underline hover:text-black-700">
<x-link href="{{ route('portal.invoices.index') }}" class="underline hover:text-black-700" override="class">
{{ trans('modules.see_all_type', ['type' => trans_choice('general.invoices', 2)]) }}
</a>
</x-link>
@endif
@else
<span class="text-xs">

View File

@ -13,9 +13,9 @@
<x-money :amount="$contact->overdue" :currency="$contact->currency_code" convert />
</span>
<a href="{{ route('portal.invoices.index') }}" class="px-2 py-1 my-3 rounded-lg text-xs leading-6 bg-green text-white hover:bg-green-700 disabled:bg-green-100">
<x-link href="{{ route('portal.invoices.index') }}" class="px-2 py-1 my-3 rounded-lg text-xs leading-6 bg-green text-white hover:bg-green-700 disabled:bg-green-100" override="class">
{{ trans('bills.make_payment') }}
</a>
</x-link>
</div>
@else
<span class="text-xs">

View File

@ -15,9 +15,9 @@
@endforeach
@if ($payments->count() > 2)
<a href="{{ route('portal.payments.index') }}" class="underline hover:text-black-700">
<x-link href="{{ route('portal.payments.index') }}" class="underline hover:text-black-700" override="class">
{{ trans('modules.see_all_type', ['type' => trans_choice('general.payments', 2)]) }}
</a>
</x-link>
@endif
@else
<span class="text-xs">