@php $domain = request()->getHost(); $isFrontDomain = request()->getHost() == config('app.callforproposal_front_domain'); if ($isFrontDomain) { $baseLayout = 'front.layouts.base'; } else { $baseLayout = backpack_user() && Str::startsWith(\Request::path(), config('backpack.base.route_prefix')) ? 'backpack::layouts.top_left' : 'backpack::layouts.plain'; } @endphp @extends($baseLayout) @php $title = 'Error ' . $error_number; @endphp @section('after_styles') @endsection @php $splitErrorNumber = mb_str_split($error_number); @endphp @section('content')
@yield('title')
@foreach ($splitErrorNumber as $index => $char) @if ($index === 1) {{ $char }} @else {{ $char }} @endif @endforeach
@yield('description')
@if (!$isFrontDomain)
@yield('exception')
@endif
@endsection