@yield('meta')

@yield('page-title', 'Dashboard')

@yield('page-description', 'Welcome to your admin dashboard')

{{ auth('admin')->user()->name }}

{{ auth('admin')->user()->email }}

Profile Settings
@csrf
@if(session('success'))

{{ session('success') }}

@endif @if(session('error'))

{{ session('error') }}

@endif @if($errors->any())
@if($errors->has('error') && is_array($errors->get('error'))) {{-- Enhanced error handling for structured errors --}} @php $errorData = $errors->get('error')[0]; $isStructuredError = is_array($errorData) || (is_string($errorData) && isset($errors->get('config_errors')[0])); @endphp @if($isStructuredError)

Configuration Error:

{{ is_array($errorData) ? $errorData['message'] ?? $errorData[0] : $errorData }}

@if($errors->has('config_errors'))
    @foreach($errors->get('config_errors')[0] as $configError)
  • {{ $configError }}
  • @endforeach
@endif @if($errors->has('config_url')) Fix Configuration @endif @else

Please fix the following errors:

    @foreach($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif @else {{-- Standard error handling --}}

Please fix the following errors:

    @foreach($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
@endif @yield('content')