@props(['title' => 'Dashboard']) @php $mobileFullScreenPage = false; @endphp @include('partials.favicon') {{ $title }} - Ladill Link @vite(['resources/css/app.css', 'resources/js/app.js'])
{{-- Mobile sidebar overlay --}}
{{-- Sidebar — full product nav (Bird and other extracted apps have their own nav in their own apps). --}} @php $sidebarPartial = 'partials.sidebar'; @endphp {{-- Main content --}}
@include('partials.topbar-qr')
$mobileFullScreenPage, ])> @include('partials.flash')
{{ $slot }}
{{-- Mobile Bottom Navigation (hidden on QR create/show which have their own action bar) --}} @php $navUser = auth()->user(); $navInitials = collect(explode(' ', trim((string) $navUser?->name))) ->filter()->take(2) ->map(fn ($part) => strtoupper(substr($part, 0, 1))) ->implode(''); @endphp @include('partials.mobile-bottom-nav', [ 'homeUrl' => route('link.dashboard'), 'homeActive' => request()->routeIs('link.dashboard'), 'searchUrl' => route('user.links.index'), 'searchActive' => request()->routeIs('user.links.*'), 'notificationsUrl' => route('notifications.index'), 'notificationsActive' => request()->routeIs('notifications.*'), 'unreadUrl' => route('notifications.unread'), 'profileActive' => request()->routeIs('account.settings'), 'profileName' => $navUser?->name ?? '', 'profileSubtitle' => $navUser?->email ?? '', 'profileMenuItems' => \App\Support\UserProfileMenu::items($navUser), 'avatarUrl' => $navUser?->avatarUrl(), 'initials' => $navInitials !== '' ? $navInitials : 'U', ])
@include('partials.sso-keepalive') @include('partials.confirm-prompt') @auth @include('partials.afia') @endauth