@extends('layouts.admin') @section('title', __('News Management')) @section('content')

{{ __('News Management') }}

{{ __('Manage your news articles and content') }}

{{ __('Add New Article') }}
{{ __('Total News') }}
{{ $stats['total'] }}
{{ __('Published News') }}
{{ $stats['published'] }}
{{ __('Draft News') }}
{{ $stats['draft'] }}
{{ __('Featured News') }}
{{ $stats['featured'] }}
{{ __('Recent Activity') }}
{{ __('View All') }}
@if($recentNews->count() > 0)
@foreach($recentNews as $news)
@if($news->featured_image) @else
@endif
{{ Str::limit($news->title, 50) }} @if($news->is_featured) @endif

{{ __('By') }} {{ $news->author->full_name ?? 'Unknown' }} • {{ __('Category') }}: {{ $news->category->name ?? 'Uncategorized' }} • {{ $news->created_at->diffForHumans() }}

{{ ucfirst($news->status) }}
@endforeach
@else
{{ __('No news articles yet') }}

{{ __('Start by creating your first news article.') }}

{{ __('Create First Article') }}
@endif
@endsection