@if ($guest ?? false) {{ $slot }} @else @php $icons = [ 'dashboard' => '
', 'products' => '
', 'clients' => '
', 'licenses' => '
', 'releases' => '
', 'changelog' => '
', 'logs' => '
', 'setup' => '
', 'logout' => '
', 'menu' => '
', ]; $iconSvg = function (string $name) use ($icons): string { return '
' . $icons[$name] . '
'; }; $items = [ ['route' => 'admin.dashboard', 'label' => 'Dashboard', 'icon' => 'dashboard'], ['route' => 'admin.products', 'label' => 'Products', 'icon' => 'products'], ['route' => 'admin.clients', 'label' => 'Clients', 'icon' => 'clients'], ['route' => 'admin.licenses', 'label' => 'Licenses', 'icon' => 'licenses'], ['route' => 'admin.releases', 'label' => 'Releases', 'icon' => 'releases'], ['route' => 'admin.changelog', 'label' => 'Changelog', 'icon' => 'changelog'], ['route' => 'admin.logs', 'label' => 'API Logs', 'icon' => 'logs'], ['route' => 'admin.setup', 'label' => 'Setup', 'icon' => 'setup'], ]; @endphp
{!! $iconSvg('menu') !!}
Admin / {{ $title ?? 'Dashboard' }}
{{ $title ?? 'Dashboard' }}
Health
@if (session('status'))
{{ session('status') }}
@endif @if ($errors->any())
{{ $errors->first() }}
@endif {{ $slot }}
@endif