@if(Route::is(['index-rtl'])) @else @endif Universidad Mariano Gálvez de Guatemala {{-- CSS/JS del template --}} @include('layout.partials.head') {{-- aquí ya se cargó style.css --}} {{-- Tema UMG: al final y una sola vez --}} @php // Clases dinámicas para $bodyClass = ''; if (Route::is(['index-5','index-6'])) { $bodyClass = 'home-five'; } elseif (Route::is(['error-404','error-500','under-construction'])) { $bodyClass = 'error-page'; } elseif (Route::is(['coming-soon'])) { $bodyClass = 'error-page comming-soon-pg'; } elseif (Route::is(['student-messages','instructor-chat'])) { $bodyClass = 'chat-page main-chat-blk'; } // Wrapper principal $wrapClasses = 'main-wrapper'; if (Route::is(['login','register'])) $wrapClasses .= ' log-wrap'; if (Route::is(['index-6'])) $wrapClasses .= ' index-six'; // Flags para wrappers secundarios por home-3/home-4 $isHome3 = Route::is(['index-3']); $isHome4 = Route::is(['index-4']); // Algunas vistas no muestran header/footer $hideLayoutChrome = Route::is([ 'coming-soon','error-404','error-500','forgot-password','login', 'new-password','register-step-five','register-step-four','register-step-one', 'register-step-three','register-step-two','register','under-construction', 'verification-code','view-invoice','lock-screen','otp','reset-password','set-password', ]); // Chat wrapper $useChatWrapper = Route::is(['student-messages','instructor-chat']); @endphp @if ($useChatWrapper)
@endif
@if ($isHome3)
@endif @if ($isHome4)
@endif @unless($hideLayoutChrome) @include('layout.partials.header') @endunless @yield('content') @unless($hideLayoutChrome) @include('layout.partials.footer') @endunless @if ($isHome3)
@endif @if ($isHome4)
@endif
@if ($useChatWrapper)
@endif @component('components.modalpopup') @endcomponent @include('layout.partials.footer-scripts')