@yield('css') @if (env('APP_TYPE') == 'dev') @vite(['resources/css/app.css', 'resources/js/app.js']) @else @include('layouts.vite') @endif {{-- --}}
@php $unabledRoutes = ['worker.workingContractIndex', 'workers.registration.fileAdd', 'workers.registration.PreRegister', 'workers.contracts']; @endphp @if (!in_array(request()->route()->getName(), $unabledRoutes)) @include('components.user-header') @endif @include('components.loader') @yield('content')
@if (!in_array(request()->route()->getName(), $unabledRoutes)) @include('components.user-nav') @endif @yield('javascript')