<div class="sidebar">
    <div class="sidebar-wrapper">
        <div class="logo">
            @role('admin')
                <a href="{{ route('admin') }}" class="simple-text logo-normal">{{ __(' Aginēēk Dashboard') }}</a>
            @endrole
            @role('player')
                <a href='#' class="simple-text logo-normal">{{ __(' Aginēēk Dashboard') }}</a>
            @endrole
        </div>
        <ul class="nav">
            <li @if ($pageSlug == 'dashboard') class="active " @endif>
                @role('admin')
                <a href="{{ route('admin') }}">
                @endrole
                @role('player')
                <a href="{{ route('player') }}">
                @endrole
                    <i class="tim-icons icon-chart-pie-36"></i>
                    <p>{{ __('Progress') }}</p>
                </a>
            </li>
            <li>
                <a data-toggle="collapse" href="#laravel-examples" aria-expanded="true">
                    <i class="tim-icons icon-user-run" ></i>
                    <span class="nav-link-text" >{{ __('Players') }}</span>
                    <b class="caret mt-1"></b>
                </a>
                <div class="collapse show" id="laravel-examples">
                    <ul class="nav pl-4">
                        <li @if ($pageSlug == 'profile') class="active " @endif>
                            <a href="{{ route('profile.edit')  }}">
                                <i class="tim-icons icon-single-02"></i>
                                <p>{{ __('User Profile') }}</p>
                            </a>
                        </li>
                        <li @if ($pageSlug == 'users') class="active " @endif>
                            <a href="{{ route('user.index')  }}">
                                <i class="tim-icons icon-bullet-list-67"></i>
                                <p>{{ __('Clubs List') }}</p>
                            </a>
                        </li>
                    </ul>
                </div>
            </li>
            <li @if ($pageSlug == 'tutorial') class="active" @endif>
                <a href="{{ route('pages.tutorial') }}">
                    <i class="tim-icons icon-video-66"></i>
                    <p>{{ __('Tutorial') }}</p>
                </a>
            </li>
            <li @if ($pageSlug == 'leaderboard') class="active" @endif>
                <a href="{{ route('pages.leaderboard') }}">
                    <i class="tim-icons icon-trophy"></i>
                    <p>{{ __('Leaderboard') }}</p>
            </li>
        </ul>
    </div>
</div>
