<div class="dlabnav">
    <div class="dlabnav-scroll">
        <ul class="metismenu" id="menu">
            <li class="{{ request()->routeIs('dashboard') ? 'mm-active' : '' }}">
                <a href="{{ route('dashboard') }}" aria-expanded="false">
                    <i class="bi bi-grid"></i>
                    <span class="nav-text">Dashboard</span>
                </a>
            </li>
            @if (auth()->user()->isSuperAdmin())
                <li class="{{ request()->routeIs('promoters.*') ? 'mm-active' : '' }}">
                    <a href="{{ route('promoters.index') }}" aria-expanded="false">
                        <i class="bi bi-people"></i>
                        <span class="nav-text">Promoters</span>
                    </a>
                </li>
            @endif
            @if (auth()->user()->isSuperAdmin() || auth()->user()->isPromoter())
                <li class="{{ request()->routeIs('authorised-partners.*') ? 'mm-active' : '' }}">
                    <a href="{{ route('authorised-partners.index') }}" aria-expanded="false">
                        <i class="bi bi-building"></i>
                        <span class="nav-text">Authorised Partners</span>
                    </a>
                </li>
            @endif
            @if (auth()->user()->isSuperAdmin())
                <li class="{{ request()->routeIs('courseware-categories.*') ? 'mm-active' : '' }}">
                    <a href="{{ route('courseware-categories.index') }}" aria-expanded="false">
                        <i class="bi bi-tags"></i>
                        <span class="nav-text">Categories</span>
                    </a>
                </li>
            @endif
            @if (auth()->user()->isSuperAdmin() || auth()->user()->isAuthorisedPartner())
                <li class="{{ request()->routeIs('courseware-partners.*') ? 'mm-active' : '' }}">
                    <a href="{{ route('courseware-partners.index') }}" aria-expanded="false">
                        <i class="bi bi-journal-bookmark"></i>
                        <span class="nav-text">Courseware Partners</span>
                    </a>
                </li>
            @endif
        </ul>
        <div class="copyright">
            <p><strong>{{ config('app.name') }} Admin</strong> &copy; {{ date('Y') }} All Rights Reserved</p>
        </div>
    </div>
</div>
