{{-- resources/views/layouts/contentLayoutMaster.blade.php --}} @php use App\Helpers\Helper; $configData = Helper::applClasses(); $contentMaxWidth = $contentMaxWidth ?? '100%'; $marginTopPx = $marginTopPx ?? 0; $marginBottomPx = $marginBottomPx ?? 0; $marginLeftPx = $marginLeftPx ?? 0; $marginRightPx = $marginRightPx ?? 0; @endphp @yield('title') - {{ config('app.title', 'App') }} {{-- Fonts --}} @yield('vendor-style') {{-- Your theme CSS still fine with asset() --}} @if (file_exists(public_path('css/base/themes/dark-layout.css'))) @endif @if (file_exists(public_path('css/base/themes/bordered-layout.css'))) @endif @if (file_exists(public_path('css/base/themes/semi-dark-layout.css'))) @endif @yield('page-style') {{-- ✅ IMPORTANT: wrap mix() with asset() so /agentportal prefix is included --}} @include('panels.navbar')
@include('panels.sidebar')
@if (!empty($configData['pageHeader']) && $configData['pageHeader'] === true) @include('panels.breadcrumb') @endif
@hasSection('content-sidebar')
@yield('content-sidebar')
@yield('content')
@else @yield('content') @endif
@include('panels.footer') {{-- ✅ Load Feather (to avoid "feather is not defined") --}} {{-- ✅ Wrap mix() with asset() to fix subfolder path --}} {{-- Per-page scripts (e.g., leads-status.js) --}} @yield('page-script') {{-- Safe fallback: replace icons if feather is present --}}