{{-- Customer account shell: greeting band + sidebar navigation (horizontal pills on phones). --}} @props(['title', 'active' => 'dashboard']) @php $user = auth()->user(); $unread = $user->unreadNotifications()->count(); $nav = [ ['dashboard', 'account.dashboard', 'bi-grid', 'Overview'], ['orders', 'account.orders', 'bi-box-seam', 'My orders'], ['returns', 'account.returns', 'bi-arrow-return-left', 'Returns & refunds'], ['reviews', 'account.reviews', 'bi-star', 'My reviews'], ['notifications', 'account.notifications', 'bi-bell', 'Notifications'], ['support', 'account.support', 'bi-headset', 'Help & support'], ['addresses', 'account.addresses', 'bi-geo-alt', 'Addresses'], ['wishlist', 'wishlist', 'bi-heart', 'Wishlist'], ['alerts', 'account.alerts', 'bi-bell-slash', 'Stock & price alerts'], ['profile', 'account.profile', 'bi-person-gear', 'Profile & security'], ]; @endphp
Namaste, {{ $user->name }} {{ $user->email }} · Member since {{ $user->created_at->format('M Y') }}
{{ $slot }}