@extends('front.layout.app')
@section('content')
@php $settingArr = settingArr(); @endphp
@php echo cms_edit_page('cms',$data->id);@endphp
{!! cms_page_heading($data->heading) !!}
@if (!empty($data->featured_img))
@if($data->cms_module_id == 57)
{!! showFeaturedMedia($data->featured_img, 'module/company-news', '100%', 'auto', $data->featured_img_title, $data->featured_img_alt, ['class' => 'thumbnail', 'style' => 'width: 100%;']) !!}
@else
 . 'module/cms/' . $data->featured_img }})
@endif
@endif
@php echo adjustUrl($data->content) @endphp
@if (isset($cmsModuleDataImages) && count($cmsModuleDataImages) > 0)
@foreach ($cmsModuleDataImages as $image)
@if ($image->isBeforeAfterHaveTwoImages == 0)
{{ $image->image_title }}
@else
@endif
@endforeach
@endif
@if (isset($cmsModuleVideos) && count($cmsModuleVideos) > 0)
@foreach ($cmsModuleVideos as $videoObj)
@endforeach
@endif
@endsection
@section('beforeHeadClose')
@endsection
@section('beforeBodyClose')