<nav class="navbar navbar-fixed-top">
        <div class="container-fluid">
          <div class="navbar-header">
            <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
              <span class="sr-only">Toggle navigation</span>
              <span class="icon-bar"></span>
              <span class="icon-bar"></span>
              <span class="icon-bar"></span>
          </button>
            <a class="navbar-brand" style="width: 205px;margin-top: -10px;" href="{{ url('/dashboard/orders') }}"><img src="{{ asset('images/logo.png') }}" class=""></a>
          </div>
          <div id="navbar" class="navbar-collapse collapse">
            
            <ul class="nav navbar-nav navbar-right mt-10">
                <form class="navbar-form navbar-left" role="search"  method="get" action="{{ url('/dashboard/orders') }}">
                    <div class="form-group">
                        <input type="text" class="form-control" name="q" value="{{ app('request')->input('q') }}" placeholder="Search order">
                    </div>
                </form>
                <li class="dropdown avatar-wrapper">
                    <img src="{{ asset('images/avatar.png') }}" class="user-photo" alt="">
                    <div class="user">
                      <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">{{ Auth::user()->firstname }} <span class="caret"></span></a>
                      <ul class="dropdown-menu">
                        <li>
                            <a href="{{ route('logout') }}"
                                onclick="event.preventDefault();
                                         document.getElementById('logout-form').submit();">
                                Sign Out
                            </a>

                            <form id="logout-form" action="{{ route('logout') }}" method="POST" style="display: none;">
                                {{ csrf_field() }}
                            </form>
                        </li>
                      </ul>
                    </div>
                </li>
            </ul>
           
          </div><!--/.nav-collapse -->
        </div><!--/.container-fluid -->
      </nav>
