@php $image1 = $shortcode->image ?? null; $image2 = $shortcode->image_2 ?? null; $columns = [ 1 => array_values(array_filter($hotspots, fn ($h) => ($h['column'] ?? 1) === 1)), 2 => array_values(array_filter($hotspots, fn ($h) => ($h['column'] ?? 1) === 2)), ]; // Mini-list (optional, home-jewelry §10): when miniListProducts is non-empty, render // col-xl-8 lookbook (existing 2-banner layout) + col-xl-4 mini-list (heading + carousel). // Otherwise keep current full-width 2-col lookbook layout. $hasMiniList = isset($miniListProducts) && $miniListProducts->isNotEmpty(); $miniListTitle = trim((string) ($shortcode->mini_list_title ?? '')); $miniListSubtitle = trim((string) ($shortcode->mini_list_subtitle ?? '')); // `wide` (default no) — the no-mini-list branch normally sits in a centered // `container`. HomeSport's demo §7 (html/home-sport.html line 2421) uses a // near-full-width `px-20` wrapper instead; opt in without affecting the // container-based variants (HomeConstruct, HomeOffice). $noMiniListWrapper = ($shortcode->wide ?? 'no') === 'yes' ? 'px-20' : 'container'; @endphp @if ($hasMiniList) {{-- Composite layout: lookbook LEFT (col-xl-8) + mini-list RIGHT (col-xl-4). --}}
{!! BaseHelper::clean($miniListSubtitle) !!}
@endif{!! BaseHelper::clean($shortcode->subtitle) !!}
@endif