Programacion post
Enviado por cristofer payan • 19 de Noviembre de 2022 • Informe • 1.062 Palabras (5 Páginas) • 40 Visitas
nav class="navbar navbar-expand-lg navbar-light bg-light">
<style>
.activo {
color: white;
font-weight: bold;
background: #be372d;
}
</style>
<div class="container">
<a class="navbar-brand" href="/">
<img src="{{ asset('inicio/img/food logo.png') }}" alt="" / height="55px">
</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbars-rs-food"
aria-controls="navbars-rs-food" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbars-rs-food">
<ul class="navbar-nav ml-auto">
<li class="nav-item"><a class="nav-link {{ request()->routeIs('welcome') ? 'activo' : '' }}"
href="/">Inicio</a></li>
<li class="nav-item"><a class="nav-link {{ request()->routeIs('food.menu') ? 'activo' : '' }}"
href="{{ route('food.menu') }}">Menu</a></li>
<li class="nav-item"><a class="nav-link {{ request()->routeIs('food.about') ? 'activo' : '' }}"
href="{{ route('food.about') }}">Acerca</a></li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" id="dropdown-a" data-toggle="dropdown">Más
de</a>
<div class="dropdown-menu" aria-labelledby="dropdown-a">
<a class="dropdown-item {{ request()->routeIs('food.reservation') ? 'activo' : '' }}"
href="{{ route('food.reservation') }}">Reservacion</a>
<a class="dropdown-item {{ request()->routeIs('food.stuff') ? 'activo' : '' }}"
href="{{ route('food.stuff') }}">Stuff</a>
...