@extends('layouts.site') @section('meta_title') {{ brand_name() }} — {{ site_profile()->label('hero_title', __('site.hero_home_title')) }} @endsection @section('title', __('site.nav_home')) @push('meta') @endpush @php $useCchpNewsStage = brand_slider_variant() === 'cchp' && site_profile()->shows('news') && site_feature_enabled('news'); $heroPreloadUrl = null; $heroPreloadSrcset = null; $heroPreloadSizes = null; if ($useCchpNewsStage) { $firstFeatured = collect($featuredNews ?? [])->first(); if ($firstFeatured) { $heroPreloadUrl = site_media_url($firstFeatured->image ?? null); } } else { $heroPreload = collect($bannerGroups['home_top'] ?? []) ->first(fn ($row) => filled($row['image_url'] ?? null)); $heroPreloadUrl = is_array($heroPreload) ? ($heroPreload['image_url'] ?? null) : null; $heroPreloadSrcset = is_array($heroPreload) ? ($heroPreload['srcset'] ?? null) : null; $heroPreloadSizes = is_array($heroPreload) ? ($heroPreload['sizes'] ?? null) : null; } @endphp @push('head') @if ($heroPreloadUrl) @endif @endpush @section('content') @if ($useCchpNewsStage) @else @endif @if (site_profile()->shows('trust_strip')) @endif @if (site_shows_services() && $servicesHighlight->isNotEmpty())

{{ __('site.section_services') }}

{{ __('site.view_all') }}
    @foreach ($servicesHighlight as $service) @endforeach
@endif @if (site_profile()->shows('brands')) @endif @if (site_profile()->shows('specialty_grid')) @endif @if (site_profile()->shows('gallery')) @endif @if (site_shows_products()) @if ($featuredProducts->isNotEmpty())

{{ __('site.section_products') }}

{{ __('site.view_all') }}
@foreach ($featuredProducts as $product) @endforeach
@endif @endif @if (site_profile()->shows('articles')) @feature('articles_blog')

{{ __('site.section_blog') }}

{{ __('site.view_all') }}
@if ($articles->isEmpty())

{{ __('site.empty_articles') }}

@else
    @foreach ($articles as $article) @endforeach
@endif
@endfeature @endif @if (site_profile()->shows('news')) @feature('news')

{{ __('site.section_news') }}

{{ __('site.view_all') }}
@if ($newsItems->isEmpty())

{{ __('site.empty_news') }}

@else
    @foreach ($newsItems as $newsItem) @endforeach
@endif
@endfeature @endif @if (site_profile()->shows('activities')) @feature('activities')

{{ __('site.section_activities') }}

{{ __('site.view_all') }}
@if (($activities ?? collect())->isEmpty())

{{ __('site.empty_activities') }}

@else
    @foreach ($activities as $activityItem) @endforeach
@endif
@endfeature @endif @if (site_profile()->shows('repair_process')) @endif @endsection