@php
$navHomePath = optional(Auth::user())->homePath() ?? '/services';
if (Auth::check() && (string) (Auth::user()->type ?? '') === '2') {
$selectedTbPage = session('tb.entry_page', config('tb_entry.default_page', 'pretb'));
$navHomePath = config("tb_entry.pages.{$selectedTbPage}.path", '/TB/preTB_record');
}
@endphp
@yield('content')
@stack('scripts')