@extends('website_builder.agency_template.admin.layout') @section('title', 'Edit Contact Page - DesignAGENCY Admin') @section('content')

Edit Contact Page

Update contact headings, sub-headings, and 4 FAQs accordion questions.

Preview Contact Page
@if(session('success')) @endif @php $activeTheme = $agency->template_type ?? session('demo_template', 'digital_agency'); $themeDefs = \App\Models\WebsiteBuilder\WbAgencySetting::editableSectionDefaults($activeTheme); $rawBullets = $agency->contact_bullets_data ?? null; if (is_string($rawBullets)) { $dec = json_decode($rawBullets, true); $rawBullets = is_string($dec) ? json_decode($dec, true) : $dec; } $bullets = (is_array($rawBullets) && count($rawBullets) > 0) ? $rawBullets : ($themeDefs['contact_bullets_data'] ?? [ ['title' => 'Quick Response', 'text' => 'We reply to all inquiries within 24 hours.'], ['title' => 'Expert Support', 'text' => 'Our lead planners are here to help you 24/7.'], ['title' => 'Plan Your Project', 'text' => 'Let us turn your vision into extraordinary reality.'], ]); @endphp
@csrf
Contact Page Headings & Banner
Upload a photo for the consultant card on the Contact Us page.
@if(!empty($agency->contact_image))
Current Preview:
@endif
Google Maps API Key & Location
Enter your Google Maps JavaScript / Places / Distance Matrix API key for live auto-distance calculation and map embeds.
This address is used to render your map location on the contact page.
24/7 Helpline Box & Contact Left Side Bullets
Contact Highlight Bullets (Left Side)
@foreach($bullets as $bi => $bullet)
Bullet {{ $loop->iteration }}
@endforeach
Frequently Asked Questions (4 Items)

Edit questions and answers shown in the contact FAQ accordion.

@php $rawFaqs = $agency->faqs_data ?? null; if (is_string($rawFaqs)) { $dec = json_decode($rawFaqs, true); $rawFaqs = is_string($dec) ? json_decode($dec, true) : $dec; } $faqsData = (is_array($rawFaqs) && count($rawFaqs) > 0) ? $rawFaqs : [ ['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($faqsData as $fi => $faq)
FAQ {{ $loop->iteration }}
@endforeach
@endsection