@php // Switched off in Admin -> Pages: the band does not draw, on any layout that includes it. if (!section_on('featured')) { return; } /** * Featured / hand-picked restaurants grid. * @var array $featured restaurant rows * @var string $cols Bootstrap column classes per card (default 3-up on lg) */ $featured = collect($featured ?? [])->all(); // accepts an array or a collection if (empty($featured)) { echo partial('sections/band-empty', ['eyebrow' => t('home.featured_eyebrow'), 'title' => t('home.featured'), 'icon' => 'fa-store', 'msg' => t('home.empty_restaurants')]); return; } $cols = $cols ?? 'col-lg-4 col-md-6'; @endphp
{{ t_raw('home.featured_eyebrow') }}

{{ t_raw('home.featured') }}

{{ t_raw('home.featured_sub') }}

{{ t_raw('common.view_all') }}
@foreach ($featured as $r)
@partial('cards/restaurant', ['r' => $r])
@endforeach