@include('partials.logo-mark')
admin
@auth('admin')
@csrf
{{ auth('admin')->user()->display_name }}
Sign out
@endauth
@auth('admin') @php $current = $menuKey ?? null; @endphp
@foreach (\App\Support\AdminMenu::groups() as $group => $items)
{{ $group }}
@foreach ($items as $key => $item) @php $href = isset($item['route']) ? route($item['route']) : route('admin.section', $key); @endphp
{{ $item['label'] }} @isset($item['phase'])
P{{ $item['phase'] }}
@endisset @isset($item['badge'])@php $n = \App\Support\AdminMenu::badge($item['badge']); @endphp @if ($n > 0)
{{ $n }}
@endif @endisset
@endforeach @endforeach
@csrf
{{ auth('admin')->user()->display_name }}
Sign out
@if (session('status'))
{{ session('status') }}
@endif @yield('content')
@else
@yield('content')
@endauth
@stack('scripts')