<header class="main-header">

    <!-- Logo -->
    <a href="{{ route('showHome') }}" class="logo" style="min-height: 52px;">
        <!-- mini logo for sidebar mini 50x50 pixels -->
        <span class="logo-mini"><b>W</b>Pic</span>
        <!-- logo for regular state and mobile devices -->
        <span class="logo-lg"><b>Well</b>Pic</span>
    </a>

    <!-- Header Navbar: style can be found in header.less -->
    <nav class="navbar navbar-static-top">
        <!-- Sidebar toggle button-->
        <a href="#" class="sidebar-toggle" data-toggle="push-menu" role="button">
            <span class="sr-only">Toggle navigation</span>
        </a>
        <!-- Navbar Right Menu -->
        <div class="navbar-custom-menu">
            <ul class="nav navbar-nav">
                <!-- User Account: style can be found in dropdown.less -->
                <li class="dropdown user user-menu">
                    <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                        <img src="{{ route('showHome') }}/{{ Auth::user()->image }}" class="user-image" alt="User Image">
                        <span class="hidden-xs">{{ Auth::user()->last_name }} {{ Auth::user()->first_name }}</span>
                    </a>
                    <ul class="dropdown-menu">
                        <!-- User image -->
                        <li class="user-header">
                            <img src="{{ route('showHome') }}/{{ Auth::user()->image }}" class="img-circle" alt="User Image">

                            <p>
                                {{ Auth::user()->last_name }} {{ Auth::user()->first_name }}
                                <small>Member depuis {{ formattedDateNoTime(Auth::user()->created_at) }}</small>
                            </p>
                        </li>
                        <!-- Menu Body -->

                        <!-- Menu Footer-->
                        <li class="user-footer">
                            <div class="pull-right">
                                <a href="{{ route('handleLogout') }}" class="btn btn-default btn-flat">Déconnexion</a>
                            </div>
                        </li>
                    </ul>
                </li>
            </ul>
        </div>

    </nav>
</header>