{{ pageTitle(View::yieldContent('title')) }}
{{-- Fonts & Icons --}}
{{-- Core CSS (Figtree is linked here, not imported from app.css, so it downloads alongside instead of after it) --}}
@if(file_exists(public_path('assets/css/app.css')))
@endif
{{-- Plugins CSS (local) --}}
{{-- Core JS (local) --}}
@unless (View::hasSection('light'))
{{-- Highcharts (local), as LikelySports: only called once a chart is drawn, so deferring is safe. --}}
@endunless
@yield('styles')
@stack('styles')
{{-- Dynamic App Theme Variables --}}
{{-- A member is never drawn as a guest: the saved profile gives the plan at once; without one the header waits ("loading") for the API. --}}
@if (!in_array(request()->segment(1, ''), ['', 'dashboard', 'profile', 'resources', 'resources_details']))
@endif
{{-- Mobile Bottom Nav (top of body) --}}
@include('layouts.bottom-nav')
{{-- Site Header --}}
@include('layouts.header', ['appName' => $appName])
{{-- Promo Bar --}}
@include('layouts.promo-bar', ['appName' => $appName])
{{-- Primary Nav Row --}}
@include('layouts.nav-row')
@include('layouts.sidebar')
@php $isAccountPage = request()->segment(1) === 'profile'; @endphp
@hasSection('bare')
{{-- The Insights pages offset themselves for the rail and carry their own scoped styles, so no wrapper (as LikelySports). --}}
@yield('bare')
@elseif ($__env->hasSection('landing'))
{{-- A marketing page (Pricing) sits beside the icon rail without the page container, as LikelySports renders it. --}}