@extends('website_builder.agency_template.layout') @section('title', 'Contact Us - ' . ($agency->site_title ?? 'DesignAGENCY')) @section('content') @php $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; @endphp
{{ $agency->contact_badge ?? 'Contact Us' }}

{!! nl2br(e($agency->contact_title ?? "Let’s Build Something Amazing Together!")) !!}

{{ $agency->contact_subtitle ?? "Have a project in mind or just want to say hello? We'd love to hear from 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 inquiries within 24 hours.'], ['title' => $agency->contact_bullet_2_title ?? 'Expert Support', 'text' => $agency->contact_bullet_2_text ?? 'Our team is here to help you 24/7.'], ['title' => $agency->contact_bullet_3_title ?? 'Start Your Project', 'text' => $agency->contact_bullet_3_text ?? "Let's turn your ideas into a digital reality."], ]; $bulletIcons = ['fa-regular fa-clock', 'fa-solid fa-headset', 'fa-solid fa-rocket', 'fa-solid fa-shield-halved', 'fa-solid fa-compass-drafting']; @endphp @foreach($bullets as $bi => $bullet)
{{ $bullet['title'] ?? '' }}
{{ $bullet['text'] ?? ($bullet['desc'] ?? '') }}
@endforeach
{{ $agency->contact_form_title ?? 'Send Us a Message' }}
{{ $agency->contact_form_subtitle ?? "Fill out the form below and we'll get back to you soon." }}
@if(!$isContactFormAllowed) @endif @if(session('success')) @endif @if(session('error')) @endif @php try { $submitUrl = route('website-builder.templates.digital_agency.contact.submit'); } catch (\Throwable $e) { $submitUrl = url('/website-builder/templates/digital_agency/contact'); } @endphp
@csrf @if(isset($subdomainParam) && $subdomainParam) @elseif(isset($customer) && !empty($customer->subdomain)) @endif
@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 Design Street, Creative City, CA 90403, United States' }}
Call Us
{{ $agency->phone ?? '+1 (234) 567-890' }}
Mon - Fri: 9AM - 6PM
Email Us
{{ $agency->email ?? 'info@designagency.com' }}
support@designagency.com
Working Hours
{!! nl2br(e($agency->working_hours ?? "Monday – Friday\n9:00 AM – 6:00 PM")) !!}
@if($isMapAllowed)
@endif
{{ $agency->faqs_badge ?? 'FAQS' }}

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

@php $faqs = $agency->faqs_data ?? [ ['q' => 'How soon can we start our project?', 'a' => 'Once we understand your requirements, we can typically start within 2–3 business days.'], ['q' => 'What information do you need to get started?', 'a' => 'We will need your brand assets, project goals, target audience, and any content guidelines.'], ['q' => 'Do you offer ongoing support?', 'a' => 'Yes! We offer comprehensive maintenance, updates, and ongoing digital strategy support.'], ['q' => 'How do I know if my project is a good fit?', 'a' => 'Feel free to send us a quick message or book a discovery call, and our team will evaluate your needs!'], ]; @endphp
@foreach($faqs as $fi => $f)
{{ $f['a'] }}
@endforeach
{!! nl2br(e($agency->helpline_title ?? $agency->consultant_title ?? "Ready to Start\nYour Project?")) !!}
{{ $agency->helpline_desc ?? $agency->consultant_desc ?? "Let's discuss how we can help your business grow with digital solutions." }}
@php $subdomainParam = isset($subdomain) && $subdomain ? $subdomain : null; $defaultContactUrl = $subdomainParam ? route('website-builder.subdomain.contact', ['subdomain' => $subdomainParam]) : route('website-builder.templates.digital_agency.contact'); $ctaContactUrl = !empty($agency->helpline_btn_url) ? $agency->helpline_btn_url : $defaultContactUrl; $ctaBtnText = !empty($agency->helpline_btn_text) ? $agency->helpline_btn_text : 'Get In Touch'; @endphp {{ $ctaBtnText }}
@php $contactImg = !empty($agency->contact_image) ? $agency->contact_image : 'assets/website_builder/Templates/Digital_agency/contact_footer.png'; $contactImgUrl = str_starts_with($contactImg, 'http') ? $contactImg : asset($contactImg); @endphp Customer Support Representative
@section('scripts') @endsection @endsection