{{-- Favicons --}} @yield('title', config('app.name')) {{-- Reciprocal hreflang: self-reference + every alternate locale + x-default --}} @isset($currentLocale) @foreach ($altLocales ?? [] as $altLocale) @endforeach @endisset @stack('seo') {{-- Preload the Manrope weights used in above-the-fold text (body 400, category

500, generic headings 700, nav 800) so the swap-in doesn't reflow the header and headings on load — which otherwise throws off scroll restoration on refresh. Same URLs as the @font-face rules in fonts.css, so each is fetched once. --}} @vite(['resources/css/checkout.css', 'resources/css/app.css', 'resources/js/app.js']) @auth('staff') @php($stoicToken = \App\Services\Stoic::token(auth('staff')->user()->email)) @endauth @stack('head') {{-- Not on the checkout page itself — its order-summary column already plays the drawer's role there, and both reacting to the same `bbk-cart:changed` event would pop the (redundant) drawer open over the page every time a line's quantity changes in the summary. --}} @unless (request()->routeIs('checkout.show')) @include('checkout::drawer') @endunless
@yield('content')
@stack('scripts')