{{-- Wasoria Pilot — Dashboard laptop-frame section --}} {{-- Scroll-pinned slideshow: GSAP ScrollTrigger pins on desktop, stacked on mobile --}} {{-- Desktop: screenshots slide inside a laptop frame, a stepper below follows the scroll --}} @php $screens = __('products.wasoria_pilot.dashboards.screens'); $screenImages = ['pilot_screen_cameras.png', 'pilot_screen_charts.png', 'pilot_screen_flow.png']; @endphp
{{-- Outer pin-trigger container — GSAP pins this div on desktop --}}
{{-- Width capped so the laptop and the stepper fit in the viewport height while pinned --}}
{{-- Laptop: lid (metal edge + bezel + screen) and base — frame styles only on desktop --}}
{{-- Screen: aspect-video + overflow-hidden only on desktop --}}
{{-- Track: absolutely positioned on desktop, normal flow on mobile --}}
@foreach($screenImages as $index => $screen) @php $media = responsive_image('images/product/' . $screen); @endphp
{{ $screens[$index]['image_alt'] ?? $screens[$index]['title'] ?? '' }}

{{ $screens[$index]['title'] ?? '' }}

{{ $screens[$index]['description'] ?? '' }}

@endforeach
{{-- Glass reflection --}}
{{-- Base, wider than the lid, with the opening notch --}} {{-- Floor shadow --}}
{{-- Stepper: titles of the screens, progress bars follow the scroll --}}