@php /** * TV menu preview chooser — opens each style preset full-screen. * @var array $presets key => config-with-label * @var string $slug the restaurant slug to preview */ @endphp {{ t_raw('tv.preview.title') }}

{{ t_raw('tv.preview.title') }}

{!! t_raw('tv.preview.lead', [':restaurant' => '' . e($slug) . '']) !!}

@foreach ($presets as $key => $p) @php $cfg = $p['config'] ?? []; $cols = $cfg['columns'] ?? []; @endphp

{{ $p['label'] }}

{!! count($cols) === 1 ? t('tv.preview.columns_one', [':n' => 1]) : t('tv.preview.columns_many', [':n' => count($cols)]) !!} · {{ implode(' + ', array_map(static fn ($c) => $c['type'] ?? 'menu', $cols)) }} · {{ $cfg['theme'] ?? 'light' }} · {{ $cfg['orientation'] ?? 'horizontal' }}

{{ t_raw('tv.preview.open_full_screen') }}
@endforeach