@if(!empty($siteFaviconUrl)) @endif @if(session('analytics_last_page_view_id')) @endif {{-- Google site verification (disabled) @if(request()->routeIs('home')) @endif --}} @include('partials.pwa-head') @include('partials.device-viewport-sync') @include('partials.firebase-config') @if(request()->is('gc/*', 'chat/*', 'm/chat*')) @endif @include('partials.site-theme-vars') @stack('styles') @if(ui('source_protection', 'enabled') === 'enabled' && ! config('app.debug')) @endif @if(!$isAndroidApp) @endif
@yield('content')
@unless(request()->routeIs('checkout.index', 'login', 'register', 'mobile.cart', 'customer.cart') || request()->is('services', 'services/*', 'm/cart', 'user/cart')) @endunless @stack('mobile-fixed-footer') @php $floatingChatUrl = Auth::check() && Auth::user()->chat_enabled ? gletra_chat_url() : (Auth::check() ? route('customer.support.index') : route('login')); $floatingChatExternal = Auth::check() && Auth::user()->chat_enabled && str_starts_with($floatingChatUrl, 'http'); @endphp
G
@include('partials.pwa-install-popup') @include('partials.gletra-avatar-picker') @include('partials.realtime-notifications') @include('partials.firebase-push-init') @include('partials.analytics-consent') @stack('scripts')