@props([ 'title', 'description' => null, 'keywords' => null, 'canonical' => null, 'bodyClass' => '', // Extra stylesheet bundles beyond global + header + footer. // Accepts any of: main, property-pages, about, inner-pages 'styles' => [], 'swiper' => false, 'boxiconsFilled' => false, 'lcp' => null, // Which primary-nav item to light. Only needed by views whose route name // does not identify the section — see x-site-header. 'nav' => null, ]) @php // Preserve the legacy cascade order from layouts/global-styles.php: // global -> header -> main -> property-pages -> about -> inner-pages -> footer $styleOrder = ['main', 'property-pages', 'about', 'inner-pages']; $styles = array_values(array_intersect($styleOrder, (array) $styles)); @endphp {{ $title }} @if ($description) @endif @if ($keywords) @endif {{-- Flag JS-driven reveal animations before first paint (prevents flash of hidden content) --}} @if ($swiper) @endif @if ($lcp) @endif {{-- Bootstrap 5.3 — .container and utilities (site CSS overrides reboot where needed) --}} @if ($boxiconsFilled) @endif @if ($swiper) @endif @foreach ($styles as $style) @endforeach @stack('styles') $bodyClass !== ''])> {{ $slot }} @if ($swiper) @endif @stack('scripts')