<div class="main-sidebar sidebar-style-2">
    <aside id="sidebar-wrapper">
        <div class="sidebar-brand">
            <a href="{{ route('dashboard') }}">
                <span class="logo-name">{{ env('APP_NAME') }}</span>
            </a>
        </div>
        <ul class="sidebar-menu">
            <li class="menu-header">Main</li>
            <li @class(['dropdown', 'active' => request()->is('dashboard')])>
                <a href="{{ route('dashboard') }}" class="nav-link">
                    <i data-feather="monitor"></i>
                    <span>Dashboard</span>
                </a>
            </li>

            <li @class(['dropdown', 'active' => request()->is('agents*')])>
                <a href="{{ route('agents.index') }}" class="nav-link">
                    <i data-feather="users"></i>
                    <span>Agents</span>
                </a>
            </li>
            <li @class(['dropdown', 'active' => request()->routeIs('games.index')])>
                <a href="{{ route('games.index') }}" class="nav-link">
                    <i data-feather="book"></i>
                    <span>Games</span>
                </a>
            </li>
            <li @class([
                'dropdown',
                'active' => request()->routeIs('games.current-running'),
            ])>
                <a href="{{ route('games.current-running') }}" class="nav-link">
                    <i data-feather="refresh-cw"></i>
                    <span>Current Running Game</span>
                </a>
            </li>
            <li @class(['dropdown', 'active' => request()->routeIs('bettings.*')])>
                <a href="{{ route('bettings.index') }}" class="nav-link">
                    <i data-feather="activity"></i>
                    <span>Bettings</span>
                </a>
            </li>
            <li @class(['dropdown', 'active' => request()->is('transactions*')])>
                <a href="{{ route('transactions.index') }}" class="nav-link">
                    <i data-feather="dollar-sign"></i>
                    <span>Transactions</span>
                </a>
            </li>
            <li @class(['dropdown', 'active' => request()->is('settings**')])>
                <a href="{{ route('settings.index') }}" class="nav-link">
                    <i data-feather="settings"></i>
                    <span>Settings</span>
                </a>
            </li>
        </ul>
    </aside>
</div>
