This commit is contained in:
Kevin Adametz 2024-08-05 12:05:24 +02:00
parent 04d677d37a
commit bfa3bb1df4
1191 changed files with 637397 additions and 10619 deletions

View file

@ -1,5 +1,4 @@
<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);
@ -53,8 +52,11 @@
#topBar ul.top-links > li > a {
display: inline-block;
}
#topBar ul.top-links > li a.active {
background-color: #b5c49b;
}
</style>
@if(isset($mylangs))
<style>
@media only screen and (max-width: 992px) {
/* Force 60px */
@ -63,18 +65,35 @@
}
}
</style>
@if(isset($mylangs))
<div id="topBar">
<div class="container">
<ul class="top-links list-inline pull-right">
<li>
@if (isset($mylangs[\App\Services\Shop::getUserShopLang()]))
@php($country = $mylangs[\App\Services\Shop::getUserShopLang()])
<span>Lieferland:</span> <a id="sidepanel_btn" href="#" class="no-text-underline"><img class="flag-lang" src="/images/flags/{{ strtolower($country->code) }}.png" width="16" height="11" alt="lang" /> {{ $country->getLocated() }}</a>
<span>{{ __('Delivery country') }}:</span> <a id="sidepanel_btn" href="#" class="no-text-underline"><img class="flag-lang" src="/images/flags/{{ strtolower($country->code) }}.svg" width="16" height="11" alt="lang" /> {{ $country->getLocated() }}</a>
@endif
</li>
<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>
{{-- <li class="text-welcome hidden-xs">Welcome to Smarty, <strong>John Doe</strong></li>
{{--
<li class="text-welcome hidden-xs">Welcome to Smarty, <strong>John Doe</strong></li>
<li>
<a class="dropdown-toggle no-text-underline" data-toggle="dropdown" href="#"><i class="fa fa-user hidden-xs"></i> MY ACCOUNT</a>
<ul class="dropdown-menu pull-right">
@ -92,6 +111,7 @@
</div>
@endif
<header id="topNav">
<div class="container">
@ -117,18 +137,20 @@
<nav class="nav-main">
<ul id="topMain" class="nav nav-pills nav-main nav-onepage">
<li class="">
@if(isset($order_reference))
<a href="{{ Util::getUserShopBackUrl($order_reference) }}">
<i class="fa fa-chevron-left"></i> zurück zum Shop
</a>
@else
<a href="{{ Util::getUserCardBackUrl('/card/show') }}">
@if(Util::getUserPaymentFor() > 1)
<i class="fa fa-chevron-left"></i> zurück {{ Util::getMyMivitaUrl(false) }}
@else
<i class="fa fa-chevron-left"></i> zurück zum Warenkorb
@endif
</a>
@if(Util::getUserPaymentFor() != 6)
@if(isset($order_reference))
<a href="{{ Util::getUserShopBackUrl($order_reference) }}">
<i class="fa fa-chevron-left"></i> {{ __('payment.back_to_shop') }}
</a>
@else
<a href="{{ Util::getUserCardBackUrl('/card/show') }}">
@if(Util::getUserPaymentFor() > 1)
<i class="fa fa-chevron-left"></i> {{ __('back') }} {{ Util::getMyMivitaUrl(false) }}
@else
<i class="fa fa-chevron-left"></i> {{ __('payment.back_to_shop_shopping_cart') }}
@endif
</a>
@endif
@endif
</li>
</ul>
@ -150,7 +172,7 @@
@endif
</a>
<div class="quick-cart-box" style="display: @if(Session::has('show-card-after-add')) block @else none @endif">
<h4>Warenkorb</h4>
<h4>{{ __('weborder.shopping_cart') }} </h4>
<div class="quick-cart-wrapper">
@foreach(Yard::instance('shopping')->content() as $row)
@ -169,20 +191,26 @@
<!-- quick cart footer -->
<div class="quick-cart-footer clearfix">
<div class="text-left">
<strong>Zwischensumme:</strong> <strong class="pull-right">{{ Yard::instance('shopping')->total() }} </strong>
<strong>{{ __('order.subtotal') }}:</strong> <strong class="pull-right">{{ Yard::instance('shopping')->total() }} </strong>
<br>
@if(Yard::instance('shopping')->getUserTaxFree())
<em style="font-size: 0.9em">exkl. MwSt. zzgl. Versandkosten</em>
<em style="font-size: 0.9em">{{ __('weborder.excl_VAT_plus_shipping_costs') }} </em>
@else
<em style="font-size: 0.9em">inkl. MwSt. zzgl. Versandkosten</em>
<em style="font-size: 0.9em">{{ __('weborder.incl_VAT_plus_shipping_costs') }} </em>
@endif
@if(Yard::instance('shopping')->getShippingFree())
<em style="font-size: 0.9em"><br>Versandkostenfrei ab {{ formatNumber(Yard::instance('shopping')->getShippingFree()) }} &euro;**</em>
<em style="font-size: 0.9em"><br>{{ __('weborder.free_shipping_costs_from') }} {{ formatNumber(Yard::instance('shopping')->getShippingFree()) }}
@if(Yard::instance('shopping')->getShippingFreeMissingValue() > 0)
<br>{!! __('weborder.only_missing_free_shipping_costs_from', ['value'=> formatNumber(Yard::instance('shopping')->getShippingFreeMissingValue())]) !!}
@else
<br><i class="fa fa-check"></i> {{ __('weborder.free_shipping_costs_from') }}
@endif
</em>
@endif
</div>
<a href="{{ url(Util::getPostRoute().'card/show') }}" class="btn btn-primary btn-text-500 btn-block mt-3 faa-parent animated-hover">zum Warenkorb <i class="fa fa-shopping-cart faa-horizontal"></i></a>
<a href="{{ url(Util::getPostRoute().'card/show') }}" class="btn btn-primary btn-text-500 btn-block mt-3 faa-parent animated-hover">{{ __('weborder.to_shopping_cart') }} <i class="fa fa-shopping-cart faa-horizontal"></i></a>
<a href="#" class="btn btn-sm btn-default mt-3 quick-cart-box-close">schließen</a>
<a href="#" class="btn btn-sm btn-default mt-3 quick-cart-box-close">{{ __('close') }}</a>
</div>
</div>
@ -198,27 +226,27 @@
<ul id="topMain" class="nav nav-pills nav-main nav-onepage">
<li class="{{ Request::is('/') ? ' active' : '' }}">
<a href="/">
Start
{{ __('website.start') }}
</a>
</li>
<li class="{{ Request::is('aloevera') ? ' active' : '' }}">
<a href="{{url('/aloevera')}}">
Aloe Vera
{{ __('website.aloe_vera') }}
</a>
</li>
<li class="{{ Request::is('produkte/*') ? ' active' : '' }}">
<a href="{{url('/produkte/alle-produkte')}}/">
Produktwelt
{{ __('website.productworld') }}
</a>
</li>
<li class="{{ Request::is('geschaeftsmodell/*') ? ' active' : '' }}">
<a href="{{url('/geschaeftsmodell/karrierechancen')}} ">
Karrierechancen
{{ __('website.career_opportunities') }}
</a>
</li>
<li class="{{ Request::is('kontakt') ? ' active' : '' }}">
<a href="{{ url('kontakt') }}">
Kontakt
{{ __('website.contact') }}
</a>
</li>
</ul>