@extends('layouts.admin') @section('page-title', 'Dashboard') @section('page-subtitle', 'Ringkasan aktivitas dan statistik') @section('content')

Total Berita

{{ $stats['total_news'] }}

Berita Published

{{ $stats['published_news'] }}

Total Pengumuman

{{ $stats['total_announcements'] }}

Pengumuman Published

{{ $stats['published_announcements'] }}

Berita Terbaru

@if($recentNews->count() > 0)
@foreach($recentNews as $news)
@if($news->image) {{ $news->title }} @else
@endif

{{ $news->title }}

{{ $news->created_at->diffForHumans() }}

@if($news->is_published) Published @else Draft @endif
@endforeach
@else

Belum ada berita

Mulai buat berita pertama Anda.

@endif

Pengumuman Terbaru

@if($recentAnnouncements->count() > 0)
@foreach($recentAnnouncements as $announcement)

{{ $announcement->title }}

{{ $announcement->created_at->diffForHumans() }}

@if($announcement->is_published) Published @else Draft @endif
@endforeach
@else

Belum ada pengumuman

Mulai buat pengumuman pertama Anda.

@endif

Aksi Cepat

Buat Berita Baru
Tambahkan berita terbaru
Buat Pengumuman
Informasi penting untuk mahasiswa
Kelola Profil
Update informasi program studi
@endsection