{{-- resources/views/layouts/user.blade.php --}} @yield('title', 'Dashboard') — {{ env('APP_NAME') }} @yield('styles')
{{-- ══════════════ BODY ══════════════ --}}
{{-- Topbar --}}
{{ auth()->user()->name }}
{{ Str::slug(auth()->user()->name, '') }}
@if(!empty(auth()->user()->avatar)) avatar @else {{ strtoupper(substr(auth()->user()->name, 0, 1)) }} @endif
{{-- Flash messages --}} @if(session('success') || session('status'))
{{ session('success') ?? session('status') }}
@endif @if(session('error'))
{{ session('error') }}
@endif @if($errors->any())
Please fix the errors below:
    @foreach($errors->all() as $e)
  • {{ $e }}
  • @endforeach
@endif {{-- Main content --}}
@yield('content')
{{-- /.body --}}
{{-- /.app --}} {{-- Mobile overlay --}}
{{-- Bottom navigation (mobile only) --}} {{-- Fixed right utility buttons --}}
@include('partials.livechat-widget') @if(auth()->check() && (int)(auth()->user()->is_suspended ?? 0) === 1 && (int)(auth()->user()->is_admin ?? 0) !== 1) @endif @stack('scripts')