{{ __('Admin Dashboard') }}

@auth {{ __('Welcome, ') }}{{ Auth::user()->name }} @endauth

{{ __("Welcome, Administrator!") }}

{{-- Flex container for main content and sidebar --}} {{-- Left Sidebar Area for Active Users (approx. 1/4 width on medium screens) --}}
{{-- h-full to make it stretch --}}

{{ __('Active Logged-In Users') }}

{{ __('Users with recent activity:') }}

{{-- This section displays currently logged-in users --}} @if(isset($currentlyLoggedInUsers) && $currentlyLoggedInUsers->count() > 0)
    @foreach($currentlyLoggedInUsers as $user)
  • {{ $user->name }} ({{ ucfirst($user->role) }}) @if ($user->id === Auth::id()) (You) @endif
  • @endforeach
@else

{{ __('No other users currently active.') }}

@endif
{{-- Right Main Content Area for Admin Links (approx. 3/4 width on medium screens) --}}
{{-- End flex container --}}