@extends('website_builder.texigo_theme.layout') @section('no_cta')@endsection @section('title', 'Contact Us - ' . ($agency->site_title ?? 'TaxiGo Mobility')) @section('content') @php $agency = $agency ?? $interior ?? null; $isContactFormAllowed = isset($agency) && method_exists($agency, 'isFeatureEnabled') ? $agency->isFeatureEnabled('contact_form', $customer ?? null) : true; $isMapAllowed = isset($agency) && method_exists($agency, 'isFeatureEnabled') ? $agency->isFeatureEnabled('map_section', $customer ?? null) : true; $subdomainParam = isset($subdomain) && $subdomain ? $subdomain : null; $homeUrl = $subdomainParam ? route('website-builder.subdomain.site', ['subdomain' => $subdomainParam]) : route('website-builder.templates.texigo'); $aboutUrl = $subdomainParam ? route('website-builder.subdomain.about', ['subdomain' => $subdomainParam]) : route('website-builder.templates.texigo.about'); $contactUrl = $subdomainParam ? route('website-builder.subdomain.contact', ['subdomain' => $subdomainParam]) : route('website-builder.templates.texigo.contact'); @endphp
{{ $agency->contact_badge ?? 'Contact Us' }}

{!! nl2br(e($agency->contact_title ?? "Let’s Book Your\nNext Ride Together!")) !!}

{{ $agency->contact_subtitle ?? "Have questions about our taxi services, airport transfers, or corporate mobility? We're available 24/7 to help you." }}

@php $bullets = !empty($agency->contact_bullets_data) && is_array($agency->contact_bullets_data) ? $agency->contact_bullets_data : [ ['title' => $agency->contact_bullet_1_title ?? 'Quick Response', 'text' => $agency->contact_bullet_1_text ?? 'We reply to all ride inquiries within minutes.'], ['title' => $agency->contact_bullet_2_title ?? '24/7 Dispatch Support', 'text' => $agency->contact_bullet_2_text ?? 'Our customer mobility support team is here to assist you 24 hours a day.'], ['title' => $agency->contact_bullet_3_title ?? 'Transparent Pricing', 'text' => $agency->contact_bullet_3_text ?? 'Instant booking with guaranteed upfront rates and zero hidden fees.'], ]; $bulletIcons = ['fa-solid fa-clock', 'fa-solid fa-headset', 'fa-solid fa-taxi', 'fa-solid fa-shield-halved', 'fa-solid fa-route']; @endphp @foreach($bullets as $bi => $bullet) @php $bIcon = is_array($bullet) ? (!empty($bullet['icon']) ? $bullet['icon'] : ($bulletIcons[$bi % count($bulletIcons)])) : ($bulletIcons[$bi % count($bulletIcons)]); if (!str_contains($bIcon, 'fa-') && !str_contains($bIcon, 'bi-')) { $bIcon = 'fa-solid fa-' . $bIcon; } elseif (!str_contains($bIcon, 'fa-solid') && !str_contains($bIcon, 'fa-regular') && !str_contains($bIcon, 'fa-brands') && !str_contains($bIcon, 'bi')) { $bIcon = 'fa-solid ' . $bIcon; } @endphp
{{ is_array($bullet) ? ($bullet['title'] ?? '') : ($bullet->title ?? '') }}
{{ is_array($bullet) ? ($bullet['text'] ?? ($bullet['desc'] ?? '')) : ($bullet->text ?? ($bullet->desc ?? '')) }}
@endforeach
{{ $agency->contact_form_title ?? 'Send Us a Message' }}
{{ $agency->contact_form_subtitle ?? 'Fill out the form below and our TaxiGo team will assist you immediately.' }}
@if(!$isContactFormAllowed) @endif @if(session('success')) @endif @if(session('error')) @endif @php try { $submitUrl = route('website-builder.templates.texigo.contact.submit'); } catch (\Throwable $e) { $submitUrl = route('website-builder.templates.digital_agency.contact.submit'); } @endphp
@csrf
@php $adminSettings = \App\Models\WebsiteBuilder\WbLandingSetting::getSettings(); if (!empty($agency->recaptcha_site_key)) { $recaptchaSiteKey = trim($agency->recaptcha_site_key); $enableRecaptcha = true; } else { $recaptchaSiteKey = trim($adminSettings->recaptcha_site_key ?? ''); $enableRecaptcha = (($adminSettings->enable_recaptcha ?? '1') == '1'); } @endphp @if($enableRecaptcha && !empty($recaptchaSiteKey))
@else
@endif
Our Location
{{ $agency->address ?? '123 Mobility Way, City Center, NY 10001' }}
Call Us
{{ $agency->phone ?? '+1 (234) 567-890' }}
24/7 Hotline
Email Us
{{ $agency->email ?? 'hello@taxigo.com' }}
Working Hours
{!! nl2br(e($agency->working_hours ?? "Monday – Sunday\n24 Hours Available")) !!}
@if($isMapAllowed) @php // Demo theme condition: only for pure demo previews without customer, NOT for real customers $isDemoTheme = (empty($customer) || (isset($customer) && empty($customer->id))) && (session('wb_demo_admin') || request()->routeIs('website-builder.templates.*') || request()->is('*templates/texigo*') || request()->is('templates/texigo*') || request()->is('*templates*')); if ($isDemoTheme) { // Demo themes across all whitelabels get the official Google Maps API key $mapKey = 'AIzaSyCk9MsSiFqzbjMveoIOzZ4yBcUnjDk6zOY'; } else { // Real customer: use strictly their own configured key $mapKey = trim( $agency->google_maps_api_key ?? $agency->google_map_api_key ?? ($agency->fare_calculator_data['google_map_api_key'] ?? '') ?? ($agency->fare_calculator_data['google_maps_api_key'] ?? '') ?? ($agency->social_links['_custom_fields']['google_map_api_key'] ?? '') ?? ($agency->social_links['_custom_fields']['google_maps_api_key'] ?? '') ?? ($agency->social_links['_custom_fields']['fare_calculator_data']['google_maps_api_key'] ?? '') ?? ($agency->social_links['_custom_fields']['fare_calculator_data']['google_map_api_key'] ?? '') ); } $mapUrl = !empty($mapKey) ? 'https://www.google.com/maps/embed/v1/place?key=' . urlencode($mapKey) . '&q=' . urlencode($agency->address ?? '123 Mobility Way, City Center, NY 10001') : 'https://maps.google.com/maps?width=100%25&height=420&hl=en&q=' . urlencode($agency->address ?? '123 Mobility Way, City Center, NY 10001') . '&t=&z=13&ie=UTF8&iwloc=B&output=embed'; @endphp
@endif
{{ $agency->faqs_badge ?? 'FAQS' }}

{!! nl2br(e($agency->faqs_title ?? 'Frequently Asked Questions')) !!}

@php $faqs = $agency->faqs_data ?? [ ['q' => 'How quickly can a driver arrive at my location?', 'a' => 'Our automated smart dispatch assigns the nearest driver, typically arriving within 5 to 10 minutes.'], ['q' => 'Can I schedule an airport transfer in advance?', 'a' => 'Yes! You can pre-book airport pickups and drop-offs days or weeks in advance with guaranteed flight tracking.'], ['q' => 'Are there any hidden fees or surge pricing?', 'a' => 'No. TaxiGo provides transparent, fixed upfront pricing with zero hidden charges.'], ['q' => 'What payment options are accepted?', 'a' => 'We accept credit/debit cards, online mobile wallets, Razorpay, and cash.'], ]; @endphp
@foreach($faqs as $fi => $f)
{{ $f['a'] }}
@endforeach
@php $consultantImg = !empty($agency->contact_image) ? (str_starts_with($agency->contact_image, 'http') ? $agency->contact_image : asset($agency->contact_image)) : null; @endphp
{!! nl2br(e($agency->helpline_title ?? $agency->consultant_title ?? "Need Immediate\nAssistance?")) !!}
{{ $agency->helpline_desc ?? $agency->consultant_desc ?? 'Speak directly with our 24/7 taxi dispatch helpline for quick support.' }}
{{ $agency->helpline_btn_text ?? 'Call Dispatch Now' }}
@endsection