@php $image = $url($data['image'] ?? null); $alt = ($data['image_alt'] ?? '') ?: ($pageTitle ?? ''); $items = $lines($data['items'] ?? ''); $tags = $lines($data['tags'] ?? ''); $hasCallout = count($tags) || filled($data['callout_title'] ?? null); $order = ($data['image_side'] ?? 'left') === 'right' ? ['copy', 'media'] : ['media', 'copy']; @endphp
! empty($data['centered'])])> @foreach($order as $column) @if($column === 'media')
@if($hasCallout)
@if(filled($data['callout_eyebrow'] ?? null))

{{ $data['callout_eyebrow'] }}

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

{{ $data['callout_title'] }}

@endif @if(count($tags))
    @foreach($tags as $tag)
  • {{ $tag }}
  • @endforeach
@endif
@endif @if($image !== '')
$hasCallout])> {{ $alt }} @if(filled($data['image_caption'] ?? null))
{{ $data['image_caption'] }}
@endif
@endif
@else
@if(filled($data['kicker'] ?? null))

{{ $data['kicker'] }}

@endif @if(filled($data['body'] ?? null))
filled($data['kicker'] ?? null)])>{!! $data['body'] !!}
@endif @if(filled($data['list_title'] ?? null))

{{ $data['list_title'] }}

@endif @if(count($items)) @if(($data['list_style'] ?? 'rail') === 'checklist')
    @foreach($items as $item)
  • {{ $item }}
  • @endforeach
@else
    @foreach($items as $i => $item)
  1. {{ str_pad((string) ($i + 1), 2, '0', STR_PAD_LEFT) }} {{ $item }}
  2. @endforeach
@endif @endif
@endif @endforeach