logo logo logo logo logo logo
  • Notifications

    5 Unread
    • user1

      New Messages

      Jane Sam sent you a message.
      Now
    • Order Updates

      Order #54321 has been shipped.
      2 hours ago
    • user1

      Comment on Post

      Reacted: John Richard on your next purchase!
      2 hours ago
    • user1

      Follow Request

      Kelin Brown has sent you the request.
      1 Day ago
    • Exclusive Offers

      Enjoy20% off on your next purchase!
      5 hours ago
    View All
    No New Notifications
  • @php // Fetch the logged-in admin (adjust the guard name if you use something other than 'admin') $admin = auth()->guard('admin')->user() ?? auth()->user(); @endphp @if ($admin && $admin->avatar) {{-- Show uploaded avatar if it exists --}} img @else {{-- Show a generated name-initials avatar if no image is uploaded --}} img @endif
    • {{ $admin->name ?? 'Administrator' }} {{-- Converts roles like 'super_admin' to 'Super Admin' --}} {{ str_replace('_', ' ', $admin->role ?? 'Staff') }}
    • {{-- Secure Laravel POST Logout Form --}}
      @csrf
      Log Out