@extends('front.layouts.app') @section('content') {{--

{{ \App\Helpers\TranslationHelper::translate('This content will be available soon') }}

--}} {{-- @php $locale = app()->getLocale(); @endphp

{{ setting('title_charitableWork', $locale) }}

@foreach($charitableWorks as $charitableWork) @php $videoUrl = $charitableWork->getFirstMediaUrl('charitableWork_video_one_' . $locale); @endphp @if ($videoUrl)
@endif @endforeach
--}} @php $locale = app()->getLocale(); @endphp

{{ setting('title_charitableWork', $locale) }}

@foreach($charitableWorks as $charitableWork) @php $videoUrl = $charitableWork->getFirstMediaUrl('charitableWork_video_one_' . $locale); $imageUrl = $charitableWork->getFirstMediaUrl('_image'); $description = $charitableWork->getTranslation('description', $locale); @endphp
{{--
@if($imageUrl) Charitable Work Image @else
@endif
@if($videoUrl) @else
@endif
--}}
@if($imageUrl)
Charitable Work Image
@endif @if($videoUrl)
@endif
@if($description)

{!! $description !!}

@endif
@endforeach
{{--

{{(setting('title_charitableWork', 'en')) }}

@foreach($charitableWorks as $charitableWork)
@endforeach
--}} @endsection @push('js') {{-- --}} @endpush