Tutorial {{-- ── Toolbar ─────────────────────────────────────────────────────────── --}}
{{-- Filter Tabs --}}
@foreach(['' => 'Semua', 'video' => 'Video', 'article' => 'Artikel'] as $key => $label) {{ $label }} @endforeach
Tambah Tutorial
{{-- ── Table ───────────────────────────────────────────────────────────── --}}
@forelse($tutorials as $tutorial) {{-- Thumbnail + Judul --}} {{-- Type Badge --}} {{-- Sort --}} {{-- Status --}} {{-- Actions --}} @empty @endforelse
Tutorial Tipe Sort Status Aksi
@if($tutorial->thumbnail) @elseif($tutorial->type === 'video' && $tutorial->youtube_id) @else
@if($tutorial->type === 'video') @else @endif
@endif

{{ $tutorial->title }}

@if($tutorial->product_id && $tutorial->product) {{ $tutorial->product->name }} @else Semua Produk @endif • {{ Str::limit($tutorial->description, 50) }}
@if($tutorial->type === 'video') Video @else Artikel @endif {{ $tutorial->sort_order }} @if($tutorial->is_active) Aktif @else Nonaktif @endif
Edit
@csrf @method('DELETE')

Belum ada tutorial

Mulai tambah tutorial pertama Anda

@if($tutorials->hasPages())
{{ $tutorials->links() }}
@endif