@extends('layouts.app') @section('title', $newsEvent->title) @section('content')
@if($newsEvent->image) {{ $newsEvent->title }} @endif

{{ $newsEvent->title }}

{{ $newsEvent->author }} {{ $newsEvent->published_at->format('F j, Y') }}
@if($newsEvent->excerpt)
{{ $newsEvent->excerpt }}
@endif
{!! $newsEvent->content !!}
{{-- Image Gallery --}} @if($newsEvent->additional_images && count($newsEvent->additional_images) > 0)

Image Gallery

@foreach($newsEvent->additional_images as $imageUrl) @php $directUrl = \App\Helpers\GoogleDriveHelper::isGoogleDriveUrl($imageUrl) ? \App\Helpers\GoogleDriveHelper::getDirectUrl($imageUrl) : $imageUrl; @endphp
Gallery Image
@endforeach
@endif
@endsection