Benjamin Völkl 2024-01-14 16:20:12 +01:00
parent 9ab0e8c7ec
commit 95ff38a492
1 changed files with 7 additions and 11 deletions

View File

@ -59,7 +59,7 @@
@else
<div style="border-top: 8px solid {{$_primary_ci_color}};"></div>
@endif
<nav class="navbar navbar-expand-lg py-3" style="background-color: {{$_menue_background_color}};">
<nav class="navbar navbar-expand-lg py-3" style="background-color: {{$_menue_background_color}};" role="navigation">
<div class="container ">
<a class="navbar-brand " href="{{url('/')}}">
<x-img src="{{$logo}}" alt="{{config('settings.name')}}" height="60px" sizes="220px" class="fw-bold" style="color: {{$_primary_ci_color}};" loading="eager" blur="off"/>
@ -69,7 +69,7 @@
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse justify-content-end" id="navbarSupportedContent">
<ul class="navbar-nav fs-5">
<div class="navbar-nav fs-5">
@if($type->get("Produkte")->status)
<a class="nav-item nav-link {{request()->is('produkt*')?'active':''}}" href="{{url('/produkte')}}">Produkte</a>
@endif
@ -94,24 +94,20 @@

<a class="nav-item nav-link {{request()->is('kontakt*')?'active':''}}" href="{{url('/kontakt')}}">Kontakt</a>
@if($_warenkorb_aktiv)
<li class="nav-item ms-md-5">
<a href="" data-bs-toggle="modal" data-bs-target="#shopping-cart" class="position-relative d-block">
<a class="nav-item ms-md-5" data-bs-toggle="modal" data-bs-target="#shopping-cart" class="position-relative d-block">
<svg style="fill: {{$_primary_ci_color}}; width: 30px; margin-top: 6px;" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path d="M352 128C352 57.42 294.579 0 224 0 153.42 0 96 57.42 96 128H0v304c0 44.183 35.817 80 80 80h288c44.183 0 80-35.817 80-80V128h-96zM224 48c44.112 0 80 35.888 80 80H144c0-44.112 35.888-80 80-80zm176 384c0 17.645-14.355 32-32 32H80c-17.645 0-32-14.355-32-32V176h48v40c0 13.255 10.745 24 24 24s24-10.745 24-24v-40h160v40c0 13.255 10.745 24 24 24s24-10.745 24-24v-40h48v256z"></path></svg>
<span class="position-absolute badge rounded-pill bg-danger js-product-counter" style="display: none; bottom: -10px; right: -10px;">0</span>
</a>
</li>
@endif
@if($_menue_button)
<li class="nav-item ms-md-5">
<a href="{{$_menue_button_link}}" class="btn btn-primary position-relative d-block mt-1 text-light" @if($_menue_button_external) target="_blank" @endif>
<a href="{{$_menue_button_link}}" class="btn btn-primary position-relative d-block mt-1 text-light nav-item ms-md-5" @if($_menue_button_external) target="_blank" @endif>
{{$_menue_button_text}}
@if($_menue_button_external)
<svg style="fill: currentColor; width: 13px; margin-left: 2px;" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M336 0c-8.8 0-16 7.2-16 16s7.2 16 16 16H457.4L212.7 276.7c-6.2 6.2-6.2 16.4 0 22.6s16.4 6.2 22.6 0L480 54.6V176c0 8.8 7.2 16 16 16s16-7.2 16-16V16c0-8.8-7.2-16-16-16H336zM64 32C28.7 32 0 60.7 0 96V448c0 35.3 28.7 64 64 64H416c35.3 0 64-28.7 64-64V304c0-8.8-7.2-16-16-16s-16 7.2-16 16V448c0 17.7-14.3 32-32 32H64c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32H208c8.8 0 16-7.2 16-16s-7.2-16-16-16H64z"/></svg>
@endif
</a>
</li>
@endif
</ul>
</div>
</div>
@endif
</div>