@php /** * "Own a Restaurant? Become a Partner" — the same promo the homepage carries as its final hero * slide, drawn here as a standalone band. * * It is a COPY, not a move: the homepage slide is untouched and still its own. The words are this * page's own too (about.partner_*), for the reason recorded on the values cards above — two of * those used to borrow home.features.*, so they had no field on this page's editor and a homepage * edit silently rewrote About. Nothing here reads a home.* key. * * Markup is the hero slide's, minus the slider chrome (roles, aria-labels and the active/hidden * state), because a single band is not a carousel and must not announce itself as one. */ $pEyebrow = trim(t_raw('about.partner_eyebrow')); $pTitlePre = trim(t_raw('about.partner_title_pre')); $pTitleHl = trim(t_raw('about.partner_title_hl')); $pSub = trim(t_raw('about.partner_sub')); // Nothing written at all is the operator taking the band off the page. if ($pEyebrow === '' && $pTitlePre === '' && $pTitleHl === '' && $pSub === '') { return; } $pCta = trim(t_raw('about.partner_cta')); $pCtaIcon = trim(t_raw('about.partner_cta_icon')); $pLearn = trim(t_raw('about.partner_learn')); $pLearnIcon = trim(t_raw('about.partner_learn_icon')); $pCtaOn = $pCta !== '' && vendor_signup_open(); $trust = []; foreach (['orders', 'dashboard', 'fees'] as $t) { $label = trim(t_raw('about.partner_trust_' . $t)); if ($label !== '') { $trust[] = [trim(t_raw('about.partner_trust_' . $t . '_icon')), $label]; } } @endphp
@if ($pEyebrow !== '') @php $g = trim(t_raw('about.partner_eyebrow_icon')); @endphp @if ($g !== ''){!! icon_html($g, '') !!} @endif{{ $pEyebrow }} @endif @if ($pTitlePre !== '' || $pTitleHl !== '')

{{ $pTitlePre }}@if ($pTitleHl !== '') {{ $pTitleHl }}@endif

@endif @if ($pSub !== '')

{{ $pSub }}

@endif @if ($pCtaOn || $pLearn !== '') @endif @if ($trust)
@foreach ($trust as [$icon, $label]) @if ($icon !== ''){!! icon_html($icon, '') !!} @endif{{ $label }} @endforeach
@endif
@php $c1 = trim(t_raw('about.partner_chip_customers')); @endphp @if ($c1 !== '') @php $g = trim(t_raw('about.partner_chip_customers_icon')); @endphp @if ($g !== ''){!! icon_html($g, '') !!} @endif{{ $c1 }} @endif @php $c2 = trim(t_raw('about.partner_chip_setup')); @endphp @if ($c2 !== '') @php $g = trim(t_raw('about.partner_chip_setup_icon')); @endphp @if ($g !== ''){!! icon_html($g, '') !!} @endif{{ $c2 }} @endif