@php $variant = $section['settings']['variant'] ?? 'search'; $bgImage = $section['settings']['background_image'] ?? null; $data = $section['data'] ?? []; @endphp
@if(!empty($data['badge'])) {{ $data['badge'] }} @endif

{{ $data['title'] ?? $agency->name }}

@if(!empty($data['subtitle']))

{{ $data['subtitle'] }}

@endif @if($variant === 'search') @include('site.templates.voyage.partials.search-band', [ 'tourTypes' => $section['resolved']['tourTypes'] ?? collect(), 'compact' => false, 'popular' => collect($section['resolved']['tourTypes'] ?? [])->map(fn ($t) => [ 'label' => $t->name, 'url' => $preview ? '#' : route('customer.agency.tours.list', ['agency' => $agency->slug, 'type' => $t->route_slug]), ])->all(), ]) @elseif(!empty($data['button_text'])) {{ $data['button_text'] }} @endif