mivita/resources/views/web/layouts/includes/header.blade.php
2025-08-12 18:01:59 +02:00

118 lines
3.5 KiB
PHP

<div id="header" class="sticky clearfix">
<style>
#header li.quick-cart .quick-cart-box {
-webkit-box-shadow: 0px 2px 2px 0px rgba(0,0,0,0.3);
-moz-box-shadow: 0px 2px 2px 0px rgba(0,0,0,0.3);
box-shadow: 0px 2px 2px 0px rgba(0,0,0,0.3);
}
#header li.quick-cart .quick-cart-footer > span {
background-color: transparent;
}
.quick-cart-wrapper span.price {
color: #666666;
font-size: 1.1em;
}
.quick-cart-wrapper h5 {
margin-bottom: 5px;
}
#header li.quick-cart .quick-cart-footer {
padding: 10px 10px 10px 10px;
background-color: #ebebeb;
}
#header li.quick-cart .quick-cart-box {
padding-bottom: 0;
}
#header ul.nav-second-main {
margin-top: 25px;
}
@media only screen and (max-width: 992px){
#header ul.nav-second-main
{
margin-top: 0px;
}
}
#header.fixed ul.nav-second-main {
margin-top: 8px;
}
</style>
<div id="topBar">
<div class="container">
<ul class="top-links list-inline pull-right">
<li>
<a class="dropdown-toggle no-text-underline" data-toggle="dropdown" href="#"><span style="text-transform:none;">
{{ __('website.language') }} :</span> <img style="height: 16px" width="16" src="{{ asset('images/flags/'.strtolower(\App::getLocale()).'.svg') }}" alt="lang">
</a>
<ul class="dropdown-menu pull-right">
@foreach (\App\Services\UserService::getTransChange() as $code => $name)
<li>
<a @if(\App::getLocale() === $code) class="active" @endif tabindex="-1" href="{{ route('translation', [$code]) }}">
<img style="height: 16px" width="16" src="{{ asset('images/flags/'.strtolower($code).'.svg') }}" alt="lang"> &nbsp; <span style="text-transform:none;">{{ $name }}</span>
</a>
</li>
@endforeach
</ul>
</li>
</ul>
</div>
</div>
<header id="topNav">
<div class="container">
<!-- Mobile Menu Button -->
<button class="btn btn-mobile" data-toggle="collapse" data-target=".nav-main-collapse">
<i class="fa fa-bars"></i>
</button>
<!-- Logo -->
<a class="logo pull-left" href="{{ url('/') }}">
<img class="fixed_top" src="/assets/images/logo_mivita.png" alt="mivita" />
<img class="fixed_scroll" src="/assets/images/logo_mivita_fixed.png" alt="mivita" />
</a>
<div class="navbar-collapse pull-right nav-main-collapse collapse">
<nav class="nav-main">
<ul id="topMain" class="nav nav-pills nav-main nav-onepage">
<li class="{{ Request::is('/') ? ' active' : '' }}">
<a href="/">
{{ __('website.start') }}
</a>
</li>
<li class="{{ Request::is('aloevera') ? ' active' : '' }}">
<a href="{{url('/aloevera')}}">
{{ __('website.aloe_vera') }}
</a>
</li>
<li class="{{ Request::is('produkte/*') ? ' active' : '' }}">
<a href="{{url('/produkte/alle-produkte')}}/">
{{ __('website.productworld') }}
</a>
</li>
@if(!$user_shop)
<li class="">
<a href="https://mivita.shop/produkte/alle-produkte">
{{ __('website.shop') }}
</a>
</li>
@endif
<li class="{{ Request::is('geschaeftsmodell/*') ? ' active' : '' }}">
<a href="{{url('/geschaeftsmodell/karrierechancen')}} ">
{{ __('website.career_opportunities') }}
</a>
</li>
<li class="{{ Request::is('kontakt') ? ' active' : '' }}">
<a href="{{ url('kontakt') }}">
{{ __('website.contact') }}
</a>
</li>
</ul>
</nav>
</div>
</div>
</header>
<!-- /Top Nav -->
</div>