@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;" : ''; $pathColor = array_key_exists('pathColor', $data) && $data['pathColor'] ? "color: {$data['pathColor']} !important;" : ''; $link_color = array_key_exists('link_color', $data) && $data['link_color'] ? "color: {$data['link_color']} !important;" : ''; $buttonColor = array_key_exists('button_text_color', $data) && $data['button_text_color'] ? "color: {$data['button_text_color']} !important;" : ''; $buttonBgColor = array_key_exists('button_bg_color', $data) && $data['button_bg_color'] ? "background-color: {$data['button_bg_color']} !important;" : ''; $data = theme_setting('homepage.testimonials'); @endphp @if (array_key_exists('display', $data) && $data['display'])
@php $col_width = 'col-lg-12'; if ($data['testimonials_count'] == 3) { $col_width = 'col-lg-4'; } elseif ($data['testimonials_count'] == 2) { $col_width = 'col-lg-6'; } @endphp
@endif