@php
// Switched off in Admin -> Pages: the hero does not draw.
if (!section_on('hero-order-builder')) { return; }
/**
* Page hero for /order-builder — the drag-&-drop teaser that introduces the real
* builder sitting directly below it.
*
* Same .qm-hero shell every homepage hero uses, minus the .qm-heroslider carousel
* chrome (this is a single panel, not a deck). Because it is the page's own hero
* the headline is the page
, so it takes the shared .qm-hero h1 ramp rather
* than the .qm-hero-headline class the promo *slides* need for their s.
*
* The plate is driven by js/hero-plate.js, which self-guards on #qm-hx-chips.
*
* The homepage separates this hero from the food-type strip with mt-4, because
* there the strip sits above it. Here the strip sits below, so the same 24px
* separator is mirrored onto the bottom edge — same relationship, same value.
*
* @var array $hxDishes the first four dishes of the builder's own payload, so the
* teaser shows real menu items at their real prices. Each row
* carries 'name', 'price' and an already-resolved 'image'.
*/
$hxDishes = collect($hxDishes ?? [])->all(); // accepts an array or a collection
@endphp