@inject('request', 'Illuminate\Http\Request')

<nav class="header__navbar navbar-default">
    <div class="header__navContainer">
        <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="header__brand" href="/" aria-label="Daas">
                <img src="{{url('img/logo-daas.svg')}}" class="header__brandImg"/>
            </a>
        </div>
        <div id="navbar" class="navbar-collapse collapse">
                <ul class="header__menu">
                    <li><a class="{{ $request->segment(1) == '' ? 'active' : '' }}" href="{{url('/')}}">Inicio</a></li>
                    <li><a class="{{ $request->segment(1) == 'features' ? 'active' : '' }}" href="{{url('/features')}}">Funcionalidades</a></li>
                    <li><a class="{{ $request->segment(1) == 'about' ? 'active' : '' }}" href="{{url('/about')}}">Sobre nosotros</a></li>
                    <li><a class="{{ $request->segment(1) == 'contact' ? 'active' : '' }}" href="{{url('/contact')}}">Contacto</a></li>
                    <!--<li><a type="button" href="#" class="header__button">Solicitar demo</a></li>-->
                </ul>
        </div>
    </div>
</nav>
