Galeria
@foreach ($case->images as $image)
@php
$isFeature = $loop->first;
$isOffset = ! $isFeature && $loop->even;
@endphp
$isFeature,
'md:col-span-5 md:col-start-8 md:pt-12' => $isOffset,
'md:col-span-5' => ! $isFeature && ! $isOffset,
])
data-editorial-gallery-item="{{ $isFeature ? 'feature' : ($isOffset ? 'offset' : 'standard') }}"
data-reveal
data-reveal-from="up"
data-reveal-media
>
$isFeature,
'aspect-[4/5]' => $isOffset,
'aspect-[4/3]' => ! $isFeature && ! $isOffset,
])
/>
@if (filled($image->caption))
{{ $image->caption }}
@endif
@endforeach