@props(['title' => 'Dashboard']) @php $appName = config('app.name', 'Umbrella Photo Booth'); $pageTitle = $title ? $title.' | '.$appName : $appName; $routeOrHash = static fn (string $routeName): string => Route::has($routeName) ? route($routeName, [], false) : '#'; $navItems = [ [ 'label' => 'Overview', 'route' => 'dashboard.index', 'icon' => '', ], [ 'label' => 'Booth Customization', 'route' => 'dashboard.customize', 'icon' => '', ], [ 'label' => 'Events', 'route' => 'dashboard.events.index', 'icon' => '', ], [ 'label' => 'Sessions', 'route' => 'dashboard.sessions.index', 'icon' => '', ], [ 'label' => 'Reports', 'route' => 'dashboard.reports', 'icon' => '', ], [ 'label' => 'Account', 'route' => 'dashboard.profile', 'icon' => '', ], ]; @endphp {{ $pageTitle }} @vite(['resources/css/app.css', 'resources/js/app.js'])
@isset($header) {{ $header }} @else

{{ $title }}

@endisset
Online
Signed in as {{ auth()->user()->email ?? '' }}
Profile Breeze Profile
@csrf Log Out
{{ $slot }}
@if (session('success') || session('error') || session('warning')) @endif @stack('scripts')