@if($page->og_image)@endif @if($page->favicon)@endif {{-- Phone Topbar --}} @if($page->contactSettings?->phone)
Call us: {{ $page->contactSettings->phone_country_code }} {{ $page->contactSettings->phone }} @if($page->contactSettings->business_hours) {{ $page->contactSettings->business_hours }} @endif
@endif {{-- Navigation --}} {{-- Sections --}} @foreach($page->sections->where('is_visible', true) as $section) @if($section->type === 'hero')

{{ $section->title }}

{{ $section->subtitle }}

@if($section->cta_text) {{ $section->cta_text }} @endif @if($section->cta_secondary_text) {{ $section->cta_secondary_text }} @endif
@if($section->image)
{{ $section->image_alt }}
@endif
@elseif($section->type === 'about')
@if($section->image)
{{ $section->image_alt }}
@endif

{{ $section->title }}

{{ $section->subtitle }}

{!! nl2br(e($section->content)) !!}
@if($section->cta_text) {{ $section->cta_text }} @endif
@elseif($section->type === 'services')

{{ $section->title }}

{{ $section->subtitle }}

@php $items = $section->extra_data['items'] ?? []; @endphp
@foreach($items as $item)
{{ $item['title'] }}

{{ $item['description'] }}

@endforeach
@elseif($section->type === 'cta')

{{ $section->title }}

{{ $section->subtitle }}

@if($section->cta_text) {{ $section->cta_text }} @endif @if($section->cta_secondary_text) {{ $section->cta_secondary_text }} @endif
@elseif($section->type === 'faq')

{{ $section->title }}

{{ $section->subtitle }}

@php $faqs = $section->extra_data['faqs'] ?? []; @endphp
@foreach($faqs as $i => $faq)

{{ $faq['answer'] }}
@endforeach
@else
@if($section->title)

{{ $section->title }}

@endif @if($section->subtitle)

{{ $section->subtitle }}

@endif @if($section->content)
{!! nl2br(e($section->content)) !!}
@endif
@endif @endforeach {{-- Contact Section --}}

Get in Touch

We'd love to hear from you. Send us a message and we'll respond promptly.

@if(session('success'))
{{ session('success') }}
@endif
@csrf
@error('name')
{{ $message }}
@enderror
@if($page->contactSettings)
@if($page->contactSettings->phone) @endif @if($page->contactSettings->email) @endif @if($page->contactSettings->address)
{{ $page->contactSettings->address }}
@endif @if($page->contactSettings->business_hours)
{{ $page->contactSettings->business_hours }}
@endif
@endif
{{-- Footer --}} {{-- WhatsApp Floating Button --}} @if($page->contactSettings?->whatsapp_enabled && $page->contactSettings?->whatsapp) @php $waNumber = preg_replace('/[^0-9]/', '', $page->contactSettings->whatsapp_country_code . $page->contactSettings->whatsapp); $waMsg = urlencode($page->contactSettings->whatsapp_prefill_message ?? 'Hello, I would like to enquire about your services.'); $waColor = $page->contactSettings->whatsapp_color ?? '#25D366'; $waPos = $page->contactSettings->whatsapp_position ?? 'bottom-right'; @endphp @endif {{-- Popup --}} @if($page->popup?->is_enabled) @php $popup = $page->popup; @endphp @endif {{-- Cookie Banner --}} {{-- Redirect --}} @if($page->redirectSettings?->is_enabled && $page->redirectSettings?->destination_url) @php $rd = $page->redirectSettings; @endphp
@if($rd->show_countdown) Redirecting in {{ $rd->delay_seconds }} seconds... @endif {{ $rd->cta_text ?? 'Go Now' }}
@endif