@push('title', 'Radio Leaderboard')
Radio Leaderboard Wie zijn de meest toegewijde luisteraars?
@if(!empty($users) && count($users) >= 3)
🥈
{{ $users[1]['username'] }}

{{ $users[1]['username'] }}

{{ number_format($users[1]['points']) }}
🥇
{{ $users[0]['username'] }}

{{ $users[0]['username'] }}

{{ number_format($users[0]['points']) }}
🥉
{{ $users[2]['username'] }}

{{ $users[2]['username'] }}

{{ number_format($users[2]['points']) }}
@endif

Alle Luisteraars ({{ count($users) }})

@forelse($users as $user)
@if($user['rank'] <= 3)
{{ $user['rank'] }}
@else
{{ $user['rank'] }}
@endif
{{ $user['username'] }} @if($user['rank'] <= 3)
{{ $user['rank'] }}
@endif
{{ $user['username'] }}
@if($user['rank'] <= 3)
{{ $user['rank'] === 1 ? '👑 Kampioen' : ($user['rank'] === 2 ? '🥈 Runner-up' : '🥉 Top 3') }}
@endif
{{ number_format($user['points']) }} pts
@if($user['rank'] === 1) 🏆 @elseif($user['rank'] <= 10) @endif
@empty
🎵
🤔

{{ __('radio.no_listeners') }}

{{ __('radio.listen_to_earn') }}

{{ __('radio.start_listening') }}
@endforelse
{{ __('radio.leaderboard_info') }} {{ __('radio.how_it_works') }}

{{ __('radio.points_auto') }}

{{ __('radio.points_per_minute') }}
{{ __('radio.max_points_per_day') }}
{{ __('radio.leaderboard_updated') }}
{{ __('radio.quick_stats') }} {{ __('radio.current_stand') }}
{{ __('radio.active_listeners') }} {{ count($users) }}
@if(!empty($users))
{{ __('radio.current_leader') }} 👑 {{ $users[0]['username'] }}
@endif
{{ __('radio.current_period') }} {{ $period === 'weekly' ? __('radio.this_week') : ($period === 'monthly' ? __('radio.this_month') : __('radio.total')) }}
@if(!empty($users) && count($users) >= 3) Top 3 De beste luisteraars
@foreach(array_slice($users, 0, 3) as $index => $user)
{{ $index + 1 }}
{{ $user['username'] }}
{{ $user['username'] }}
{{ number_format($user['points']) }} pts
{{ $index === 0 ? '🏆' : ($index === 1 ? '🥈' : '🥉') }}
@endforeach
@endif