@php $psHead = $publicSettings ?? $themeSettings ?? []; $favicon = $psHead['branding.favicon_url'] ?? ''; $appleIcon = $psHead['branding.apple_touch_icon'] ?? ''; $abs = function (?string $path) { $path = trim((string) $path); if ($path === '') return null; if (str_starts_with($path, 'http') || str_starts_with($path, '//')) return $path; return asset(ltrim($path, '/')); }; $favicon = $abs($favicon); $appleIcon = $abs($appleIcon); @endphp @if($favicon) @endif @if($appleIcon) @endif @if(!empty($schema)) @endif @if(!empty($themeCss)) @endif @stack('head') @php $ps = $publicSettings ?? $themeSettings ?? []; $mainPadding = ''; if (($ps['cta.sticky_enabled'] ?? false) && ($ps['contact.floating_enabled'] ?? false)) { $mainPadding = 'pb-28 md:pb-8'; } elseif (($ps['cta.sticky_enabled'] ?? false)) { $mainPadding = 'pb-24 md:pb-8'; } elseif (($ps['contact.floating_enabled'] ?? false)) { $mainPadding = 'pb-24 md:pb-8'; } @endphp
{{ $slot }}
@if(($ps['cta.sticky_enabled'] ?? false)) @endif @if(($ps['contact.floating_enabled'] ?? false)) @endif @if(($ps['cro.exit_intent_enabled'] ?? false))
@endif @stack('scripts')