← {{ __('Back to News') }}
@if ($news->categories && $news->categories->count() > 0)
@foreach ($news->categories as $category) {{ $category->getTranslation('name', app()->getLocale()) }} @endforeach
@endif

{{ $news->getTranslation('title', app()->getLocale()) }}

{{ __('Published on') }} {{ $news->published_at->format('F d, Y') }} {{ __('By') }} {{ $news->author->name }} {{ $news->views }} {{ __('views') }}
{{-- {{ $news->getTranslation('title', app()->getLocale()) }} --}}
{!! $news->getTranslation('content', app()->getLocale()) !!}
@php $slideshowImages = []; foreach ($news->galleries ?? [] as $gallery) { if ($gallery->images && is_array($gallery->images)) { $galleryTitle = $gallery->getTranslation('title', app()->getLocale()) ?: __('Gallery'); foreach ($gallery->images as $img) { if (!empty($img) && Storage::disk('public')->exists($img)) { $slideshowImages[] = [ 'url' => Storage::disk('public')->url($img), 'alt' => $galleryTitle, 'galleryTitle' => $galleryTitle, 'galleryDescription' => $gallery->getTranslation( 'description', app()->getLocale(), ), ]; } } } } @endphp @if (count($slideshowImages) > 0)

{{ __('Photo Galleries') }}

@if (count($slideshowImages) > 1)
@endif
@endif @if ($relatedNews->count() > 0)

{{ __('Related News') }}

@foreach ($relatedNews as $item) @endforeach
@endif
@if ($relatedNews->count() > 0) @endif