@extends('layouts.app') @section('title', 'Portal Berita Desa') @section('content')
Informasi Terkini

Portal Berita Desa

Menyajikan informasi terbaru tentang peristiwa, berita terkini, dan artikel dari Desa Cemara

@if($banners->count() > 0)
@if($banners->count() > 1)
@foreach ($banners as $banner) @endforeach
@endif
@endif @if($featureds->count() > 0)

Berita Unggulan

Berita pilihan yang sedang hangat dibicarakan

@endif

Semua Berita

Temukan informasi terbaru seputar desa

@if($categories->count() > 0)
Semua @foreach ($categories as $cat) {{ $cat->title }} @endforeach
@endif
@if($news->count() > 0) @if($news->hasPages())
{{ $news->withQueryString()->links('vendor.pagination.tailwind') }}
@endif @else

Belum Ada Berita

Belum ada berita yang tersedia saat ini. Silakan kunjungi kembali nanti.

@endif
@php $totalViews = \App\Models\News::sum('views'); $totalCategories = \App\Models\NewsCategory::count(); $totalNews = \App\Models\News::count(); @endphp
{{ $totalNews }}
Total Berita
{{ $totalCategories }}
Kategori Berita
{{ number_format($totalViews) }}
Total Tayangan

Lokasi Desa Cemara

Temukan lokasi pasti Desa Cemara di bawah ini

@endsection