@extends('web.layouts.app') @section('content')

{{ $news->title }}

{{ $news->description }}

avatar
{{ $news->author->name ?? 'Admin' }}

{{ $news->description ?? 'Super Admin' }}

{{ __('Comments') }} ({{ $news->comments->count() }})

@forelse ($news->comments as $comment)
avatar-image
{{ $comment->title ?? '-' }}
Submitted {{ $comment->created_at->diffForHumans() }} by {{ $comment->author_name ?? 'Anonymous' }}

{{ $comment->message }}

@empty

{{ __('No comments yet') }}

@endforelse

{{ __('Post Comment') }}

{{ __('Required fields are marked') }}

@csrf

{{ __('Recent Blog') }}

@foreach($recentNews as $news)
post-image
{{ $news->title }}
{{ \Carbon\Carbon::parse($news->published_at)->format('d M Y') }}
@endforeach
@endsection