@php $takeaways = $lines($data['takeaways'] ?? ''); $quote = trim((string) ($data['quote_text'] ?? ''), " \"“”"); $author = (string) ($data['quote_author'] ?? ''); @endphp
@include('builder.partials.head', ['centered' => true, 'linkUrl' => null, 'linkText' => null]) @if(filled($data['body'] ?? null))
{!! $data['body'] !!}
@endif
@if($quote !== '' || count($takeaways))
@if($quote !== '')

"{{ $quote }}"

@if($author !== '')
{{ strtoupper(mb_substr($author, 0, 1)) }}
{{ $author }} @if(filled($data['quote_role'] ?? null))

{{ $data['quote_role'] }}

@endif
@endif
@endif @if(count($takeaways))

{{ ($data['takeaways_title'] ?? '') ?: 'Key takeaways' }}

    @foreach($takeaways as $takeaway)
  • {{ $takeaway }}
  • @endforeach
@endif
@endif