@php $is_video = false; $file = $values['side_image']['image']; $explode_file = explode('.', $file); $extension = strtolower(end($explode_file)); if (in_array($extension, ['mp4', 'webm'])) { $is_video = true; } @endphp @php $data_animation = ''; if ($animation != '') { $data_animation = "data-aos=$animation data-aos-delay=233"; } $image_class = ''; $video_class = ''; $setting = $values['side_image']['image_setting'] ?? ''; if ($setting == 'full_height_image') { $image_class = 'h-100'; $video_class = 'h-auto mh-auto'; } else { $image_class = 'h-auto'; $video_class = 'h-auto mh-auto'; } @endphp
@if (($values['heading']['text'] ?? '') != '')
{!! Utils::parse_tinymce($values['heading']['text']) !!}
@endif
@if ($values['content']['title'] ?? '' != '')

{{ $values['content']['title'] }}

@endif
{!! Utils::parse_tinymce($values['content']['brief']) !!}
@if (!$is_video) @else @endif