@yield('styles') @php $menus = \App\Models\Menu::with(['children' => fn ($query) => $query->where('is_active', true)->orderBy('order')]) ->where('is_active', true) ->whereNull('parent_id') ->orderBy('order') ->get(); @endphp
Prophet
@yield('content')
@yield('scripts')