mivita/resources/views/web/user/layouts/application.blade.php
2025-10-20 17:42:08 +02:00

189 lines
8.3 KiB
PHP

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>
@if ($user_shop->title)
{{ $user_shop->title }}
@endif | mivita care
</title>
<meta name="description" content="" />
<meta name="Author" content="" />
<!-- mobile settings -->
<meta name="viewport" content="width=device-width, maximum-scale=1, initial-scale=1, user-scalable=0" />
<!--[if IE]><meta http-equiv='X-UA-Compatible' content='IE=edge,chrome=1'><![endif]-->
<link href="{{ asset('/fonts/opensans-raleway-pacifico.css?v=1') }}" rel="stylesheet" type="text/css" />
<link rel="stylesheet" href="{{ asset('/vendor/fonts/fontawesome.css') }}">
<link rel="stylesheet" href="{{ asset('/vendor/fonts/ionicons.css') }}">
<link rel="stylesheet" href="{{ asset('/vendor/fonts/linearicons.css') }}">
<link href="{{ asset('/assets/plugins/slider.revolution/css/extralayers.css') }}" rel="stylesheet"
type="text/css" />
<link href="{{ asset('/assets/plugins/slider.revolution/css/settings.css') }}" rel="stylesheet" type="text/css" />
<link href="{{ asset('/assets/css/mystyle.css') }}" rel="stylesheet" type="text/css" />
<link href="{{ asset('/assets/css/custom-style.css?v1') }}" rel="stylesheet" type="text/css" />
<link href="{{ asset('assets/css/custom-forms-v2.css') }}" rel="stylesheet" type="text/css" />
@if (Util::isMivitaShop())
<script id="Cookiebot" src="https://consent.cookiebot.com/uc.js" data-cbid="6aec027f-246a-42c9-9055-c64c82fc09fe"
data-blockingmode="auto" type="text/javascript"></script>
<!-- Facebook Pixel Code -->
<script>
! function(f, b, e, v, n, t, s) {
if (f.fbq) return;
n = f.fbq = function() {
n.callMethod ?
n.callMethod.apply(n, arguments) : n.queue.push(arguments)
};
if (!f._fbq) f._fbq = n;
n.push = n;
n.loaded = !0;
n.version = '2.0';
n.queue = [];
t = b.createElement(e);
t.async = !0;
t.src = v;
s = b.getElementsByTagName(e)[0];
s.parentNode.insertBefore(t, s)
}(window, document, 'script',
'https://connect.facebook.net/en_US/fbevents.js');
fbq('init', '454469462537092');
fbq('track', 'PageView');
</script>
<noscript><img height="1" width="1" style="display:none"
src="https://www.facebook.com/tr?id=454469462537092&ev=PageView&noscript=1" /></noscript>
<!-- End Facebook Pixel Code -->
<!-- Google Tag Manager -->
<script>
(function(w, d, s, l, i) {
w[l] = w[l] || [];
w[l].push({
'gtm.start': new Date().getTime(),
event: 'gtm.js'
});
var f = d.getElementsByTagName(s)[0],
j = d.createElement(s),
dl = l != 'dataLayer' ? '&l=' + l : '';
j.async = true;
j.src =
'https://www.googletagmanager.com/gtm.js?id=' + i + dl;
f.parentNode.insertBefore(j, f);
})(window, document, 'script', 'dataLayer', 'GTM-TKWXCX6');
</script>
<!-- End Google Tag Manager -->
@else
<link rel="stylesheet" type="text/css" href="{{ asset('/css/cookieconsent.min.css') }}" />
<script src="{{ asset('/js/cookieconsent.min.js') }}"></script>
<script>
window.addEventListener("load", function() {
window.cookieconsent.initialise({
"palette": {
"popup": {
"background": "#b5c49b",
"text": "#ffffff"
},
"button": {
"background": "#d7d700",
"text": "#ffffff"
}
},
"content": {
"message": "{{ __('This website uses cookies') }}",
"dismiss": "{{ __('OK') }}",
"link": "{{ __('register.data_protection') }}",
"href": "{{ url('datenschutz') }}",
"target": "_blank",
}
})
});
</script>
@endif
<style type="text/css">
.text-primary {
color: #a5d0a5 !important;
}
div.side-nav ul.list-group-bordered>li.list-group-item.active>a:hover {
color: #fff !important;
}
#sidepanel {
width: 340px;
}
select.form-control {
color: #535252 !important;
border-color: #989a9c;
}
</style>
</head>
<body class="smoothscroll enable-animation">
@if (Util::isMivitaShop())
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-TKWXCX6" height="0" width="0"
style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
@endif
@if (isset($mylangs))
<div id="sidepanel" class="sidepanel-light" data-init="{{ \Session::get('user_init_country_options') }}">
<a id="sidepanel_close" href="#"><!-- close -->
<i class="glyphicon glyphicon-remove"></i>
</a>
<div class="sidepanel-content">
@if (isset($mylangs[\App\Services\Shop::getUserShopLang(null, 'webshop')]))
@php($country = $mylangs[\App\Services\Shop::getUserShopLang(null, 'webshop')])
<h2 class="sidepanel-title">{{ __('website.you_are_now_in_shop') }} {{ $country->getLocated() }}
</h2>
@endif
<p>{{ __('website.you_are_now_in_shop_notice') }} </p>
{!! Form::open(['route' => 'language.change']) !!}
<label>{{ __('Delivery country') }}*</label>
<select id="change_country_id" name="change_country_id" class="form-control pointer margin-bottom-20">
@foreach ($mylangs as $mycid => $mycountry)
<option value="{{ $mycid }}" @if ($country->id === $mycountry->id || \Session::get('_options') === $mycid) selected @endif>
{{ $mycountry->getLocated() }}</option>
@endforeach
</select>
<label>{{ __('website.language') }}*</label>
<select id="change_locale_id" name="change_locale_id" class="form-control pointer margin-bottom-20">
@foreach (\App\Services\UserService::getTransChange() as $code => $name)
<option value="{{ strtolower($code) }}" @if (\App::getLocale() === strtolower($code) || \Session::get('user_init_country_options') === strtolower($code)) selected @endif>
{{ $name }}</option>
@endforeach
</select>
<button class="btn btn-primary btn-block" type="submit">{{ __('website.change_country') }} </button>
{!! Form::close() !!}
</div>
</div>
@endif
@yield('layout-content')
<!-- SCROLL TO TOP -->
<a href="#" id="toTop"></a>
<!-- JAVASCRIPT FILES -->
<script type="text/javascript">
var plugin_path = "{{ url('/assets/plugins/') . '/' }}"
</script>
<script type="text/javascript" src="{{ asset('/assets/plugins/jquery/jquery-2.2.3.min.js') }}"></script>
<script type="text/javascript" src="{{ asset('/assets/js/scripts.js') }}"></script>
{{-- <script type="text/javascript" src="{{ asset('/assets/js/jquery.contact-form.js') }}"></script> --}}
<!-- REVOLUTION SLIDER -->
<script type="text/javascript"
src="{{ asset('/assets/plugins/slider.revolution/js/jquery.themepunch.tools.min.js') }}"></script>
<script type="text/javascript"
src="{{ asset('/assets/plugins/slider.revolution/js/jquery.themepunch.revolution.min.js') }}"></script>
<script type="text/javascript" src="{{ asset('/assets/js/view/demo.revolution_slider.js') }}"></script>
@yield('scripts')
</body>
</html>