{{-- 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' : ''">
{{-- [1] LEFT: BRAND --}}
@php $siteLogo = setting('site_logo'); $logoUrl = null; if ($siteLogo) { if (str_starts_with($siteLogo, 'http')) { $logoUrl = $siteLogo; } else { $logoUrl = asset('storage/' . ltrim($siteLogo, '/')); } } @endphp @if ($logoUrl)
@else
{{ $platform_name }}
Digital Hub
@endif
{{-- [2] CENTER: NAVIGATION --}}
@if ($headerMenu && $headerMenu->items->count() > 0) @foreach ($headerMenu->items as $item)
@if ($item->icon)
@endif {{ $item->title }}
@endforeach @else
Home
Blog
@endif
{{-- [3] RIGHT: ACTIONS --}}
@auth
Dashboard
@else
Sign in
Get started
@endauth
{{-- Cart --}} @if (config('settings.header.show_cart', true))
@endif
{{-- 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 {{-- Floating Cart Button (Visible when items in cart) --}}
{{-- ═══ 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">
{{-- ═══ MINI CART DRAWER ═══ --}}
{{-- Backdrop --}}
{{-- Drawer Header --}}
My Shopping Bag
{{-- Drawer Content (Scrollable) --}}
Your bag is empty
{{-- Drawer Footer --}}
Subtotal
Total
Checkout Now
Continue Shopping
{{-- Lucide Icons --}}