@extends('layouts.app') @section('title', 'Piala Dunia 2026 - Klasemen & Jadwal') @section('content') {{-- ============================================ HEADER AD SLOT ============================================ --}} @include('partials.ad-slot', ['position' => 'header']) {{-- ============================================ PAGE HEADER ============================================ --}}

Piala Dunia FIFA 2026

Klasemen Grup & Jadwal Pertandingan

{{-- ============================================ LIVE MATCHES SECTION ============================================ --}} @if(!empty($liveMatches) && $liveMatches->isNotEmpty())
Sedang Berlangsung
@foreach($liveMatches as $match)
LIVE {{ $match->group_name ?? '' }}
{{ $match->home_flag_emoji ?? '' }}
{{ $match->home_team ?? '-' }}
{{ $match->home_score ?? 0 }} : {{ $match->away_score ?? 0 }}
{{ $match->away_flag_emoji ?? '' }}
{{ $match->away_team ?? '-' }}
{{ $match->stadium ?? '' }}, {{ $match->city ?? '' }}
@endforeach
@endif {{-- ============================================ GROUP STANDINGS GRID (4 per row desktop, 2 tablet, 1 mobile) ============================================ --}}
Klasemen Grup
@foreach(['A','B','C','D','E','F','G','H'] as $groupLetter) @if(isset($groups[$groupLetter]) && $groups[$groupLetter]->isNotEmpty())
Grup {{ $groupLetter }}
@foreach($groups[$groupLetter] as $index => $team) @endforeach
# Tim M M S K GM GK SG Pts
{{ $pos }}
{{ $team->flag_emoji ?? '' }} {{ $team->team_name ?? $team->name ?? '-' }} @if($pos <= 2) {{ $pos === 1 ? 'LOLOS' : 'LOLOS' }} @endif
{{ $team->played ?? $team->matches_played ?? 0 }} {{ $team->won ?? $team->wins ?? 0 }} {{ $team->drawn ?? $team->draws ?? 0 }} {{ $team->lost ?? $team->losses ?? 0 }} {{ $team->goals_for ?? $team->gf ?? 0 }} {{ $team->goals_against ?? $team->ga ?? 0 }} {{ $team->goal_difference ?? $team->gd ?? 0 }} {{ $team->points ?? 0 }}
@endif @endforeach
{{-- ============================================ BETWEEN MATCHES AD SLOT ============================================ --}} @include('partials.ad-slot', ['position' => 'between_matches']) {{-- ============================================ RECENT MATCHES SECTION ============================================ --}} @if(!empty($recentMatches) && $recentMatches->isNotEmpty())
Pertandingan Terbaru
@foreach($recentMatches as $match)
Selesai {{ \Carbon\Carbon::parse($match->match_date)->format('d M Y, H:i') }}
{{ $match->home_flag_emoji ?? '' }}
{{ $match->home_team ?? '-' }}
{{ $match->home_score ?? 0 }} - {{ $match->away_score ?? 0 }}
{{ $match->away_flag_emoji ?? '' }}
{{ $match->away_team ?? '-' }}
@if(!empty($match->stadium))
{{ $match->stadium }}{{ !empty($match->city) ? ', ' . $match->city : '' }}
@endif
@endforeach
@endif {{-- ============================================ UPCOMING MATCHES SECTION ============================================ --}} @if(!empty($upcomingMatches) && $upcomingMatches->isNotEmpty())
Jadwal Pertandingan
@foreach($upcomingMatches as $match)
{{ \Carbon\Carbon::parse($match->match_date)->format('H:i') }}
{{ \Carbon\Carbon::parse($match->match_date)->format('d M Y') }}
{{ $match->home_flag_emoji ?? '' }} {{ $match->home_team ?? '-' }}
VS
{{ $match->away_team ?? '-' }} {{ $match->away_flag_emoji ?? '' }}
{{ $match->stadium ?? '' }}{{ !empty($match->city) ? ', ' . $match->city : '' }}
Akan Datang
@endforeach
@endif {{-- ============================================ FOOTER AD SLOT ============================================ --}} @include('partials.ad-slot', ['position' => 'footer']) @endsection {{-- ============================================ PAGE-SPECIFIC CSS ============================================ --}} @push('css') @endpush