<nav class="navbar navbar-main navbar-expand-lg navbar-light bg-white border-bottom">
    <div class="container-fluid">
        <button class="navbar-toggler" type="button" data-action="sidenav-pin" data-target="#sidenav-main">
            <span class="navbar-toggler-icon"></span>
        </button>
        <div class="ml-auto d-flex align-items-center">
            <span class="mr-3 small text-muted">{{ Auth::user()->email ?? '' }}</span>
            <form method="POST" action="{{ route('logout') }}">
                @csrf
                <button class="btn btn-sm btn-outline-primary" type="submit">Logout</button>
            </form>
        </div>
    </div>
</nav>
