<aside class="sidebar">
    @php
        $vaiTro = Session::get('VaiTro');
    @endphp
    <a class="sidebar__nav-group-button sidebar__nav-link {{($active==1)? 'active' : '' }}" href="{{route('admin')}}">
        <i class="fa-solid fa-house sidebar__nav-link-icon"></i>
        <p class="sidebar__nav-link-name">Trang chủ</p>
    </a>
    <details class="sidebar__nav-group" {{($active==3)? 'open' : '' }}>
        <summary class="sidebar__nav-group-button {{($active==3)? 'active' : '' }}">
            <a class="sidebar__nav-link {{($active==3)? 'active' : '' }}" href="{{route('quanlythongtin')}}">
                <i class="fa-solid fa-file-invoice sidebar__nav-link-icon"></i>
                <p class="sidebar__nav-link-name">Quản lý thông tin</p>
            </a>
        </summary>
        <div class="sidebar__child-nav-container">
            <a href="{{route('nhapdulieutrungtuyen')}}" class="sidebar__nav-link">
                <p class="sidebar__nav-link-name">Nhập dữ liệu trúng tuyển</p>
            </a>
            <a href="{{route('suabangdulieutrungtuyen')}}" class="sidebar__nav-link">
                <p class="sidebar__nav-link-name">Sửa bảng dữ liệu trúng tuyển</p>
            </a>
        </div>
    </details>
    @if ($vaiTro == 'SYSTEM_ADMIN')
        <a class="sidebar__nav-group-button sidebar__nav-link {{($active==5)? 'active' : '' }}" href="{{route('nguoidung')}}">
            <i class="fa-solid fa-circle-user sidebar__nav-link-icon"></i>
            <p class="sidebar__nav-link-name">Quản lý người dùng</p>
        </a>
    @else
        <a class="sidebar__nav-group-button sidebar__nav-link {{($active==5)? 'active' : '' }}" href="{{route('thongtincanhan')}}">
            <i class="fa-solid fa-circle-user sidebar__nav-link-icon"></i>
            <p class="sidebar__nav-link-name">Thông tin cá nhân</p>
        </a>
    @endif
</aside>
