@php $statements = $lines($data['statements'] ?? ''); $tags = $lines($data['tags'] ?? ''); $rightTags = $lines($data['right_tags'] ?? ''); $rightItems = array_values(array_filter($data['right_items'] ?? [], fn ($i) => filled($i['title'] ?? null) || filled($i['text'] ?? null))); $calloutItems = $lines($data['callout_items'] ?? ''); $hasRightHead = filled($data['right_title'] ?? null) || filled($data['right_kicker'] ?? null); $hasCallout = filled($data['callout_title'] ?? null) || filled($data['callout_eyebrow'] ?? null) || filled($data['callout_body'] ?? null); $check = ($data['mark'] ?? 'number') === 'check'; @endphp
@include('builder.partials.head', ['data' => ['kicker' => $data['kicker'] ?? '', 'title' => $data['title'] ?? ''], 'centered' => false, 'linkUrl' => null, 'linkText' => null]) @if(count($statements))
    @foreach($statements as $i => $statement)
  • {{ $statement }}
  • @endforeach
@endif @if(count($tags)) @if(filled($data['tags_title'] ?? null))

{{ $data['tags_title'] }}

@endif
    @foreach($tags as $tag)
  • {{ $tag }}
  • @endforeach
@endif
@if($hasRightHead) @endif @if(count($rightTags))
    @foreach($rightTags as $tag)
  • {{ $tag }}
  • @endforeach
@endif @if(count($rightItems))
    @foreach($rightItems as $item)
  • {{ $item['title'] ?? '' }} {{ $item['text'] ?? '' }}
  • @endforeach
@endif @if($hasCallout)
$hasRightHead || count($rightTags) || count($rightItems)])> @if(filled($data['callout_eyebrow'] ?? null))

{{ $data['callout_eyebrow'] }}

@endif @if(filled($data['callout_title'] ?? null))

{{ $data['callout_title'] }}

@endif @if(filled($data['callout_body'] ?? null))

{{ $data['callout_body'] }}

@endif @if(count($calloutItems))
    @foreach($calloutItems as $item)
  • {{ $item }}
  • @endforeach
@endif @if(filled($data['callout_link_text'] ?? null)) {{ $data['callout_link_text'] }} @endif
@endif