@extends('admin.layouts.main') @section('title', 'Blog Articles - Admin Panel') @section('content')

Manajemen Blog

Kelola artikel blog dan konten website

Tambah Artikel Baru

Total Artikel

{{ $articles->total() }}

Diterbitkan

{{ \App\Models\BlogArticle::where('is_published', true)->count() }}

Draft

{{ \App\Models\BlogArticle::where('is_published', false)->count() }}

Featured

{{ \App\Models\BlogArticle::where('is_featured', true)->count() }}

Daftar Artikel
Menampilkan {{ $articles->firstItem() ?? 0 }} - {{ $articles->lastItem() ?? 0 }} dari {{ $articles->total() }} artikel
@forelse($articles as $article) @empty @endforelse
Gambar Judul & Slug Author Status Tanggal Aksi
@if($article->image) {{ $article->title }} @else
@endif @if($article->is_featured) @endif
{{ Str::limit($article->title, 50) }}
{{ $article->slug }}
{{ $article->author ?? 'Admin' }}
@if($article->is_published) Published @else Draft @endif
{{ $article->created_at->format('d M Y') }}
{{ $article->created_at->format('H:i') }}
@csrf @method('DELETE')
Belum ada artikel

Mulai buat artikel pertama Anda

Tambah Artikel
@if($articles->hasPages()) @endif
@push('scripts') @endpush @endsection