@php 
	$currentPage = Request::segment(3);
@endphp

<!-- BEGIN: Main Menu-->
<div class="main-menu menu-fixed menu-light menu-accordion menu-shadow" data-scroll-to-active="true">
    <div class="navbar-header">
      <ul class="nav navbar-nav flex-row">
        <li class="nav-item mr-auto"><a class="navbar-brand" href="index.html">
            <div class="brand-logo"></div>
            <h2 class="brand-text mb-0">Swarkul</h2></a></li>
        <li class="nav-item nav-toggle"><a class="nav-link modern-nav-toggle pr-0" data-toggle="collapse"><i class="bx bx-x d-block d-xl-none font-medium-4 primary"></i><i class="toggle-icon bx bx-disc font-medium-4 d-none d-xl-block primary" data-ticon="bx-disc"></i></a></li>
      </ul>
    </div>
    <div class="shadow-bottom"></div>
    <div class="main-menu-content">
      <ul class="navigation navigation-main" id="main-menu-navigation" data-menu="menu-navigation" data-icon-style="lines">
	@if(App\Http\Helper\Admin\Helpers::checkModulePermission('Dashboard'))
		<li class="navigation-header"><span>Dashboard</span></li>
		@if(App\Http\Helper\Admin\Helpers::checkModulePermission('Dashboard','Dashboard'))
			<li class="nav-item {{ App\Http\Helper\Admin\Helpers::handleSiderActive('dashboard') }}">
				<a href="{{ url('admin/dashboard/dashboard') }}"><i class="menu-livicon" data-icon="desktop"></i><span class="menu-title" data-i18n="Email">Dashboard</span></a>
			</li>
		@endif
	@endif
	@if(App\Http\Helper\Admin\Helpers::checkModulePermission('Manage_Admin'))
		<li class="navigation-header"><span>Manage Admin</span></li>
		<li class="nav-item {{ App\Http\Helper\Admin\Helpers::handleSiderActive('admin-user') }}">
			<a href="{{ url('admin/manage-admin/admin-user') }}"><i class="menu-livicon" data-icon="users"></i><span class="menu-title" data-i18n="Email">Admin User</span></a>
		</li>
		<li class="nav-item {{ App\Http\Helper\Admin\Helpers::handleSiderActive('admin-roles') }}">
			<a href="{{ url('admin/manage-admin/admin-roles') }}"><i class="menu-livicon" data-icon="lock"></i><span class="menu-title" data-i18n="Email">Role & Permission</span></a>
		</li>
	@endif
      </ul>
    </div>
  </div>
  <!-- END: Main Menu-->