@props([ 'title' => brand_name() . ' — The complete WhatsApp business platform', 'page' => null, 'navKey' => 'product', 'showTicker' => true, 'showFooter' => true, // SEO — any public page can override these; sensible site-wide defaults. 'description' => null, 'metaKeywords' => null, 'ogImage' => null, 'ogType' => 'website', 'canonical' => null, 'noindex' => false, 'jsonLd' => null, ]) {{-- Public landing layout — direct port of the prototype's . Tailwind ships from the CDN with the exact same inline config the prototype uses (so the utility classes resolve to the same hex values). frontend.css holds the prototype's @endif {{-- Site-wide analytics (GA4 / GTM / Meta Pixel / Clarity / etc. from Admin → Settings → Analytics). Must run on the PUBLIC site — this is where visitor/ad tracking matters most. Consent-gated inside. --}} @include('partials.site-analytics') @if ($showTicker) @endif {{ $slot }} @if ($showFooter) @endif {{-- Reveal-on-scroll observer — same shape as the prototype's inline script. Elements with .reveal fade + slide in once they enter the viewport; pages can stagger with style="--d:NNNms". --}} @stack('scripts') {{-- Live-editor bridge — injected ONLY for an authed platform admin who opened this page with ?fc_edit=1 (see FrontendContentStore::editing()). Public visitors never receive this script. --}} @if (fc_editing()) @endif {{-- Admin → Settings → Custom code (JS). Platform-admin only; injected on public pages when enabled. --}} @if (($__wdCustomOn ?? false) && ($__wdJs = (string) \App\Models\SystemSetting::get('custom_js', '')) !== '') @endif {{-- GDPR cookie consent — lets PUBLIC visitors opt in so the analytics partial above can emit their consented trackers. --}} @include('partials.cookie-consent')