@php // Switched off in Admin -> Pages: the band does not draw, on any layout that includes it. /* The band is drawn on more than one page now, and each page owns its own switch and its own words. Everything below falls back to the homepage's copy, so the homepage include is unchanged by this and keeps working exactly as it did. */ $sectionId = $sectionId ?? 'cta'; if (!section_on($sectionId)) { return; } // This IS the partner-recruitment band. Where the business model has no partners // to recruit (my own restaurants), a pitch whose button is gated away is dead // weight — the whole band follows the capability the button already answered to. if (!partner_page_open()) { return; } /** * Partner call-to-action. Built exactly like the drone teaser + stat counters: a photo * band sits at the back (z1) and the CTA card is its OWN section floating in front of * it (z2), pulled up so it straddles the photo's bottom edge, centred like .qm-stats. * The photo drifts on scroll via the shared parallax module in js/app.js; with no JS it * simply sits as a static cover. */ // The backdrop is the operator's, like the words over it; blank drops the photo band and leaves // the message on its own. $ctaImage = trim($ctaImage ?? t_raw('home.cta.image')); $ctaTitle = trim($ctaTitle ?? t_raw('home.cta.title')); $ctaSub = trim($ctaSub ?? t_raw('home.cta.sub', [':site' => setting('site_name', 'QuickMunch')])); $ctaBtn = trim($ctaBtn ?? t_raw('home.cta.btn')); $ctaBtnUrlKey = $ctaBtnUrlKey ?? 'home.cta.btn_url'; @endphp @if ($ctaImage !== '')
@endif

{{ $ctaTitle }}

{{ $ctaSub }}

@if ($ctaBtn !== ''){{ $ctaBtn }}@endif