@php $hasImage = isset($model) && $model->image; $getImage = $hasImage ? $model->imageUrl : ''; $getMobileImage = $hasImage ? $model->imageUrl : ''; $textColor = array_key_exists('text_color', $data) && $data['text_color'] ? "color: {$data['text_color']} !important;" : ''; $titleColor = array_key_exists('title_color', $data) && $data['title_color'] ? "color: {$data['title_color']} !important;" : ''; $buttonColor1 = array_key_exists('button_text_color', $data) && $data['button_text_color'] ? "color: {$data['button_text_color']} !important;" : ''; $buttonColor = array_key_exists('button_text_color1', $data) && $data['button_text_color1'] ? "color: {$data['button_text_color1']} !important;" : ''; $buttonBgColor = array_key_exists('button_bg_color', $data) && $data['button_bg_color'] ? "background-color: {$data['button_bg_color']} !important;" : ''; $buttonBgColor1 = array_key_exists('button_bg_color1', $data) && $data['button_bg_color1'] ? "background-color: {$data['button_bg_color1']} !important;" : ''; @endphp @if (array_key_exists('display', $data) && $data['display'])

{{ $data['section_title'][app()->getLocale()] ?? '' }}

{{ $data['section_description'][app()->getLocale()] ?? '' }}

icon code
@php $button_type = isset($data['link1']) ? $data['link1']['type'] : ''; @endphp @php $button_type = isset($data['link2']) ? $data['link2']['type'] : ''; @endphp
mobile
@endif