static a tag convert to view component
This commit is contained in:
@ -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" />
|
||||
|
Reference in New Issue
Block a user