@if (siberfx_auth()->check())
    <aside data-menu-theme={{ $theme ?? 'system' }} class="{{ siberfx_theme_config('classes.sidebar') ?? 'navbar navbar-vertical '.(($right ?? false) ? 'navbar-right' : '').' navbar-expand-lg navbar-'.($theme ?? 'light') }} @if(siberfx_theme_config('options.sidebarFixed')) navbar-fixed @endif">
        <div class="container-fluid">
            <ul class="nav navbar-nav d-flex flex-row align-items-center justify-content-between w-100 d-block d-lg-none">
                @include(siberfx_view('layouts.partials.mobile_toggle_btn'), ['forceWhiteLabelText' => true])
                <div class="d-flex flex-row align-items-center">
                    @include(siberfx_view('inc.topbar_left_content'))
                    <li class="nav-item me-2">
                        @includeWhen(siberfx_theme_config('options.showColorModeSwitcher'), siberfx_view('layouts.partials.switch_theme'))
                    </li>
                    @include(siberfx_view('inc.topbar_right_content'))
                    @include(siberfx_view('inc.menu_user_dropdown'))
                </div>
            </ul>
            <h1 class="navbar-brand d-none d-lg-block align-self-center mb-3">
                <a class="h2 text-decoration-none mb-0" href="{{ url(siberfx_theme_config('home_link')) }}" title="{{ siberfx_theme_config('project_name') }}">
                    {!! siberfx_theme_config('navbar_logo') !!}
                </a>
            </h1>
            @includeWhen($shortcuts ?? true, siberfx_view('layouts.partials.sidebar_shortcuts'))
            <div class="collapse navbar-collapse" id="mobile-menu">
                <ul class="navbar-nav pt-lg-3">
                    @include(siberfx_view('layouts._vertical.sidebar_content_top'))
                    @include(siberfx_view('inc.sidebar_content'))
                </ul>
            </div>
        </div>
    </aside>
@endif
