@if($appSettings->meta_description) @endif @if($appSettings->meta_keywords) @endif @if($appSettings->favicon_url) @endif {{-- Fonts --}} {{-- Bootstrap grid + icons for Blade components that still use them --}} {{-- DataTables --}} {{-- Electric Ocean v3 — MUST load last so it wins the cascade over Bootstrap/DataTables --}} {{-- Theme palette override (preset or custom primary colour). Raw output is safe: every value flowing into $themeCss is either a hardcoded preset constant in App\Support\ThemePalette::PRESETS or a hex code emitted via sprintf('#%02X%02X%02X', ...). User input (theme_primary_color) is regex-validated upstream by UpdateAppSettingsRequest and re-checked inside ThemePalette::resolve. --}} @stack('styles')
@include('layouts.partials.sidebar')
@include('layouts.partials.topbar')
@include('partials._flash') @if($appSettings->maintenance_mode && $appSettings->maintenance_message) @endif @yield('content')
@include('layouts.partials.app_footer')
{{-- Core JS --}} {{-- DataTables --}} {{-- Electric Ocean — sidebar collapse, mobile drawer, theme toggle --}} {{-- Global ⌘K search — vanilla JS, wired to the existing sidebar input --}} {{-- Topbar bell-icon notifications — vanilla JS, polls /notifications/unread-count --}} @auth @endauth @stack('scripts')