@extends('admin.layouts.app') @php use App\Support\AdminOptions; @endphp @section('title', 'Berita Esports') @section('actions') Tulis Berita @endsection @section('content')
@forelse ($newsList as $item) @empty @endforelse
Penulis Aksi
{{ \Illuminate\Support\Str::limit($item->title, 65) }}
@if ($item->template === 'tournament_recap') Template 1: Rekap Match @else Template 2: Berita Standar @endif @if ($item->is_featured) Utama @endif @if ($item->tournament_name) {{ $item->tournament_name }} ({{ $item->team_a_score ?? 0 }} - {{ $item->team_b_score ?? 0 }}) @endif
{{ $item->category }} {{ $item->is_published ? 'Terbit' : 'Draft' }} {{ $item->published_at?->translatedFormat('d M Y H:i') ?? '—' }} {{ $item->author?->name ?? '—' }}
Belum ada berita esports. Klik Tulis Berita untuk membuat liputan baru.
@if ($newsList->hasPages()) @endif
@endsection