akaunting 3.0 (the last dance)
This commit is contained in:
		| @@ -1,21 +1,26 @@ | ||||
| @extends('layouts.error') | ||||
| <x-layouts.error> | ||||
|     <x-slot name="title"> | ||||
|         {{ trans('errors.title.500') }} | ||||
|     </x-slot> | ||||
|  | ||||
| @section('title', trans('errors.title.500')) | ||||
|     <x-slot name="content"> | ||||
|         <div class="h-full flex flex-col sm:flex-row items-center justify-center sm:justify-between xl:-ml-64"> | ||||
|             <div class="flex flex-col items-start gap-y-4 mb-10 sm:mb-0 sm:-mt-24"> | ||||
|                 <h1 class="font-medium text-5xl lg:text-8xl"> | ||||
|                     {{ trans('errors.header.500') }} | ||||
|                 </h1> | ||||
|  | ||||
| @section('content') | ||||
|     <div class="card"> | ||||
|         <div class="card-header"> | ||||
|             <h2 class="mb-0 text-danger"> | ||||
|                 <i class="fa fa-exclamation-triangle text-danger"></i>  {{ trans('errors.header.500') }} | ||||
|             </h2> | ||||
|                 <span class="text-lg"> | ||||
|                     {{ trans('errors.title.500') }} | ||||
|                 </span> | ||||
|  | ||||
|                 @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"> | ||||
|                     {{ trans('general.go_to_dashboard') }} | ||||
|                 </a> | ||||
|             </div> | ||||
|  | ||||
|             <img src="{{ asset('public/img/errors/500.png') }}" alt="500" /> | ||||
|         </div> | ||||
|  | ||||
|         <div class="card-body"> | ||||
|             <p>{{ trans('errors.message.500') }}</p> | ||||
|  | ||||
|             @php $landing_page = user() ? user()->getLandingPageOfUser() : route('login'); @endphp | ||||
|  | ||||
|             <a href="{{ $landing_page }}" class="btn btn-success">{{ trans('general.go_to_dashboard') }}</a> | ||||
|         </div> | ||||
|     </div> | ||||
| @endsection | ||||
|     </x-slot> | ||||
| </x-layouts.error> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user