<!-- Main navbar -->
<style type="text/css">
.logo{
    color: #ffffff !important;
    margin: 0px 0px 0px 30px;
}
</style>
<div class="navbar navbar-expand-md navbar-dark bg-indigo navbar-static">
    <div class="navbar-brand">
        <a href="{{url('/admin')}}" class="d-inline-block">
            {{-- <img src="{{ asset('/assets/global/images/logo_light.png')}}" alt=""> --}}
            <h3 class="logo"><i class="icon-folder-search mr-1"></i>CourseFINDER</h3>
        </a>
    </div>

    <div class="d-md-none">
        <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbar-mobile">
            <i class="icon-tree5"></i>
        </button>
        <button class="navbar-toggler sidebar-mobile-main-toggle" type="button">
            <i class="icon-paragraph-justify3"></i>
        </button>
    </div>

    <div class="collapse navbar-collapse" id="navbar-mobile">
        <ul class="navbar-nav">
            <li class="nav-item">
                <a href="#" class="navbar-nav-link sidebar-control sidebar-main-toggle d-none d-md-block">
                    <i class="icon-paragraph-justify3"></i>
                </a>
            </li>
        </ul>

        <ul class="navbar-nav ml-md-auto">

            <li class="nav-item">
                <a href="{{ url('/admin/logout') }}" class="navbar-nav-link"
                   onclick="event.preventDefault();
                                     document.getElementById('logout-form').submit();">
                    <i class="icon-switch2"></i>
                    <span class="d-md-none ml-2">Logout</span>
                </a>
                <form id="logout-form" action="{{ url('/admin/logout') }}" method="POST" style="display: none;">
                    {{ csrf_field() }}
                </form>
            </li>
        </ul>
    </div>
</div>
<!-- /main navbar -->