@php $items = $block->rows('items'); $style = $s['style'] ?? 'cream'; $sectionClass = match ($style) { 'sand' => 'section-tight bg-sand', 'white' => 'section-tight bg-white', 'dark' => 'section-tight bg-ink', default => 'section-tight', }; @endphp @if ($items !== [])
@if (filled($block->text('title')) || filled($block->text('eyebrow'))) @include('pages.blocks.partials.head', [ 'eyebrow' => $block->text('eyebrow'), 'title' => $block->text('title'), 'linkLabel' => '', ]) @endif
@foreach ($items as $item) @php($icon = (string) ($item['icon'] ?? 'sparkle'))
@switch($icon) @case('shipping') @break @case('shield') @break @case('chat') @break @case('star') @break @case('gift') @break @default @endswitch
{{ $block->rowText($item, 'title') }} {{ $block->rowText($item, 'text') }}
@endforeach
@endif