<!Doctype html>
<html>
<head>
	<meta charset="utf-8">
	<title>Asesoritech</title>
	<link rel="stylesheet" href="<?php echo e(asset('bootstrap/css/bootstrap.css')); ?>">
	<script  src="https://code.jquery.com/jquery-3.3.1.min.js"></script>
	<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js"></script>
	<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js"></script>
	<link  media="all" rel="stylesheet" type="text/css" href="<?php echo e(asset('css/style.css')); ?>">
	<link rel="stylesheet" href="<?php echo e(asset('css/nav-style.css')); ?>">
	<script src="<?php echo e(asset('fontawesome-5.1.0/js/all.js')); ?>"></script>
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<link rel="stylesheet" href="<?php echo e(asset('fontawesome-5.1.0/css/all.css')); ?>">
</head>
<body data-spy="scroll" data-target=".navbar" data-offset="50">
	<nav class="navbar navbar-expand-lg fixed-top navbar-light bg-light">
	  <a class="navbar-brand" href="<?php echo e(route('inicio')); ?>"><img class="img-logo" src="<?php echo e(asset('img/logo5.png')); ?>"></a>
	  <button class="navbar-toggler" id="button-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
			<i class="fas fa-align-justify" style="color:white"></i>
	  </button>
	  <div class="collapse navbar-collapse" id="navbarSupportedContent">
			<ul class="navbar-nav mr-auto">
				<li class="nav-item">
					<a class="nav-link" href="#inicio">Inicio<span class="sr-only">(current)</span></a>
				</li>
				<li class="nav-item ">
					<a class="nav-link" href="#about-us" data-translate="us">Nosotros<span class="sr-only">(current)</span></a>
				</li>
				<li class="nav-item">
					<a class="nav-link" href="#Projects" data-translate="project">Soluciones </a>
				</li>
				<li class="nav-item">
					<a class="nav-link" href="#contacto">Contactos</a>
				</li>
				<?php if(isset(Auth::user()->role) && Auth::user()->role == 'admin'): ?>
				<li class="nav-item" id="entrarhref">
					<a class="nav-link" href="<?php echo e(route('admin')); ?>">
						<?php echo e(ucfirst(@Auth::user()->name)); ?>

					</a>
				</li>
				<?php elseif(isset(Auth::user()->role) && Auth::user()->role == 'cliente'): ?>
				<li class="nav-item" id="entrarhref">
					<a class="nav-link" href="<?php echo e(route('cliente')); ?>">
						<?php echo e(ucfirst(@Auth::user()->name)); ?>

					</a>
				</li>
				<?php elseif(isset(Auth::user()->role) && Auth::user()->role == 'desarrollador'): ?>
				<li class="nav-item" id="entrarhref">
					<a class="nav-link" href="<?php echo e(route('desarrollador')); ?>">
						<?php echo e(ucfirst(@Auth::user()->name)); ?>

					</a>
				</li>
				<?php else: ?>
				<li class="nav-item" id="entrarhref">
					<a class="nav-link" href="<?php echo e(route('login')); ?>">Entrar</a>
				</li>
				<?php endif; ?>
			</ul>
			<ul class="navbar-nav">
				<li class=""></li>
			</ul>
	  </div>
	  <div class="navbar-collapse collapse w-100 order-3 dual-collapse2">
		<ul class="navbar-nav ml-auto">
			<?php if(isset(Auth::user()->role) && Auth::user()->role == 'admin'): ?>
			<li class="nav-item">
				<a class="nav-link" href="<?php echo e(route('admin')); ?>">
					<?php echo e(ucfirst(@Auth::user()->name)); ?>

				</a>
			</li>
			<li class="nav-item">
				<a class="nav-link" href="<?php echo e(route('admin')); ?>"><i class="fas fa-user"></i></a>
			</li>
			<?php elseif(isset(Auth::user()->role) && Auth::user()->role == 'cliente'): ?>
			<li class="nav-item">
				<a class="nav-link" href="<?php echo e(route('cliente')); ?>">
					<?php echo e(ucfirst(@Auth::user()->name)); ?>

				</a>
			</li>
			<li class="nav-item">
				<a class="nav-link" href="<?php echo e(route('cliente')); ?>">
					<i class="fas fa-user"></i>
				</a>
			</li>
			<?php elseif(isset(Auth::user()->role) && Auth::user()->role == 'desarrollador'): ?>
			<li class="nav-item">
				<a class="nav-link" href="<?php echo e(route('desarrollador')); ?>">
					<?php echo e(ucfirst(@Auth::user()->name)); ?>

				</a>
			</li>
			<li class="nav-item">
				<a class="nav-link" href="<?php echo e(route('desarrollador')); ?>"><i class="fas fa-user"></i></a>
			</li>
			<?php else: ?>
			<li class="nav-item">
				<a class="nav-link" href="<?php echo e(route('login')); ?>">Entrar</a>
			</li>
			<?php endif; ?>
		</ul>
	</div>
	</nav>
	<div id="inicio" class="carousel slide" data-ride="carousel">
	  <ol class="carousel-indicators">
	  </ol>
	  <div class="carousel-inner">
		<div class="carousel-item active carousel-element">
			<div class="carousel-caption d-none d-md-block carousel-info">
			</div>
		</div>
	  </div>
	</div>
	<section class="about-us" id="about-us">
		<div class="about-title text-center">
			<h3>Sobre nosotros</h3>
		</div>
		<div class="container about-content col-md-9">
			<p>Somos una empresa competitiva e innovadora en soluciones de tecnologías de información con la resposabilidad de desarrollar e implementar las mejores aplicaciones para nuestros clientes, con el fin de brindar un crecimiento productivo en sus negocios.</p>
		</div>
	</section>
	<section class="Projects" id="Projects">
		<div class="propyects-title-container text-center">
			<h2>Soluciones</h2>
		</div>
		<div class="container"> 
		<div class="row">
				<div class="card Project-card col-md-4">
					<img class="img-project mx-auto" src="<?php echo e(asset('img/loand.png')); ?>">
					<div class="card-body">
						<h5 class="Project-card-title">Sistema facturación</h5>
					</div>
					<div class="middle">
					</div>
				</div>
				<div class="card Project-card col-md-4">
					<img class="img-project mx-auto" src="<?php echo e(asset('img/bill.svg')); ?>">
					<div class="card-body">
						<h5 class="Project-card-title">Sistema de turnos</h5>
					</div>
					<div class="middle">
					</div>
				</div>
				<div class="card Project-card col-md-4">
					<img class="img-project mx-auto" src="<?php echo e(asset('img/bill3.svg')); ?>">
					<div class="card-body">
						<h5 class="Project-card-title">Sistema de prestamos</h5>
					</div>
					<div class="middle">
					</div>
				</div>
		</div>
	</div>
	</section>
	<section class="location container" id="contacto">
		<div class="row">
			<div class="location-map col-md-8">
				<div class="location-map-imagen mx-auto">
				</div>
				<div class="container informacion-location">
					<p><strong>Direccion: </strong> Avenida Nunez De Caceres 110, Mirador Norte , Santo Domingo.</p>
					<p><strong>Telefono: </strong>  (809) 373-9757</p>
					<p><strong>Email: </strong> asesoritechsrl@gmail.com</p>
				</div>
			</div>
			<div class="col-md-4 contact">
				<div class="form-contact-container col-md-12">
					<div class="contact-title-container">
						<h2 class="text-center">Contáctanos</h2>
					</div>
					<form url="<?php echo e(route('saveMessage')); ?>" id="formulario-mensaje" >
						<?php echo e(csrf_field()); ?>

						<div class="nombre-mail input-group">
							<input class="form-control"name="nombre" id="nombre" placeholder="Nombre" required autocomplete = "off">
						</div>
						
						<div class="nombre-mail input-group" style="margin-top: 10px;">
							<input type="email" class="form-control" id="correo" name="correo" placeholder="Correo electrónico" required autocomplete = "off">
						</div>
						<div class="mensaje-container">
							<textarea class="form-control" id="mensaje"  name="mensaje" required> </textarea>
						</div>
						<button type="submit" name="button-mensaje" id="button-mensaje" class="btn btn-warning btn-lg btn-block">Enviar</button>
					</form>
				</div>
			</div>
		</div>
	</section>
	<footer class="footer text-center">
		<small>ASESORITECH TODOS LOS DERECHOS RESERVADOS</small>
	</footer>
	<script src="<?php echo e(asset('js/sweetalert.min.js')); ?>"></script>
	<script src="<?php echo e(asset('js/funciones.js')); ?>"></script>
</body>
</html>

