<div class="row shadow mb-3">
	<div class="col-12 pl-0">
		<nav class="navbar navbar-expand-lg navbar-light bg-light ">
			<div class="collapse navbar-collapse" id="navbarContent">
				<ul class="navbar-nav">
					@foreach ($categories as $category)
						<li class="nav-item dropdown megamenu">
							@if (isset($category['children']))
								<a id="megamenu_{{ $category['id'] }}" href="{{ route('Shop.Categories.show', ['id' => $category['id']]) }}" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" class="nav-link dropdown-toggle font-weight-bold text-uppercase">
									{{ $category['name'] }}
								</a>
								<div aria-labelledby="megamenu_{{ $category['id'] }}" class="dropdown-menu border-0 p-0 m-0">
									@include('Shop.layout.partials.megamenu')
								</div>
							@else
								<a href="{{ route('Shop.Categories.show', ['id' => $category['id']]) }}" class="nav-link font-weight-bold text-uppercase">
									{{ $category['name'] }}
								</a>
							@endif
						</li>
					@endforeach
				</ul>
			</div>
			<div class="float-right p-3">
				<span style="font-size: 1.2em; font-weight: 600;">
					Variétés Paysannes de la Semence à l'Assiette
				</span>
			</div>
		</nav>
	</div>
</div>