@if(auth()->check()) @if(auth()->user()->role == 'admin') @include('components.sidebar') @endif @endif
@if(auth()->check() && auth()->user()->role == 'user') @endif @yield('content')