@if(Auth::check()) @else @endif {{ config('app.name', 'Laravel') }} @vite(['resources/sass/app.scss', 'resources/js/app.js']) @include('layouts.partials.head') @include('layouts.partials.loader')
@include('layouts.partials.header')
@if(Auth::check() && Auth::user()->role=="Admin" || Auth::user()->role=="Superadmin") @include('layouts.partials.sidebar') @else @endif
@yield('content')
@include('layouts.partials.footer')
@include('layouts.partials.foot') @yield('footer')