<nav class="navbar navbar-expand-lg navbar-light bg-faded">
    <div class="container-fluid">
        <div class="navbar-header">
            <button type="button" data-toggle="collapse" class="navbar-toggle d-lg-none float-left"><span
                    class="sr-only">Toggle navigation</span><span class="icon-bar"></span><span class="icon-bar"></span><span
                    class="icon-bar"></span>
            </button>
            <span class="d-lg-none navbar-right navbar-collapse-toggle">
                <a class="open-navbar-container"><i class="ft-more-vertical"></i></a>
            </span>
        </div>
        <div class="navbar-container">
            <div id="navbarSupportedContent" class="collapse navbar-collapse">
                <ul class="navbar-nav">
{{--                    <li class="dropdown nav-item mt-1">--}}
{{--                        <a id="dropdownBasic" href="#" data-toggle="dropdown" class="nav-link position-relative dropdown-toggle">--}}
{{--                            <i class="ft-flag blue-grey darken-4"></i><span--}}
{{--                                class="selected-language d-none"></span></a>--}}
{{--                        <div class="dropdown-menu dropdown-menu-right">--}}
{{--                            <div class="arrow_box_right">--}}
{{--                                @foreach($language as $item)--}}
{{--                                    <a href="javascript:;" class="dropdown-item py-1"><span> {{ __($item->name) }}</span></a>--}}
{{--                                @endforeach--}}
{{--                            </div>--}}
{{--                        </div>--}}
{{--                    </li>--}}
                    <li class="dropdown nav-item mr-0"><a id="dropdownBasic3" href="#" data-toggle="dropdown" class="nav-link position-relative dropdown-user-link dropdown-toggle"><span class="avatar avatar-online"><img id="navbar-avatar" src="{{Auth::user()->image ? get_image(config('constants.user.profile.path') .'/'.Auth::user()->image) : asset('assets/templates/minimul_new/app-assets/img/portrait/small/avatar-s-3.jpg')}}" alt="avatar"/></span>
                            <p class="d-none">User Settings</p></a>
                        <div aria-labelledby="dropdownBasic3" class="dropdown-menu dropdown-menu-right">
                            <div class="arrow_box_right">
                                <a href="{{route('user.edit-profile')}}" class="dropdown-item py-1"><i class="ft-edit mr-2"></i><span>@lang('Profile')</span></a>
                                <a href="{{route('user.change-password')}}" class="dropdown-item py-1"><i class="ft-settings mr-2"></i><span>@lang('Change Password')</span></a>
                                <div class="dropdown-divider"></div>
                                <a href="{{route('user.logout')}}" class="dropdown-item"><i class="ft-power mr-2"></i><span>@lang('Logout')</span></a>
                            </div>
                        </div>
                    </li>
                </ul>
            </div>
        </div>
    </div>
</nav>
