<nav id="mainNav" class="navbar navbar-default navbar-fixed-top">
        <div class="container-fluid">
            <!-- Brand and toggle get grouped for better mobile display -->
            <div class="navbar-header">
                <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
                    <span class="sr-only">Toggle navigation</span> Menu <i class="fa fa-bars"></i>
                </button>
                <a class="navbar-brand page-scroll" href="/">TB Silalahi Center</a>
            </div>

            <!-- Collect the nav links, forms, and other content for toggling -->
            <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
                <ul class="nav navbar-nav navbar-right">
                    <!--
                    <li>
                        <a class="page-scroll" href="#about">About</a>
                    </li>
                    <li>
                        <a class="page-scroll" href="#services">Services</a>
                    </li>
                    <li>
                        <a class="page-scroll" href="#portfolio">Portfolio</a>
                    </li>
                    <li>
                        <a class="page-scroll" href="#contact">Contact</a>
                    </li>
                    -->
                    @if(Sentinel::check())
                    <li role="presentation">
                        <form action="/logout" method="POST" id="logout-form">
                            {{ csrf_field() }}
                            <a href="#" onclick="document.getElementById('logout-form').submit()">Logout</a>
                        </form>
                    </li>
                    @else
                        <li>
                            <a class="page-scroll" href="/login">Login</a>
                        </li>
                        <li role="presentation">
                            <a class="page-scroll" href="/register">Register</a>
                        </li>
                    @endif
                    
                </ul>
            </div>
            <!-- /.navbar-collapse -->
        </div>
        <!-- /.container-fluid -->
    </nav>
    
{{--<!-- <div class="header clearfix">--}}
    {{--<nav>--}}
        {{--<ul class="nav nav-pills pull-right">--}}
            {{--@if(Sentinel::check())--}}
                {{--<li role="presentation">--}}
                    {{--<form action="/logout" method="POST" id="logout-form">--}}
                        {{--{{ csrf_field() }}--}}
                        {{--<a href="#" onclick="document.getElementById('logout-form').submit()">Logout</a>--}}
                    {{--</form>--}}
                {{--</li>--}}
            {{--@else--}}
                {{--<li role="presentation"><a href="/login">Login</a></li>--}}
                {{--<li role="presentation"><a href="/register">Register</a></li>--}}
            {{--@endif--}}
        {{--</ul>--}}
    {{--</nav>--}}
    {{--<h3 class="text-muted">--}}
        {{--@if(Sentinel::check())--}}
            {{--Hello, {{Sentinel::getUser()->first_name }}--}}
        {{--@else--}}
            {{--Authentication--}}
        {{--@endif--}}
    {{--</h3>--}}
{{--</div> -->--}}