{{-- Floating WhatsApp chat, bottom right of every page. The round button opens a small chat window with a greeting and topic buttons; each button opens WhatsApp with its message already typed. Without JavaScript the round button is a plain link to WhatsApp (app.js turns it into the window's toggle). Hidden when company.whatsapp is empty. Text and topics: config/site.php -> whatsapp_chat. --}} @php $number = config('site.company.whatsapp'); $chat = config('site.whatsapp_chat'); $link = fn (string $message) => 'https://wa.me/'.$number.'?text='.rawurlencode($message); @endphp @if (! empty($number)) {{-- On phones it rises above the sticky "Book a Demo" bar while that bar is showing (app.js sets data-cta-open on ). --}}
@endif