{{-- Agenda online: pedido de horário na Vitrine (sem login, sem cookies). Os horários livres de cada dia vêm de /vitrine/{slug}/agendar/horarios e o pedido é enviado por fetch (booking.js). Todo conteúdo vem escapado. --}} @php $c = $v['contacts']; $initials = collect(preg_split('/\s+/', trim($v['name'])))->filter()->take(2)->map(fn ($word) => mb_strtoupper(mb_substr($word, 0, 1)))->implode(''); $selectedService = (int) request()->query('servico'); $style = "--v-primary:{$v['colors']['primary']};--v-on-primary:{$v['colors']['on_primary']};--v-secondary:{$v['colors']['secondary']};--v-on-secondary:{$v['colors']['on_secondary']};--v-ink-light:{$v['colors']['ink_light']};--v-ink-dark:{$v['colors']['ink_dark']};" .'--v-button-light:'.($v['colors']['button_light'] ?? $v['colors']['primary']).';--v-on-button-light:'.($v['colors']['on_button_light'] ?? $v['colors']['on_primary']).';' .'--v-button-dark:'.($v['colors']['button_dark'] ?? $v['colors']['primary']).';--v-on-button-dark:'.($v['colors']['on_button_dark'] ?? $v['colors']['on_primary']).';'; @endphp @include('vitrine.partials.booking-head', ['title' => 'Agendar horário', 'turnstile' => filled($turnstileSiteKey)]) @include('vitrine.icons')
{{ $v['name'] }}
@if ($v['logo_url']) @else @endif

Agendar horário

Escolha o dia e o horário. {{ $v['name'] }} confirma o pedido pelo WhatsApp.

@if ($instructions)

{{ $instructions }}

@endif
@if ($services !== [])
@endif
Dia @if ($days === [])

Nenhum horário livre nos próximos dias. @if ($c['whatsapp']) Fale com o estabelecimento pelo WhatsApp. @endif

@else
@foreach ($days as $day) @endforeach
@endif
Horário

Com DDD. A confirmação chega por aqui.

{{-- Campo invisível contra robôs (pessoas não veem nem preenchem). --}}

O nome, o WhatsApp e a placa são usados só por {{ $v['name'] }} para responder a este pedido.

@if ($turnstileSiteKey) {{-- Verificação contra robôs (Cloudflare Turnstile), desenhada pelo booking.js. --}}
@endif