{{-- Sidebar --}} {{-- Main --}}
{{-- Impersonation banner --}} @if(session('impersonating_from'))
⚠ You are impersonating {{ auth('shop_user')->user()->name }} ({{ auth('shop_user')->user()->shop->domain ?? '' }})
@csrf
@endif {{-- Top bar --}}

@yield('title', 'Dashboard')

{{-- Flash messages --}} @if(session('success'))
✓ {{ session('success') }}
@endif @if($errors->any())
    @foreach($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif {{-- Page content --}}
@yield('content')