@use('Illuminate\Support\Facades\Auth') @yield('title', 'Admin') — {{ config('app.name') }} {{-- Fonts --}} {{-- Bootstrap 5 & Icons --}} @stack('styles') @auth {{-- ════════════════════════════════════════════ MOBILE OVERLAY ════════════════════════════════════════════ --}}
{{-- ════════════════════════════════════════ SIDEBAR ════════════════════════════════════════ --}} {{-- ════════════════════════════════════════ MAIN COLUMN ════════════════════════════════════════ --}}
{{-- ─── TOPBAR ─────────────────────── --}}
{{-- Mobile hamburger --}} {{-- Page title / breadcrumb --}}
@yield('page_title', 'Dashboard')
Home / @yield('breadcrumb', 'Dashboard')
{{-- Right actions --}}
{{-- Search --}} {{-- Notifications --}} {{-- User Dropdown --}}
{{-- ─── CONTENT ─────────────────── --}}
{{-- Flash Messages --}} @if(session('success') || session('error') || session('warning') || session('info'))
@if(session('success'))
{{ session('success') }}
@endif @if(session('error'))
{{ session('error') }}
@endif @if(session('warning'))
{{ session('warning') }}
@endif @if(session('info'))
{{ session('info') }}
@endif
@endif {{-- Validation errors --}} @if($errors->any())
Please fix the following errors:
    @foreach($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif {{-- ══ PAGE CONTENT ══ --}} @yield('content')
{{-- ─── FOOTER ──────────────────── --}}
{{-- /main-col --}}
{{-- /admin-shell --}} @else {{-- ════════════════════════════════════════════ NOT AUTHENTICATED → Show Login Page ════════════════════════════════════════════ --}}
{{-- Left: login form --}}
{{-- Right: decorative panel --}}

Secure Admin Access

Manage your application, users, content, and system settings from one powerful dashboard.

@foreach(['Full user management', 'Real-time analytics', 'Role-based access control', 'Activity audit logs'] as $feat)
{{ $feat }}
@endforeach
@endauth {{-- Bootstrap JS --}} @stack('scripts')