@vite(['resources/css/app.css', 'resources/js/app.js'])
@stack('styles')
{{-- Dark mode script harus sebelum render --}}
{{-- TOP NAVBAR --}}
@include('partials.navbar')
{{-- SIDEBAR PER ROLE --}}
@auth
@php $role = auth()->user()->role->value; @endphp
@if($role === 'super_admin')
@include('partials.sidebar-admin')
@elseif($role === 'operator')
@include('partials.sidebar-operator')
@elseif($role === 'teacher')
@include('partials.sidebar-teacher')
@elseif($role === 'student')
@include('partials.sidebar-student')
@endif
@endauth
{{-- MAIN CONTENT --}}
{{-- BREADCRUMB --}}
@hasSection('breadcrumb')
@yield('breadcrumb')
@endif
@yield('content')
{{-- FOOTER --}}
@stack('scripts')
@stack('modals')