@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;" : ''; $sub_description_color = array_key_exists('sub_description_color', $data) && $data['sub_description_color'] ? "color: {$data['sub_description_color']} !important;" : ''; $sub_title_color = array_key_exists('sub_title_color', $data) && $data['sub_title_color'] ? "color: {$data['sub_title_color']} !important;" : ''; $price_color = array_key_exists('price_color', $data) && $data['price_color'] ? "color: {$data['price_color']} !important;" : ''; $after_discount_color = array_key_exists('after_discount_color', $data) && $data['after_discount_color'] ? "color: {$data['after_discount_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;" : ''; $footer_setting = theme_setting('homepage.open_calculator'); if(!$footer_setting) $footer_setting = array(); @endphp @if (array_key_exists('display', $footer_setting) && array_key_exists('count', $footer_setting) && $footer_setting['display'])

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

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

@php $col_width = 'col-lg-12'; if($footer_setting['count'] == 3) { $col_width = 'col-lg-4'; }elseif($footer_setting['count'] == 2) { $col_width = 'col-lg-6'; } @endphp
@endif