@php $rotations = ['-rotate-1', 'rotate-[1.5deg]', '-rotate-[1.5deg]', 'rotate-1']; $startIndex = $startIndex ?? 0; @endphp @foreach ($randomBands as $index => $band) @php $rot = $rotations[($startIndex + $index) % count($rotations)]; @endphp @if ($firstImage = $band->firstImage()) {{ $firstImage->altText($band->name) }} @else
{{ substr($band->name, 0, 1) }}
@endif

{{ $band->name }}

@endforeach