@php $ps = $ctx->publicSettings(); $form = $ctx->form(($data['form_slug'] ?? '') ?: 'contact'); $showDetails = ! empty($data['show_details']); @endphp
$showDetails])> @if($showDetails)

{{ $data['details_title'] ?? 'Get in touch' }}

    @foreach([ ['key' => 'contact.phone', 'label' => 'Phone', 'href' => 'tel:', 'icon' => 'M3 5a2 2 0 012-2h3.28a1 1 0 01.948.684l1.498 4.493a1 1 0 01-.502 1.21l-2.257 1.13a11.042 11.042 0 005.516 5.516l1.13-2.257a1 1 0 011.21-.502l4.493 1.498a1 1 0 01.684.949V19a2 2 0 01-2 2h-1C9.716 21 3 14.284 3 6V5z'], ['key' => 'contact.email', 'label' => 'Email', 'href' => 'mailto:', 'icon' => 'M3 8l7.89 5.26a2 2 0 002.22 0L21 8M5 19h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z'], ['key' => 'contact.business_hours', 'label' => 'Hours', 'href' => null, 'icon' => 'M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z'], ] as $row) @continue(empty($ps[$row['key']]))
  • {{ $row['label'] }}

    @if($row['href']) {{ $ps[$row['key']] }} @else

    {{ $ps[$row['key']] }}

    @endif
  • @endforeach
@if(filled($data['button_text'] ?? null)) {{ $data['button_text'] }} @endif
@endif
$showDetails, 'mx-auto w-full max-w-3xl' => ! $showDetails])>
@if(filled($data['form_title'] ?? null))

{{ $data['form_title'] }}

@endif @if(filled($data['form_lead'] ?? null))

{{ $data['form_lead'] }}

@endif
@if($form) @else

Contact form unavailable. Please email us directly.

@endif