@php // Dynamic brand name, but DB-tolerant: a 500 caused by the database being // down must not crash the error page itself, so fall back to the .env name. $__brandName = (string) rescue( fn() => \App\Models\SystemSetting::get('app_name', config('app.name', 'WaDesk')), config('app.name', 'WaDesk'), false, ); @endphp
{{-- Soft background blobs / matches the auth-art aesthetic --}}
{{-- Top brand --}} {{ $__brandName }} {{ $__brandName }} {{-- Big error code --}}
{{ $eyebrow ?? 'Something went wrong' }}
{{ $code }}

{{ $headline }}

{{ $body }}

{{-- Actions --}} {{-- Optional support footer --}}