{{-- No-Flicker Theme Script --}} {{-- SEO Meta --}}
{{ config('settings.general.seo_meta_title', $seo->meta_title ?? config('app.name')) }}
@if(!empty($seo->meta_keywords))
@endif @if(!empty($seo->canonical_url))
@endif {{-- OpenGraph --}}
@if(!empty($seo->og_image))
@endif
{{-- JSON-LD Slot --}} @stack('schema') {{-- Fonts --}}
{{-- Alpine.js Plugins (MUST be before Alpine Core and Vite if using CDN) --}} {{-- Vite Assets --}} @vite(['resources/css/app.css', 'resources/js/app.js']) {{-- ═══ ANNOUNCEMENT BAR ═══ --}} @if (($marketingSettings['announcement_bar_active'] ?? false) && ($marketingSettings['announcement_bar_text'] ?? false))
✨ {{ $marketingSettings['announcement_bar_text'] }}
@endif {{-- ═══ NAVIGATION ═══ --}}
20" :class="scrolled ? 'shadow-2xl' : ''">
{{-- Logo --}}
@if (config('settings.header.logo'))
@else
@endif
{{ config('app.name', 'DigitalStore') }}
{{-- Desktop Nav Links --}}
@if ($headerMenu && $headerMenu->items->count() > 0) @foreach ($headerMenu->items as $item)
@if ($item->icon)
@endif {{ $item->title }}
@endforeach @else
Home
Blog
@endif
@auth
Dashboard
@else
Sign in
Get Started
@endauth {{-- Cart --}} @auth @if (config('settings.header.show_cart', true))
@endif @endauth {{-- Theme Toggle --}}
{{-- Desktop Notifications Portal removed from here --}}
{{-- Mobile Hamburger --}}
{{-- Mobile Menu --}}
Home
@auth
Dashboard
@else
Sign In
Get Started Free
{{-- Mobile Theme Toggle --}}
@endauth
{{-- Main Content --}}
{{ $slot }}
{{-- ═══ FOOTER ═══ --}} {{-- ═══ LIVE SALES NOTIFICATION (Global Marketing Widget) ═══ --}}
{{-- ═══ PROMOTIONAL POPUP ═══ --}} @if (($marketingSettings['popup_banner_active'] ?? false) && ($marketingSettings['popup_banner_image'] ?? false))
Claim Offer Now
@endif {{-- ═══ LIVE CHAT WIDGET ═══ --}}
{{-- Global Notifications Portal --}}
notif.id !== n.id)" class="w-8 h-8 flex items-center justify-center text-white/20 hover:text-white hover:bg-white/5 rounded-lg transition-all">