@php $faviconBase = $appSettings?->favicon_directory ? asset('storage/'.$appSettings->favicon_directory) : null; $navigation = collect([ ['label' => 'Dashboard', 'route' => 'dashboard', 'icon' => 'dashboard', 'admin' => false], ['label' => 'Customers', 'route' => 'customers.index', 'icon' => 'users', 'admin' => false], ['label' => 'Order Form', 'route' => 'orders.index', 'icon' => 'order', 'admin' => false], ['label' => 'Products', 'route' => 'products.index', 'icon' => 'product', 'admin' => false], ['label' => 'Product Settings', 'route' => 'product-settings.index', 'icon' => 'stitch', 'admin' => false], ['label' => 'Users', 'route' => 'users.index', 'icon' => 'users', 'admin' => true], ['label' => 'General Settings', 'route' => 'settings.edit', 'icon' => 'gear', 'admin' => true], ['label' => 'Profile', 'route' => 'profile.edit', 'icon' => 'profile', 'admin' => false], ])->filter(fn ($item) => ! $item['admin'] || auth()->user()->isAdmin()); @endphp @if ($faviconBase) @endif @vite(['resources/css/app.css', 'resources/js/app.js'])

{{ $eyebrow ?? 'Operations' }}

{{ $header ?? ($title ?? 'Dashboard') }}

@if (session('status'))
{{ session('status') }}
@endif {{ $slot }}