{{-- Homepage Solutions Section (StickyScrollSolutions) — Left sticky title + right 2×2 grid --}} @php $solutionCards = __('home.solutions_section.cards'); // Media and detail page of each card, in card order. Eyebrow and link come from the // navigation config (config/menu.php): pages missing in this locale lose their link. $solutionMedia = [ [ 'image' => 'images/solutions/detections_petc.webp', 'width' => 1296, 'height' => 1080, 'route' => 'solutions.waste-characterization', ], [ 'image' => 'images/optimisation.webp', 'width' => 1200, 'height' => 1000, 'route' => 'solutions.performance-optimization', ], [ 'image' => 'images/by_pass.webp', 'width' => 585, 'height' => 567, 'route' => 'solutions.dangerous-objects-management', ], [ 'image' => 'images/incendie.webp', 'width' => 750, 'height' => 562, 'route' => 'use-cases.fire-prevention', ], ]; $menuPages = collect(menu_data())->flatMap(fn ($group) => $group['items'] ?? [])->keyBy('route'); @endphp
{{-- Left column — Sticky title --}}
{{-- Right column — 2×2 solution cards grid --}}
@foreach($solutionCards as $index => $card) @php $media = $solutionMedia[$index]; $page = $menuPages->get($media['route']); $image = responsive_image($media['image']); @endphp
{{ $card['image_alt'] }}
@endforeach
{{-- Mobile CTA (visible only on mobile, hidden on lg+) --}}
{{ __('home.solutions_section.cta') }}