{{-- Background Orbs (matches dashboard) --}}
{{-- Header/Banner --}}

Global Leaderboard

See how you rank against other biology students

Back to Dashboard
{{-- Leaderboard Card --}}
@foreach($students as $index => $student) @php $rank = ($students->currentPage() - 1) * $students->perPage() + $index + 1; $isMe = $student->id === Auth::id(); @endphp {{-- Rank --}} {{-- Student Info --}} {{-- Wealth/Cups --}} @endforeach
Rank Student Wealth
@if($isMe)
@endif @if($rank === 1)
1
@elseif($rank === 2)
2
@elseif($rank === 3)
3
@else #{{ $rank }} @endif
@if($isMe)
You
@endif
{{ $student->name }}
{{ $student->school_name ?? 'No School Provided' }}
🏆 {{ number_format($student->cups) }}
{{-- Pagination --}} @if($students->hasPages())
{{ $students->links() }}
@endif