@props([
/** Eyebrow above the headline. */
'kicker' => 'FAQ',
/** Big serif headline (HTML allowed for italic spans). */
'headline' => null,
/** Subtitle paragraph below the headline. */
'subtitle' => null,
/**
* Items: array of ['q' => string, 'a' => string, 'open' => bool?].
* If empty, a sensible default set ships so the component is usable
* by any page without configuration.
*/
'items' => null,
])
@php
// Was a page-specific item set passed in (features / pricing)? Those
// are editorial content owned by the page's Blade, so we do NOT mark
// them inline-editable — otherwise an edit would save under a shared
// faq.* key and not display. Only the default (home) set is editable.
$itemsAreCustom = $items !== null;
$kicker = fcp('faq.kicker_text', $kicker);
$headline = fcp('faq.headline', $headline ?? 'Frequently asked.');
$subtitle = fcp(
'faq.subtitle',
$subtitle ?? __('Still unsure? Email team@wadesk.io — a real human replies inside 4 hours.'),
);
$items = $items ?? [
[
'q' => fcp('faq.faq1_q', __('Do I need a WhatsApp Business API account to start?')),
'a' => fcp(
'faq.faq1_a',
__(
'No — :brand can provision a WABA on your behalf via Meta\'s embedded signup. If you already have one, connect it directly. Twilio and Unofficial API QR-pair are also supported.',
['brand' => brand_name()],
),
),
'open' => true,
],
[
'q' => fcp('faq.faq2_q', __('How long does template approval take?')),
'a' => fcp('faq.faq2_a', __('Median 18 minutes. We pre-validate so the rejection rate stays under 4%.')),
],
[
'q' => fcp('faq.faq3_q', __('Can I migrate from AiSensy, Wati, Interakt, Gupshup?')),
'a' => fcp(
'faq.faq3_a',
__('Yes — one-click importers for all four, plus free white-glove migration on Pro & Scale.'),
),
],
[
'q' => fcp('faq.faq4_q', __('What payment gateways are supported?')),
'a' => fcp(
'faq.faq4_a',
__('22 gateways including Razorpay, Stripe, PayPal, Paystack, Flutterwave, Instamojo.'),
),
],
[
'q' => fcp('faq.faq5_q', __('Where is my data stored?')),
'a' => fcp(
'faq.faq5_a',
__('SOC 2 Type II, ISO 27001, GDPR, HIPAA-eligible. EU, US, or India residency on Scale.'),
),
],
];
@endphp