@extends('layouts.app') @section('title','Rankings por Modalidade - GIGAX ARENA') @section('page_title','Rankings por Modalidade') @php $modeMeta = [ 'c1s' => [ 'label' => 'C1S / DM', 'short' => 'C1S', 'accent' => 'purple', 'icon' => '☠', 'desc' => 'Deathmatch competitivo com foco em K/D, headshots e desempenho individual.', ], 'awp' => [ 'label' => 'AWP', 'short' => 'AWP', 'accent' => 'orange', 'icon' => '⌖', 'desc' => 'Ranking dedicado a sniper/AWP com precisão, rating e consistência.', ], 'team_5l' => [ 'label' => '5L • TIME VS TIME', 'short' => '5L', 'accent' => 'blue', 'icon' => '5L', 'desc' => 'Disputas 5v5 entre times e clãs com classificação independente.', ], 'custom' => [ 'label' => 'PERSONALIZADAS', 'short' => 'CUSTOM', 'accent' => 'green', 'icon' => '⚔', 'desc' => 'Partidas personalizadas com ranking separado do MIX oficial.', ], ]; $meta = $modeMeta[$mode] ?? $modeMeta['c1s']; $leader = collect($ranking)->first(); $totalPlayers = count($ranking); $totalMatches = collect($ranking)->sum('matches_played'); $totalWins = collect($ranking)->sum('wins'); $avgRating = $totalPlayers > 0 ? round(collect($ranking)->avg('rating'), 2) : 0; @endphp @push('styles') @endpush @section('content')
| # | Jogador | Pontos | Rating | Partidas | V | D | K/D | HS | Precisão |
|---|---|---|---|---|---|---|---|---|---|
| #{{ $pos }} |
@if($p->avatar_url)
{{ mb_strtoupper(mb_substr($p->nickname ?? 'G',0,1)) }}
@endif
{{ $p->nickname }}
GIGAX Arena Player
|
{{ number_format($p->points,0,',','.') }} | {{ $p->matches_played }} | {{ $p->wins }} | {{ $p->losses }} | {{ number_format($kd,2,',','.') }} | {{ $p->headshots }} | {{ number_format($acc,1,',','.') }}% |