@php $headline = $content['headline'] ?? ''; $sub = $content['subheadline'] ?? ''; // Prefer the dedicated `feature_items` key (new distinct state path); // fall back to the legacy shared `items` key for sections saved // before the repeater-collision fix / not yet data-migrated. $items = $content['feature_items'] ?? $content['items'] ?? []; $iconSvg = function ($key) { return match ($key) { 'bolt' => '', 'chart' => '', 'inbox' => '', 'sparkles' => '', 'globe' => '', 'tag' => '', 'chat' => '', 'check' => '', default => '', }; }; @endphp
@if($headline)

{{ $headline }}

@endif @if($sub)

{{ $sub }}

@endif
@foreach($items as $item)
{!! $iconSvg($item['icon'] ?? '') !!}

{{ $item['title'] ?? '' }}

{{ $item['body'] ?? '' }}

@endforeach