@livewireStyles
{{-- ✅ Hide nav & sidebar on login/forgot password --}} @if (!request()->is('admin/login') && !request()->is('admin/forgot-password')) @include('admin.layouts.nav') @include('admin.layouts.sidebar') @endif {{-- ✅ Main Content --}}
  1. Dashboard
Content Dashboard Non Content Dashboard Source Dashbard
@if($source_data->count()) @php $startDate = request('start_date') ?? now()->subDays(6)->format('Y-m-d'); $endDate = request('end_date') ?? now()->format('Y-m-d'); @endphp
@foreach ($source_data as $value) @endforeach
Date Range Source Category Active Users Sessions Engaged Sessions
{{ $startDate }} to {{ $endDate }} {{ $value->sessionSource ?? 'N/A' }} {{ $value->sourcecategory->name ?? '-' }} {{ number_format($value->total_users) }} {{ number_format($value->total_sessions) }} {{ number_format($value->total_engagedSessions) }}
Showing {{ $source_data->firstItem() }} to {{ $source_data->lastItem() }} of {{ $source_data->total() }} entries
{{ $source_data->withQueryString()->links() }}
@else
No records found.
@endif
{{-- ✅ JS Libraries --}} @livewireScripts @stack('scripts')