@php
// If accessed via Android APK, force the mobile layout even if screen size is large
if(isset($isAndroidApp) && $isAndroidApp) {
echo view('layouts.mobile', ['content' => $__env->yieldContent('content')])->render();
return;
}
@endphp
@yield('meta_title', \App\Models\Setting::get('seo_meta_title', ($siteName ?? 'Gletra') . ' - Online Shopping'))
@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/*'))
@endif
@include('partials.site-theme-vars')
@stack('styles')
@if(ui('source_protection', 'enabled') === 'enabled' && ! config('app.debug'))
@endif
@include('partials.header')
@yield('content')
@include('partials.footer')
@include('partials.gletra-avatar-picker')
@include('partials.realtime-notifications')
@include('partials.firebase-push-init')
@include('partials.analytics-consent')
@stack('scripts')
@include('partials.pwa-install-popup')