@extends('layouts.nova') @section('content') {{-- ── Hero header ── --}}

Community

Monthly Top Commentators

Members who posted the most comments in the last 30 days.

Last 30 days
{{-- ── Leaderboard ── --}}
@php $offset = ($rows->currentPage() - 1) * $rows->perPage(); @endphp @if ($rows->isNotEmpty())
{{-- Table header --}}
# Member Comments
{{-- Rows --}}
@foreach ($rows as $i => $row) @php $rank = $offset + $i + 1; $profileUrl = ($row->user_username ?? null) ? '/@' . $row->user_username : '/profile/' . (int)($row->user_id ?? 0); $avatarUrl = \App\Support\AvatarUrl::forUser((int)($row->user_id ?? 0), null, 40); @endphp
{{-- Rank badge --}}
@if ($rank === 1) 1 @elseif ($rank === 2) 2 @elseif ($rank === 3) 3 @else {{ $rank }} @endif
{{-- Member info --}} {{ $row->uname ?? 'User' }}
{{ $row->uname ?? 'Unknown' }}
{{-- Comment count --}}
{{ number_format((int)($row->num_comments ?? 0)) }}
@endforeach
{{ $rows->withQueryString()->links() }}
@else

No comment activity in the last 30 days.

@endif
@endsection