<div class="app-menu navbar-menu">
<!-- LOGO -->
<div class="navbar-brand-box">
<!-- Dark Logo-->
<a href="{{route('admin.dashboard')}}" class="logo logo-dark">
<span class="logo-sm">
<img src="{{asset('assets/img/logo.png')}}" alt="" height="22">
</span>
<span class="logo-lg">
<img src="{{asset('assets/img/logo.png')}}" alt="" height="17">
</span>
</a>
<!-- Light Logo-->
<a href="{{route('admin.dashboard')}}" class="logo logo-light">
<span class="logo-sm">
<img src="{{asset('assets/img/logo.png')}}" alt="" height="40">
</span>
<span class="logo-lg">
<img src="{{asset('assets/img/logo.png')}}" alt="" height="80">
</span>
</a>
<button type="button" class="btn btn-sm p-0 fs-20 header-item float-end btn-vertical-sm-hover"
id="vertical-hover">
<i class="ri-record-circle-line"></i>
</button>
</div>
<div id="scrollbar">
<div class="container-fluid">
<div id="two-column-menu">
</div>
<ul class="navbar-nav" id="navbar-nav">
<li class="menu-title"><span data-key="t-menu">Main</span></li>
@if(in_array(1, json_decode(auth('admin')->user()->rights)))
<li class="nav-item">
<a class="nav-link menu-link @if(Route::is('admin.dashboard'))active @endif"
href="{{route('admin.dashboard')}}" role="button"
aria-expanded="false">
<i class="ri-dashboard-2-line"></i> <span data-key="t-dashboards">Dashboard</span>
</a>
</li>
@endif
@if(in_array(2,json_decode(auth('admin')->user()->rights)))
<li class="nav-item">
<a class="nav-link menu-link @if(Route::is('admin.news_podcasts*'))active @endif"
href="{{route('admin.news_podcasts.all')}}" role="button"
aria-expanded="false">
<i class="bx bx-calendar-check"></i> <span data-key="t-dashboards">News & Podcasts</span>
</a>
</li>
@endif
@if(in_array(3,json_decode(auth('admin')->user()->rights)))
<li class="nav-item">
<a class="nav-link menu-link @if(Route::is('admin.schedule*'))active @endif"
href="{{route('admin.schedule.all')}}" role="button"
aria-expanded="false">
<i class="bx bx-news"></i> <span data-key="t-dashboards">Programme Schedule</span>
</a>
</li>
@endif
@if(in_array(5,json_decode(auth('admin')->user()->rights)))
<li class="nav-item">
<a class="nav-link menu-link @if(Route::is('admin.images*'))active @endif"
href="{{route('admin.images.all')}}" role="button"
aria-expanded="false">
<i class="bx bx-images"></i> <span data-key="t-dashboards">App Images</span>
</a>
</li>
@endif
@if(in_array(7,json_decode(auth('admin')->user()->rights)))
<li class="nav-item">
<a class="nav-link menu-link @if(Route::is('admin.users*'))active @endif"
href="{{route('admin.users.all')}}" role="button"
aria-expanded="false">
<i class=" bx bx-user-pin"></i> <span data-key="t-dashboards">Users</span>
</a>
</li>
@endif
</ul>
</div>
<!-- Sidebar -->
</div>
<div class="sidebar-background"></div>
</div>