@php
$routename = Route::current()->getName();
@endphp
CJ's
@include('admin.includes.stylesheet')
@if($routename != 'admin.login')
@include('admin.includes.sidebar')
@endif
@if($routename != 'admin.login')
@if($routename == 'admin.dashboard')
@include('admin.includes.header')
@else
@include('admin.includes.header-menu')
@endif
@endif
{{-- --}}
@yield('content')
@if($routename != 'admin.login')
{{-- --}}
@endif
@include('admin.includes.script')
@yield('script')