{{-- AI Website Maker "FAQ" Section Expects $content to contain: - section_title: string (Optional, defaults to "Frequently Asked Questions") - section_subtitle: string (Optional) - faqs: array of objects, each with: - question: string - answer: string --}} @php $sectionTitle = $content['section_title'] ?? 'Frequently Asked Questions'; $sectionSubtitle = $content['section_subtitle'] ?? 'Find answers to common questions about our AI Website Maker.'; $faqs = $content['faqs'] ?? [ // Default placeholder FAQs if none are configured [ 'question' => 'How does the AI website creation process work?', 'answer' => 'Our AI analyzes your industry, preferences, and content goals to generate a unique website design and initial content. You can then customize it further using our intuitive editor.', ], [ 'question' => 'Can I use my own domain name?', 'answer' => 'Yes, with our Pro and Business plans, you can easily connect your custom domain name to your AI-generated website.', ], [ 'question' => 'Is hosting included?', 'answer' => 'Yes, all our plans include reliable and fast hosting, so you don\'t have to worry about separate hosting arrangements.', ], [ 'question' => 'What kind of support do you offer?', 'answer' => 'We offer community support for our Starter plan, and priority email/chat support for Pro and Business plan subscribers. We also have an extensive knowledge base.', ], ]; @endphp

{{ $sectionTitle }}

@if(!empty($sectionSubtitle))

{{ $sectionSubtitle }}

@endif
@if(is_array($faqs) && count($faqs) > 0)
@foreach($faqs as $index => $faq)

{{ $faq['answer'] ?? 'Answer goes here.' }}

@endforeach
@else

FAQ items will be displayed here once configured.

@endif