{{-- Public site layout (dark redesign). Owner: Site role. Hooks that MUST stay (other agents depend on them): BACKEND-2 (title, meta, canonical, OG, JSON-LD, verification) BACKEND-2 (consent-aware GA4 / GTM) BACKEND-2 @stack('head') / @stack('scripts') page-level assets (FRONTEND-2 pushes products.css/js here) @yield('content') Variables available in every page view: $pageKey, $page, $c (page content), $g (global content). Sections a page may define: 'body_class' (extra body classes), 'prefooter' (set to 'off' to hide the pre-footer), 'prefooter_tag' (HTML of a small link shown above the pre-footer title), 'seo_title' / 'seo_robots' (error pages and other non-content views). --}} @php($g = $g ?? page_content('_global')) {{-- Two families only (idea 1): Poppins 400 (navigation) and Rubik 400 (body) render on every page above the fold. Pages push one more weight when their hero needs it. --}} @vite(['resources/css/site.css', 'resources/js/site.js']) @stack('head')
@yield('content')
@stack('scripts')