@extends('layouts.admin') @section('title', 'Content Management') @section('page-title', 'Content Management') @section('page-subtitle', 'Manage blog posts and news articles') @section('content')

📝 Content Management

Manage blog posts, news, highlights, and announcements

@if($posts->count() > 0)
@foreach($posts as $post) @endforeach
Title Type Status Author Published Views Actions
{{ $post->title }} @if($post->featured_image) 📷 @endif
{{ ucfirst($post->type) }} {{ ucfirst($post->status) }} {{ $post->author->username }} @if($post->published_at) {{ $post->published_at->format('M j, Y') }} @else Not published @endif {{ number_format($post->views) }}
View Edit @if($post->status === 'published') Public @endif
@csrf @method('DELETE')
{{ $posts->appends(request()->query())->links() }}
@else
📝

No posts found

Start creating content to engage your community!

Create First Post
@endif
@endsection