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

@ -21,9 +21,13 @@
@endif
@php $landing_page = user() ? user()->getLandingPageOfUser() : route('login'); @endphp
<a href="{{ $landing_page }}" class="relative flex items-center justify-center bg-green hover:bg-green-700 text-white px-6 py-1.5 text-base rounded-lg disabled:bg-green-100 mt-3">
<x-link
href="{{ $landing_page }}"
class="relative flex items-center justify-center bg-green hover:bg-green-700 text-white px-6 py-1.5 text-base rounded-lg disabled:bg-green-100 mt-3"
override="class"
>
{{ trans('general.go_to_dashboard') }}
</a>
</x-link>
</div>
<img src="{{ asset('public/img/errors/404.png') }}" alt="404" />