@if(config('services.google_analytics.id')) @include('front.partials.analytics') @endif {{-- Preload hero image (LCP element) --}} {{-- --}} {{-- Preload fonts that are actually used early --}} {{-- font-display: swap so text shows instantly while fonts load --}} {{-- ════════════════════════════════════════════════════ LAYOUT-CRITICAL CSS — must stay blocking. These define your grid, typography, components. Deferring these causes the broken UI you saw. ════════════════════════════════════════════════════ --}} {{-- --}} {{-- ════════════════════════════════════════════════════ NON-CRITICAL CSS — safe to defer. These only affect modals, popups, animations — nothing visible on initial paint. ════════════════════════════════════════════════════ --}} {{-- loadCSS polyfill for the 4 deferred files above --}}
@include('front.layout.header') @yield('content') @include('front.layout.footer')
{{----}} {{----}} @stack('script')