{{-- Top menu items (ordered left) --}}
@if (siberfx_auth()->check())
    <ul class="nav navbar-nav d-md-down-none">
        {{-- Topbar. Contains the left part --}}
        @include(siberfx_view('inc.topbar_left_content'))
    </ul>
@endif

{{-- Top menu right items (ordered right) --}}
<ul class="nav navbar-nav d-flex flex-row flex-shrink-0 @if(siberfx_theme_config('html_direction') == 'rtl') me-0 @endif">
    @if (siberfx_auth()->guest())
        <li class="nav-item">
            <a class="nav-link" href="{{ route('siberfx.auth.login') }}">{{ trans('siberfx::base.login') }}</a>
        </li>
        @if (config('siberfx.base.registration_open'))
            <li class="nav-item">
                <a class="nav-link" href="{{ route('siberfx.auth.register') }}">{{ trans('siberfx::base.register') }}</a>
            </li>
        @endif
    @else
        {{-- Topbar. Contains the right part --}}
        <li class="nav-item">
            @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'))
    @endif
</ul>
