$imagePosition === 'left'])>
@if ($eyebrow)
{{ $eyebrow }}
@endif
{{ $heading }}
@if ($text)
{{ $text }}
@endif
@if ($linkLabel && $linkUrl)
{{ $linkLabel }}
@endif
@if ($photos->isNotEmpty())
$imagePosition === 'left'])>
@foreach ($photos as $index => $photo)
@include('theme::partials.image', [
'photo' => $photo,
'sizes' => $index === 0 ? '(min-width: 1024px) 40vw, 100vw' : '(min-width: 1024px) 20vw, 50vw',
'class' => match (true) {
$photos->count() === 1 => 'col-span-5 h-80 w-full rounded object-cover sm:h-[30rem]',
$index === 0 => 'col-span-3 row-span-2 h-80 w-full rounded object-cover sm:h-[30rem]',
default => 'col-span-2 h-[9.6rem] w-full rounded object-cover sm:h-[14.5rem]',
},
])
@endforeach
@endif