<!DOCTYPE html>
<html lang="es">
<head>
	<meta charset="utf-8" />
	<title>
	@if (isset($titulo))
	{{$titulo}} -
	@endif
	Incoviba S. A.</title>
	<link rel="stylesheet" type="text/css" href="{{$urls->base}}/css/app.css" />
	<link rel="icon" type="image/png" href="{{$urls->base}}/images/Isotipo 32.png" />
	<script type="text/javascript" src="{{$urls->base}}/js/app.js"></script>

	@stack('styles')
</head>
<body>
<header>
<div class="container">
	<div class="row">
		<div class="col-md-12">
			<div class="logo_cabezal">
				<a href="."><img src="{{$urls->base}}/images/logo_cabezal.png" alt="Logo" /></a>
			</div>
		</div>
	</div>
	<div class="row">
		<div class="col-md-12">
			<nav class="navbar navbar-default">
				<ul class="nav navbar-nav">
					<li><a href=".">Inicio</a></li>
					@if (\App\Contract\Auth::isIn())
					<li role="presentation" class="dropdown">
						<a class="dropdown-toggle" data-toggle="dropdown" href="#" role="button" aria-haspopup="true" aria-expanded="false">
						{{\App\Contract\Auth::User()->name}} <span class="caret"></span>
						</a>
						@include('layout.menu.login')
					</li>
					@else
					<li><a href="{{$urls->base}}/auth/login">Ingresar</a></li>
					@endif
				</ul>
			</nav>
		</div>
	</div>
</div>
</header>
<div class="container">
	<div class="row">
		<div class="col-md-12">
			@yield('content')
		</div>
	</div>
</div>
@include('layout.footer')
@stack('scripts')
</body>
</html>
