@php use Botble\Base\Facades\BaseHelper; use Botble\Media\Facades\RvMedia; /** * Mirrors html/home-cosmetic.html `section-lookbook-hover` (line 1858): * - LEFT col-lg-6: heading + 2-up product carousel (one slide per hotspot) + CTA * - RIGHT col-lg-6: banner image with one pin overlay positioned via first hotspot * * Demo uses `flex-wrap-reverse` so on mobile the banner stacks above the carousel. */ $bannerImage = $shortcode->image ?? null; $items = array_values($hotspots); $title = trim((string) ($shortcode->title ?? '')); $subtitle = trim((string) ($shortcode->subtitle ?? '')); $btnText = trim((string) ($shortcode->button_text ?? '')); $btnUrl = trim((string) ($shortcode->button_url ?? '')); $pinX = isset($items[0]) ? $items[0]['x'] : 50; $pinY = isset($items[0]) ? $items[0]['y'] : 50; @endphp
{!! BaseHelper::clean($subtitle) !!}
@endif