@extends('layouts.admin') @section('title', 'Admin Dashboard') @section('page-title', 'Dashboard') @section('page-subtitle', 'System overview and key metrics') @section('content')
👥

{{ number_format($stats['total_users']) }}

Total Users

{{ $stats['active_users'] }} active • {{ $stats['banned_users'] }} banned
⚔️

{{ number_format($stats['total_challenges']) }}

Total Challenges

{{ $stats['open_challenges'] }} open • {{ $stats['disputed_challenges'] }} disputed
🏆

{{ number_format($stats['total_tournaments']) }}

Tournaments

{{ $stats['ongoing_tournaments'] }} ongoing tournaments
💰

₦{{ number_format($stats['total_transactions'], 2) }}

Total Volume

{{ $stats['pending_transactions'] }} pending transactions

⚠️ Alerts & Issues

@if($stats['open_disputes'] > 0)
⚠️

{{ $stats['open_disputes'] }} Open Disputes

Requires immediate attention

Resolve
@endif
📊

Platform Statistics

All systems operational

✓ Online

📈 Recent Activity

@if(isset($recent_challenges) && $recent_challenges->count() > 0) @foreach($recent_challenges->take(5) as $challenge)
C

{{ $challenge->creator->username }} @if($challenge->accepter) vs {{ $challenge->accepter->username }} @else created an open challenge @endif

{{ $challenge->game->name }} • ₦{{ number_format($challenge->wager_amount, 2) }}

{{ ucfirst($challenge->status) }}

{{ $challenge->created_at->diffForHumans() }}

@endforeach @else

No recent activity to display

@endif
@endsection