{{-- Mobile Header Component Expects: - $title: Page title (optional, defaults to greeting) - $showBackButton: Boolean to show back button (optional, defaults to false) - $backUrl: URL for back button (optional, defaults to dashboard) - $showNotifications: Boolean to show notifications (optional, defaults to true) - $showDarkMode: Boolean to show dark mode toggle (optional, defaults to true) - $financeUser: User object for profile info --}} @php $title = $title ?? null; $showBackButton = $showBackButton ?? false; $backUrl = $backUrl ?? route('dashboard'); $showNotifications = $showNotifications ?? true; $showDarkMode = $showDarkMode ?? true; @endphp
{{ $title }}
@else{{ explode(' ', $financeUser->name)[0] }} {{ Auth::user()->lastname }}
@endif{{ $mobileUnreadNotifications }} new notification{{ $mobileUnreadNotifications > 1 ? 's' : '' }}
@elseAll caught up!
@endif