@php $categories = get_property_categories(['indent' => '↳', 'conditions' => ['status' => \Botble\Base\Enums\BaseStatusEnum::PUBLISHED]]); $backgroundImage = $shortcode->background_image ?: theme_option('home_banner'); $enableProjectsSearch = $shortcode->enable_search_projects_on_homepage_search ? $shortcode->enable_search_projects_on_homepage_search == 'yes' : theme_option('enable_search_projects_on_homepage_search', 'yes') == 'yes'; $defaultSearchType = $shortcode->default_home_search_type ?: theme_option('default_home_search_type', 'project'); $tabs = []; $quantity = min((int) $shortcode->quantity, 20); if ($quantity) { for ($i = 1; $i <= $quantity; $i++) { $tabs[] = RvMedia::getImageUrl($shortcode->{'image_' . $i}); } } $seconds = (int) $shortcode->seconds ?: 5; $enableChangeBackground = $shortcode->enable_change_image_background ?: 'no'; @endphp
@if (theme_option('home_banner_description'))

{{ $shortcode->title ?: theme_option('home_banner_description') }}

@endif
@if ($enableProjectsSearch) {{ __('Projects') }} @endif {{ __('Sale') }} {{ __('Rent') }}
{!! apply_filters( 'main_search_box_filters', Theme::partial('real-estate.filters.search-box-filters', compact('categories', 'enableProjectsSearch')), compact('categories', 'enableProjectsSearch'), ) !!}