ldc-doux/resources/views/layouts/frontend/cookie.blade.php
Olivier Legat 3420215894 Squashed commit of the following:
commit 90d19907852ca25053bfcf4258f57b69e50babff
Author: Olivier Legat <olivier.legat@ldc.fr>
Date:   Tue May 10 11:06:25 2022 +0200

    rgpd translations rationalize

commit bf45a713770c54cd9ae7d90c9169f1a881624fb3
Author: Olivier Legat <olivier.legat@ldc.fr>
Date:   Tue May 10 10:44:38 2022 +0200

    mark country and dpt as mandatory in contact form

commit 3fa698fd8392c74b8baa98e11d05c8bbd29405ce
Author: Olivier Legat <olivier.legat@ldc.fr>
Date:   Tue May 10 10:35:45 2022 +0200

    get translations from recette

commit a9f103c1536a77713818985e57cc5205284ffe76
Author: Olivier Legat <olivier.legat@ldc.fr>
Date:   Tue May 10 10:24:00 2022 +0200

    install instructions

commit 1abc30a3dd77b9b5c17f3c63bfd9b53a93b7969e
Author: Olivier Legat <olivier.legat@ldc.fr>
Date:   Tue May 10 10:01:39 2022 +0200

    remove mixed assets form repo

commit 80f42ba1b140e36c1a4d29ad324332ae9bdc80b6
Author: Olivier Legat <olivier.legat@ldc.fr>
Date:   Tue May 10 09:39:09 2022 +0200

    better halal picto for product page
2022-05-10 11:57:30 +02:00

99 lines
3.9 KiB
PHP

<div id="ldcweb-cn">
<div id="ldcweb-banner" class="ldcweb-cn-banner">
<div class="banner-img">
<img src="{{ asset('assets/images/logo-doux.png') }}" alt="{{ __('Doux') }}">
</div>
<div class="col">
<div class="banner-title">
<p aria-level="h1">{{ __('rgpd.banner.title') }}</p>
</div>
<div class="banner-txt">
<p>{!! __('rgpd.banner.desc', ['PRIVROUTE' => route($routeprefixer . 'policy')]) !!}
<br>
</p>
</div>
</div>
<div class="btns">
<div>
<a href="#" id="ldcweb-cn-accept-banner" class="btn ldcweb-cn-accept">{{ __('rgpd.cookies.allowall') }}</a>
</div>
<div>
<a href="#" id="ldcweb-cn-deny-banner" class="btn ldcweb-cn-deny">{{ __('rgpd.cookies.denyall') }}</a>
</div>
<div>
<a href="#" class="btn ldcweb-cn-personalize">{{ __('rgpd.cookies.personalize') }}</a>
</div>
</div>
</div>
<div id="ldcweb-cn-modal">
<div class="modal-wrapper">
<div class="modal-btn-close"><a href="#" id="close-link">X</a></div>
<div class="modal-title">
<p class="title" aria-level="h2">{{ __('rgpd.manage.title') }}</p>
<p class="description">{!! __('rgpd.manage.explain') !!}
</p>
</div>
<div class="modal-all">
<p>{{ __('rgpd.cookies.settignsall') }}</p>
<div class="all-buttons">
<div class="accept"><a href="#" id="ldcweb-cn-accept">{{ __('rgpd.cookies.allowall') }}</a></div>
<div class="deny"><a href="#" id="ldcweb-cn-deny">{{ __('rgpd.cookies.denyall') }}</a></div>
</div>
</div>
<div class="modal-details">
<ul id="ldcweb-cn-list">
</ul>
<div id="template">
<div>
<div class="ldcweb-cn-infos">
<span class="ldcweb-cn-name">Google Analytics (universal)</span>
<span class="ldcweb-cn-description">Ce service peut déposer 8 cookies.</span>
<a class="ldcweb-cn-link" href="#">En savoir plus</a>
</div>
<div class="ldcweb-cn-buttons">
<div class="accept" id="accept-btn">
<input type="radio" id="analytics1" name="analytics" data-name="analytics" data-status="true">
<label for="analytics1">{{ __('rgpd.cookie.allow') }}</label>
</div>
<div class="deny" id="deny-btn">
<input type="radio" id="analytics2" name="analytics" data-name="analytics" data-status="false">
<label for="analytics2">{{ __('rgpd.cookie.deny') }}</label>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
@push('scripts')
<script>
window.LDCWebCN = new LdcwebCn({
'analytics': {
'name': "{!! __("rgpd.analytics.title") !!}",
'description': "{!! __("rgpd.analytics.desc") !!}",
'link': 'https://support.google.com/analytics/answer/6004245',
'cookies': ['NID', '_ga', '_gat_gtag_G_EDZP7TTBQP', '_gid'],
'script': function() {
(function(d, t) {
var g = d.createElement(t),
s = d.getElementsByTagName(t)[0];
g.src = 'https://www.googletagmanager.com/gtag/js?id=G-EDZP7TTBQP';
g.id = 'analytics';
s.parentNode.insertBefore(g, s)
}(document, 'script'));
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag('js', new Date());
gtag('config', 'G-EDZP7TTBQP');
}
}
});
</script>
@endpush