Compare commits
14 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5455353bb8 | ||
|
|
ec2e61d60a | ||
|
|
c7da5bdb93 | ||
|
|
327e9111cb | ||
|
|
d3046c0b9e | ||
|
|
a1e73aefc0 | ||
|
|
dd9c53683d | ||
|
|
a825e627cd | ||
|
|
049191de55 | ||
|
|
12fee4adcd | ||
|
|
f032bff8d4 | ||
|
|
0a9c5c1ad9 | ||
|
|
256dc55098 | ||
|
|
d2848d6277 |
19 changed files with 140 additions and 140 deletions
|
|
@ -74,7 +74,6 @@ MESBR_COUPON_2_CHARCUT=""
|
|||
MESBR_COUPON_3_CHARCUT=""
|
||||
|
||||
## GOOGLE
|
||||
ANALYTICS_GOOGLE_ID=
|
||||
GOOGLE_MAP_API_KEY=
|
||||
|
||||
# Google Recaptcha
|
||||
|
|
|
|||
|
|
@ -21,8 +21,10 @@ class OpInstaController extends Controller
|
|||
{
|
||||
$this->assertConfigIsValid();
|
||||
$has_started = $this->hasStarted();
|
||||
$instaMediaList = [];
|
||||
|
||||
$instaMediaList = InstaMedia::query()->orderBy('id')->get()
|
||||
if ($has_started) {
|
||||
$instaMediaList = InstaMedia::query()->orderBy('id')->get()
|
||||
->map(function (InstaMedia $media) {
|
||||
$path = \explode('/', \rtrim(\parse_url(
|
||||
$media->permalink,
|
||||
|
|
@ -32,6 +34,7 @@ class OpInstaController extends Controller
|
|||
$media->pictures = $this->fetchPicture(\collect($path)->last());
|
||||
return $media;
|
||||
});
|
||||
};
|
||||
|
||||
return \view('front.opinsta.index', \compact('instaMediaList', 'has_started'));
|
||||
}
|
||||
|
|
@ -53,8 +56,8 @@ class OpInstaController extends Controller
|
|||
'start' => $start,
|
||||
'end' => $end,
|
||||
], [
|
||||
'start' => 'date_format:d-m-Y|before:end',
|
||||
'end' => 'date_format:d-m-Y|after:start',
|
||||
'start' => 'date_format:d-m-Y|before:end|required',
|
||||
'end' => 'date_format:d-m-Y|after:start|required',
|
||||
]);
|
||||
} catch (ValidationException $e) {
|
||||
$message = \collect($e->errors())->map(function ($el) {
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
<?php
|
||||
|
||||
return [
|
||||
'apiKey' => env('GOOGLE_MAP_API_KEY'),
|
||||
'analyticsKey' => env('ANALYTICS_GOOGLE_ID')
|
||||
'apiKey' => env('GOOGLE_MAP_API_KEY')
|
||||
];
|
||||
|
|
|
|||
24
package-lock.json
generated
24
package-lock.json
generated
|
|
@ -6,7 +6,7 @@
|
|||
"": {
|
||||
"dependencies": {
|
||||
"@fancyapps/fancybox": "^3.5.7",
|
||||
"@ldc-web/cookie-notice": "^3.0.3",
|
||||
"@ldc-web/cookie-notice": "^3.0.8",
|
||||
"animate.css": "^3.7.2",
|
||||
"detect-element-overflow": "^1.2.0",
|
||||
"hooper2": "^0.3.6",
|
||||
|
|
@ -1870,12 +1870,9 @@
|
|||
"dev": true
|
||||
},
|
||||
"node_modules/@ldc-web/cookie-notice": {
|
||||
"version": "3.0.3",
|
||||
"resolved": "https://lab.s-web.fr/api/v4/projects/50/packages/npm/@ldc-web/cookie-notice/-/@ldc-web/cookie-notice-3.0.3.tgz",
|
||||
"integrity": "sha1-9zBm0372Tl+Q+p2FxG073/wHApQ=",
|
||||
"dependencies": {
|
||||
"core-js": "^3.30.0"
|
||||
}
|
||||
"version": "3.0.8",
|
||||
"resolved": "https://lab.s-web.fr/api/v4/projects/50/packages/npm/@ldc-web/cookie-notice/-/@ldc-web/cookie-notice-3.0.8.tgz",
|
||||
"integrity": "sha1-FOc6hEv1L9NOnRDOdyBnbIsd31A="
|
||||
},
|
||||
"node_modules/@leichtgewicht/ip-codec": {
|
||||
"version": "2.0.4",
|
||||
|
|
@ -3733,6 +3730,7 @@
|
|||
"version": "3.30.1",
|
||||
"resolved": "https://registry.npmjs.org/core-js/-/core-js-3.30.1.tgz",
|
||||
"integrity": "sha512-ZNS5nbiSwDTq4hFosEDqm65izl2CWmLz0hARJMyNQBgkUZMIF51cQiMvIQKA6hvuaeWxQDP3hEedM1JZIgTldQ==",
|
||||
"dev": true,
|
||||
"hasInstallScript": true,
|
||||
"funding": {
|
||||
"type": "opencollective",
|
||||
|
|
@ -11481,12 +11479,9 @@
|
|||
}
|
||||
},
|
||||
"@ldc-web/cookie-notice": {
|
||||
"version": "3.0.3",
|
||||
"resolved": "https://lab.s-web.fr/api/v4/projects/50/packages/npm/@ldc-web/cookie-notice/-/@ldc-web/cookie-notice-3.0.3.tgz",
|
||||
"integrity": "sha1-9zBm0372Tl+Q+p2FxG073/wHApQ=",
|
||||
"requires": {
|
||||
"core-js": "^3.30.0"
|
||||
}
|
||||
"version": "3.0.8",
|
||||
"resolved": "https://lab.s-web.fr/api/v4/projects/50/packages/npm/@ldc-web/cookie-notice/-/@ldc-web/cookie-notice-3.0.8.tgz",
|
||||
"integrity": "sha1-FOc6hEv1L9NOnRDOdyBnbIsd31A="
|
||||
},
|
||||
"@leichtgewicht/ip-codec": {
|
||||
"version": "2.0.4",
|
||||
|
|
@ -13044,7 +13039,8 @@
|
|||
"core-js": {
|
||||
"version": "3.30.1",
|
||||
"resolved": "https://registry.npmjs.org/core-js/-/core-js-3.30.1.tgz",
|
||||
"integrity": "sha512-ZNS5nbiSwDTq4hFosEDqm65izl2CWmLz0hARJMyNQBgkUZMIF51cQiMvIQKA6hvuaeWxQDP3hEedM1JZIgTldQ=="
|
||||
"integrity": "sha512-ZNS5nbiSwDTq4hFosEDqm65izl2CWmLz0hARJMyNQBgkUZMIF51cQiMvIQKA6hvuaeWxQDP3hEedM1JZIgTldQ==",
|
||||
"dev": true
|
||||
},
|
||||
"core-js-compat": {
|
||||
"version": "3.30.1",
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@
|
|||
},
|
||||
"dependencies": {
|
||||
"@fancyapps/fancybox": "^3.5.7",
|
||||
"@ldc-web/cookie-notice": "^3.0.3",
|
||||
"@ldc-web/cookie-notice": "^3.0.8",
|
||||
"animate.css": "^3.7.2",
|
||||
"detect-element-overflow": "^1.2.0",
|
||||
"hooper2": "^0.3.6",
|
||||
|
|
|
|||
|
|
@ -5,6 +5,59 @@
|
|||
|
||||
RewriteEngine On
|
||||
|
||||
# -- REDIRECTIONS AGENCE
|
||||
Redirect 301 "/jeu-de-piste-30ans" "/"
|
||||
Redirect 301 "/les-reductions" "/le-club-des-gaulois"
|
||||
Redirect 301 "/tous-a-table" "/recettes"
|
||||
Redirect 301 "/nos-promos" "/le-club-des-gaulois"
|
||||
Redirect 301 "/votre-avis-nous-interesse" "/contactez-nous"
|
||||
Redirect 301 "/bonus_departaimants._int.shtml" "/le-club-des-gaulois"
|
||||
Redirect 301 "/bonus_bdr_webcoupon._int.shtml" "/le-club-des-gaulois"
|
||||
Redirect 301 "/produits/kebab_duo__645._int.shtml" "/produits"
|
||||
Redirect 301 "/gammes/simple-a-cuisiner" "/produits/moment-consommations/simple-a-cuisiner"
|
||||
Redirect 301 "/notre-marque" "/la-marque"
|
||||
Redirect 301 "/recette/cuisses-canard-croustillantes-pommes-terre-grenailles-confites-estragon/43" "/recettes"
|
||||
Redirect 301 "/recette/carnard-roti-miel/15" "/recettes"
|
||||
Redirect 301 "/notre-marque/notre-histoire/1" "/la-marque/notre-histoire"
|
||||
Redirect 301 "/les-astuces" "/recettes"
|
||||
Redirect 301 "/gammes/a-preparer" "/produits"
|
||||
Redirect 301 "/gamme/les-grignottes/2" "/produits/gamme/la-rotisserie/snacking"
|
||||
Redirect 301 "/gamme/la-belle-escalope/6" "/produits/gamme/le-cru/decoupes-specifiques"
|
||||
Redirect 301 "/popup_contact.shtml" "/contactez-nous"
|
||||
Redirect 301 "/gamme/filets-minute/27" "/produits/gamme/le-cru/decoupes-specifiques"
|
||||
Redirect 301 "/traca_retrouv_elev._int.shtml" "/oui-cest-bon/temoignages-eleveurs"
|
||||
Redirect 301 "/gamme/crousty-chicken/22" "/produits/gamme/les-panes/crousty-chicken"
|
||||
Redirect 301 "/web" "/"
|
||||
Redirect 301 "/gamme/les-cordons-bleus/18" "/produits/gamme/les-panes"
|
||||
Redirect 301 "/offrederemboursement" "/le-club-des-gaulois"
|
||||
Redirect 301 "/liste_recette._int.shtml" "/recettes"
|
||||
Redirect 301 "/oui-cest-bon/eleveurs/524-cellier-david" "/oui-cest-bon/volaille"
|
||||
Redirect 301 "/elevage-sante-et-alimentation-des-volailles" "/lelevage-des-volailles-le-gaulois"
|
||||
Redirect 301 "/produits/italian_burger__675.shtml" "/produits"
|
||||
Redirect 301 "/1001_recettes/filet_d_oie_aux_fruits_secs__88._int.shtml" "/recettes"
|
||||
Redirect 301 "/recettes/crumble-de-legumes-aux-lardons-de-canard" "/recettes"
|
||||
Redirect 301 "/html/apports_et_depenses.shtml" "/cote-cuisine/sante-et-nutrition/bienfaits-nutritionnels-de-la-volaille"
|
||||
Redirect 301 "/volailles/" "/lelevage-des-volailles-le-gaulois/lelevage-des-volailles"
|
||||
Redirect 301 "/recette/roule-dinde-aux-trompettes-mort-rosace-pommes-terre/38" "/recettes"
|
||||
Redirect 301 "/votre-avis-nous-interesse" "/contactez-nous"
|
||||
Redirect 301 "/gamme/la-belle-escalope/6" "/produits/gamme/le-cru/decoupes-specifiques"
|
||||
Redirect 301 "/notre-marque/notre-histoire/1" "/la-marque/notre-histoire"
|
||||
Redirect 301 "/recettes/avocado-toast-aux-eminces-de-poulet-roti-eleve-dans-les-pres-et-oeuf-poche" "/recettes"
|
||||
Redirect 301 "/elevage-sante-et-alimentation-des-volailles/la-sante-des-volailles/maladies-de-la-volaille-symptomes-causes-traitements" "/lelevage-des-volailles-le-gaulois/la-sante-des-volailles/maladies-de-la-volaille-symptomes-causes-traitements"
|
||||
Redirect 301 "/elevage-sante-et-alimentation-des-volailles/le-metier-deleveur-de-volailles" "/lelevage-des-volailles-le-gaulois/le-metier-deleveur-de-volailles"
|
||||
Redirect 301 "/elevage-sante-et-alimentation-des-volailles/lelevage-des-volailles/comment-sont-elevees-les-volailles-le-gaulois" "/lelevage-des-volailles-le-gaulois/lelevage-des-volailles/comment-sont-elevees-les-volailles-le-gaulois"
|
||||
Redirect 301 "/elevage-sante-et-alimentation-des-volailles/lelevage-des-volailles/un-elevage-de-canards-100-francais" "/lelevage-des-volailles-le-gaulois/lelevage-des-volailles/un-elevage-de-canards-100-francais"
|
||||
Redirect 301 "/produits/gamme/la-charcuterie/eleve-dans-les-pres" "/produits/gamme/la-charcuterie/dans-les-pres"
|
||||
Redirect 301 "/elevage-sante-et-alimentation-des-volailles/lelevage-des-volailles/le-bien-etre-animal-au-coeur-des-elevages-de-volaille" "/lelevage-des-volailles-le-gaulois/lelevage-des-volailles/le-bien-etre-animal-au-coeur-des-elevages-de-volaille"
|
||||
Redirect 301 "/elevage-sante-et-alimentation-des-volailles/le-metier-deleveur-de-volailles/eleveur-de-dindes-un-metier-de-passionne" "/lelevage-des-volailles-le-gaulois/le-metier-deleveur-de-volailles/eleveur-de-dindes-un-metier-de-passionne"
|
||||
Redirect 301 "/elevage-sante-et-alimentation-des-volailles/lalimentation-des-volailles/alimentation-des-poussins-bien-les-nourrir-a-toutes-les-etapes-de-leur-vie" "/lelevage-des-volailles-le-gaulois/lalimentation-des-volailles/alimentation-des-poussins-bien-les-nourrir-a-toutes-les-etapes-de-leur-vie"
|
||||
Redirect 301 "/elevage-sante-et-alimentation-des-volailles/la-sante-des-volailles/antibiotiques-des-volailles-comment-les-eleveurs-ont-ils-reduits-leur-consommation" "/lelevage-des-volailles-le-gaulois/la-sante-des-volailles/antibiotiques-des-volailles-comment-les-eleveurs-ont-ils-reduits-leur-consommation"
|
||||
Redirect 301 "/elevage-sante-et-alimentation-des-volailles/lelevage-des-volailles" "/lelevage-des-volailles-le-gaulois/lelevage-des-volailles"
|
||||
Redirect 301 "/elevage-sante-et-alimentation-des-volailles/lelevage-des-volailles/elevage-de-dindes-immersion-au-coeur-dun-metier-passionnant" "/lelevage-des-volailles-le-gaulois/lelevage-des-volailles/elevage-de-dindes-immersion-au-coeur-dun-metier-passionnant"
|
||||
Redirect 301 "/elevage-sante-et-alimentation-des-volailles/lelevage-des-volailles/elevage-de-poules-pondeuses-les-pratiques" "/lelevage-des-volailles-le-gaulois/lelevage-des-volailles/elevage-de-poules-pondeuses-les-pratiques"
|
||||
Redirect 301 "/elevage-sante-et-alimentation-des-volailles/le-metier-deleveur-de-volailles/a-la-rencontre-des-eleveurs-de-volailles-le-gaulois" "/lelevage-des-volailles-le-gaulois/le-metier-deleveur-de-volailles/a-la-rencontre-des-eleveurs-de-volailles-le-gaulois"
|
||||
# -- END -- REDIRECTIONS AGENCE
|
||||
|
||||
# Handle Authorization Header
|
||||
RewriteCond %{HTTP:Authorization} .
|
||||
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
|
||||
|
|
|
|||
2
resources/sass/front/_footer.scss
vendored
2
resources/sass/front/_footer.scss
vendored
|
|
@ -124,7 +124,7 @@ body > div > footer {
|
|||
& a {
|
||||
padding: 0;
|
||||
font-size: 3.5em;
|
||||
margin: 0 14px;
|
||||
margin: 0 12px;
|
||||
@include max-width($mobile + 100px) {
|
||||
font-size: 3em;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -33,6 +33,7 @@
|
|||
}
|
||||
@include max-width($desktop) {
|
||||
padding-left: 21em;
|
||||
padding-bottom: 78em;
|
||||
}
|
||||
@include max-width($tablet) {
|
||||
padding-left: 0;
|
||||
|
|
@ -67,10 +68,13 @@
|
|||
position: absolute;
|
||||
margin-left: 0;
|
||||
bottom: 0;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
left: 21em;
|
||||
margin-bottom: 3rem;
|
||||
}
|
||||
@include max-width($tablet) {
|
||||
left: 50%;
|
||||
transform: translateX(-50%)
|
||||
}
|
||||
|
||||
& picture {
|
||||
text-align: center;
|
||||
|
|
@ -123,6 +127,7 @@
|
|||
// pour responsive rsm
|
||||
&.wrapperRsm {
|
||||
min-height: $rsmHeight + 3rem * 3;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
& .general {
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
<div class="media">
|
||||
@if(!$danslespresContent->isVideo)
|
||||
<figure>
|
||||
<img src="{{ asset($danslespresContent->picture) }}" alt="{{ __('Sortant à l’Extérieur Dans Les Prés image') }}">
|
||||
<img src="{{ asset($danslespresContent->picture) }}" alt="{{ __('Sortant à l’Extérieur image') }}">
|
||||
</figure>
|
||||
@else
|
||||
@php
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@
|
|||
<div class="sub_header sub_header_danslespres">
|
||||
<div class="content">
|
||||
<div class="text">
|
||||
<h1 class="title">Notre démarche <img class="img-danslespres" src="{{ asset('assets/images/danslespres/logoDLP.png') }}" alt="Sortant à l’Extérieur Dans Les Prés - Le Gaulois"></h1>
|
||||
<h1 class="title">Notre démarche <img class="img-danslespres" src="{{ asset('assets/images/danslespres/logoDLP.png') }}" alt="Sortant à l’Extérieur - Le Gaulois"></h1>
|
||||
</div>
|
||||
</div>
|
||||
<div class="entete-danslespres"></div>
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
<div class="sub_header sub_header_danslespres">
|
||||
<div class="content">
|
||||
<div class="text">
|
||||
<h1 class="title">Notre démarche <img class="img-danslespres" src="{{ asset('assets/images/danslespres/logoDLP.png') }}" alt="Sortant à l’Extérieur Dans Les Prés - Le Gaulois"></h1>
|
||||
<h1 class="title">Notre démarche <img class="img-danslespres" src="{{ asset('assets/images/danslespres/logoDLP.png') }}" alt="Sortant à l’Extérieur - Le Gaulois"></h1>
|
||||
</div>
|
||||
</div>
|
||||
<div class="entete-danslespres"></div>
|
||||
|
|
@ -20,22 +20,22 @@
|
|||
<section class="danslespres-bg content content-danslespres">
|
||||
<div class="items">
|
||||
<div>
|
||||
<img src="{{ asset('assets/images/danslespres/danslespres-1.jpg') }}" alt="Découvrir notre démarche Sortant à l’Extérieur Dans Les Prés - Le Gaulois" class="left">
|
||||
<img src="{{ asset('assets/images/danslespres/danslespres-1.jpg') }}" alt="Découvrir notre démarche Sortant à l’Extérieur - Le Gaulois" class="left">
|
||||
<p>Découvrir notre démarche</p>
|
||||
<a href="{{ route('danslespres.description') }}">En savoir +</a>
|
||||
</div>
|
||||
<div>
|
||||
<img src="{{ asset('assets/images/danslespres/danslespres-2.jpg') }}" alt="La Démarche Sortant à l’Extérieur Dans Les Prés en photo et video - Le Gaulois" class="right">
|
||||
<img src="{{ asset('assets/images/danslespres/danslespres-2.jpg') }}" alt="La Démarche Sortant à l’Extérieur en photo et video - Le Gaulois" class="right">
|
||||
<p>La Démarche en photos et vidéos</p>
|
||||
<a href="{{ route('danslespres.media') }}">En savoir +</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="description">
|
||||
<p class="danslespres-green inline-with-image">
|
||||
Notre démarche inédite Le Gaulois <img alt="Sortant à l’Extérieur Dans Les Prés - Le Gaulois" src="{{ asset('assets/images/danslespres/logoDLP.png') }}"> , c’est la garantie de produits de qualité, accessibles en prix et, surtout, engagés dans l’<b>amélioration du bien-être animal</b>, la <b>préservation de la santé des volailles</b> et le <b>respect de l’environnement</b>.
|
||||
Notre démarche inédite Le Gaulois <img alt="Sortant à l’Extérieur - Le Gaulois" src="{{ asset('assets/images/danslespres/logoDLP.png') }}"> , c’est la garantie de produits de qualité, accessibles en prix et, surtout, engagés dans l’<b>amélioration du bien-être animal</b>, la <b>préservation de la santé des volailles</b> et le <b>respect de l’environnement</b>.
|
||||
</p>
|
||||
<p class="danslespres-dark-green inline-with-image">
|
||||
Le Gaulois s’engage avec cette nouvelle démarche à ce que les volailles <b>sortent à l’extérieur</b>, tous les jours, dans les prés de l’ouest de France.
|
||||
Le Gaulois s’engage avec cette nouvelle démarche à ce que les volailles <b>sortent à l’extérieur</b>, tous les jours, dans l’ouest de la France.
|
||||
<br>
|
||||
Pour cela, nos <b>éleveurs partenaires</b> suivent un cahier des charges pour s’assurer du bien-être de leurs animaux.
|
||||
<br><br>
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
<div class="sub_header sub_header_danslespres">
|
||||
<div class="content">
|
||||
<div class="text">
|
||||
<h1 class="title">Notre démarche <img class="img-danslespres" src="{{ asset('assets/images/danslespres/logoDLP.png') }}" alt="Dans les prés - Le Gaulois"></h1>
|
||||
<h1 class="title">Notre démarche <img class="img-danslespres" src="{{ asset('assets/images/danslespres/logoDLP.png') }}" alt="Sortant à l\'extérieur - Le Gaulois"></h1>
|
||||
</div>
|
||||
</div>
|
||||
<div class="entete-danslespres"></div>
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
@extends('layouts.app')
|
||||
@section('title', __('Les éleveurs engagés dans la démarche Oui C’est Bon!'))
|
||||
@section('description', __('Retrouvez les témoignages des éleveurs engagés dans notre démarche Oui C’est Bon!'))
|
||||
@section('canonical', url()->current())
|
||||
|
||||
@section('sub_header')
|
||||
<div class="sub_header_ocb sub_testimony">
|
||||
|
|
|
|||
|
|
@ -150,26 +150,6 @@ function () {
|
|||
}
|
||||
SCRIPT;
|
||||
|
||||
$cookies['recaptcha']['fallback'] = <<<FALLBACK
|
||||
function () {
|
||||
let vimeoVids = document.getElementsByClassName('.video.vimeo');
|
||||
for (let item of vimeoVids) {
|
||||
let a = document.createElement('a');
|
||||
a.innerText = 'Autoriser';
|
||||
a.classList.add('cn-cookie-link');
|
||||
a.classList.add('btn-autorize');
|
||||
a.onclick = function () {
|
||||
CookieNotice.openModal();
|
||||
};
|
||||
let e = document.createElement('p');
|
||||
e.innerHTML = 'Vimeo est désactivé. ';
|
||||
item.innerHTML = "";
|
||||
e.appendChild(a);
|
||||
item.appendChild(e);
|
||||
}
|
||||
}
|
||||
FALLBACK;
|
||||
|
||||
// MATOMO
|
||||
$cookies['matomo'] = [
|
||||
'name' => __('MESURES D’AUDIENCE') . ' - Matomo',
|
||||
|
|
@ -198,47 +178,6 @@ $cookies['matomo']['script'] .= <<<SCRIPT
|
|||
})();
|
||||
}
|
||||
SCRIPT;
|
||||
|
||||
// ANALYCTICS
|
||||
$cookies['analytics'] = [
|
||||
'name' => __('MESURES D’AUDIENCE') . ' - Google Analytics',
|
||||
'description' => __('Service d\'analyse d\'audience'),
|
||||
'link' => 'https://support.google.com/analytics/answer/6004245',
|
||||
'labelLink' => __('En savoir +'),
|
||||
'cookies' => [
|
||||
'_ga',
|
||||
'_gat_gtag_' . str_replace("-", "_", config("ldcweb-cookies.analyticsKey")),
|
||||
'_gid'
|
||||
]
|
||||
];
|
||||
|
||||
$cookies['analytics']['script'] = <<<SCRIPT
|
||||
function () {
|
||||
(function (d, t) {
|
||||
var g = d.createElement(t),
|
||||
s = d.getElementsByTagName(t)[0];
|
||||
g.src = 'https://www.googletagmanager.com/gtag/js?id=
|
||||
SCRIPT;
|
||||
$cookies['analytics']['script'] .= config("google.analyticsKey");
|
||||
$cookies['analytics']['script'] .= <<<SCRIPT
|
||||
';
|
||||
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', '
|
||||
SCRIPT;
|
||||
$cookies['analytics']['script'] .= config("google.analyticsKey");
|
||||
$cookies['analytics']['script'] .= <<<SCRIPT
|
||||
');
|
||||
}
|
||||
SCRIPT;
|
||||
@endphp
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@
|
|||
<li><a href="{{ route('kitchen-side.health-nutrition.index') }}">{{__('Santé et Nutrition') }}</a></li>
|
||||
<li><a href="{{ route('brand.poultry') }}">{{ $GeneralConfigGlobal->where('type', GeneralConfigType::poultryPage())->first()->data['poultry_header_title']['value'] }}</a></li>
|
||||
<li><a href="{{ route('ocb.index') }}">{{__('La démarche "Oui c\'est Bon !"') }}</a></li>
|
||||
<li><a href="{{ route('danslespres.index') }}">{{__('La démarche "Sortant à l’Extérieur Dans Les Prés"') }}</a></li>
|
||||
<li><a href="{{ route('danslespres.index') }}">{{__('La démarche "Sortant à l’Extérieur"') }}</a></li>
|
||||
</ul>
|
||||
</section>
|
||||
<section>
|
||||
|
|
|
|||
|
|
@ -139,7 +139,7 @@
|
|||
<a href="{{ route('danslespres.index') }}">
|
||||
{{ __('La démarche') }}
|
||||
<picture>
|
||||
<img src="{{ asset('assets/images/danslespres/logoDLP.png') }}" alt="{{__('Dans les pres - Le Gaulois') }}">
|
||||
<img src="{{ asset('assets/images/danslespres/logoDLP.png') }}" alt="{{__('Sortant à l\'extérieur - Le Gaulois') }}">
|
||||
</picture>
|
||||
</a>
|
||||
</li>
|
||||
|
|
|
|||
|
|
@ -124,9 +124,9 @@
|
|||
<a class="dropdown-item" href="{{route('bo.nutrition-page.index')}}">{{ __('Liste des pages') }}</a>
|
||||
</div>
|
||||
</li>
|
||||
{{-- Dans Les Pres --}}
|
||||
{{--Sortant à l'extérieur --}}
|
||||
<li class="nav-item dropdown btn btn-sm btn-dark mb-1">
|
||||
<a class="nav-link dropdown-toggle text-white" data-toggle="dropdown" href="#" role="button">{{ __('Dans Les Pres') }}</a>
|
||||
<a class="nav-link dropdown-toggle text-white" data-toggle="dropdown" href="#" role="button">{{ __('Sortant à l\'extérieur') }}</a>
|
||||
<div class="dropdown-menu">
|
||||
<a class="dropdown-item" href="{{route('bo.dans_les_pres.content', App\Enums\DansLesPresType::description())}}">{{ __('Contenus page description') }}</a>
|
||||
<a class="dropdown-item" href="{{route('bo.dans_les_pres.content', App\Enums\DansLesPresType::media())}}">{{ __('Contenus page medias') }}</a>
|
||||
|
|
|
|||
|
|
@ -1,46 +1,52 @@
|
|||
@if ($paginator->hasPages())
|
||||
<nav>
|
||||
<ul class="pagination">
|
||||
{{-- Previous Page Link --}}
|
||||
@if ($paginator->onFirstPage())
|
||||
<li class="page-item disabled" aria-disabled="true" aria-label="@lang('pagination.previous')">
|
||||
<span class="page-link" aria-hidden="true">‹</span>
|
||||
</li>
|
||||
@else
|
||||
<li class="page-item">
|
||||
<a class="page-link" href="{{ $paginator->previousPageUrl() }}" rel="prev" aria-label="@lang('pagination.previous')">‹</a>
|
||||
</li>
|
||||
@endif
|
||||
<nav>
|
||||
<ul class="pagination">
|
||||
{{-- Previous Page Link --}}
|
||||
@if ($paginator->onFirstPage())
|
||||
<li class="page-item disabled" aria-disabled="true" aria-label="@lang('pagination.previous')">
|
||||
<span class="page-link" aria-hidden="true">‹</span>
|
||||
</li>
|
||||
@else
|
||||
<li class="page-item">
|
||||
<a class="page-link"
|
||||
href="{{ ($paginator->currentPage() - 1 === 1) ? url()->current() : $paginator->previousPageUrl() }}"
|
||||
rel="prev"
|
||||
aria-label="@lang('pagination.previous')">‹</a>
|
||||
</li>
|
||||
@endif
|
||||
|
||||
{{-- Pagination Elements --}}
|
||||
@foreach ($elements as $element)
|
||||
{{-- "Three Dots" Separator --}}
|
||||
@if (is_string($element))
|
||||
<li class="page-item disabled" aria-disabled="true"><span class="page-link">{{ $element }}</span></li>
|
||||
@endif
|
||||
{{-- Pagination Elements --}}
|
||||
@foreach ($elements as $element)
|
||||
{{-- "Three Dots" Separator --}}
|
||||
@if (is_string($element))
|
||||
<li class="page-item disabled" aria-disabled="true"><span class="page-link">{{ $element }}</span></li>
|
||||
@endif
|
||||
|
||||
{{-- Array Of Links --}}
|
||||
@if (is_array($element))
|
||||
@foreach ($element as $page => $url)
|
||||
@if ($page == $paginator->currentPage())
|
||||
<li class="page-item active" aria-current="page"><span class="page-link">{{ $page }}</span></li>
|
||||
@else
|
||||
<li class="page-item"><a class="page-link" href="{{ $url }}">{{ $page }}</a></li>
|
||||
@endif
|
||||
@endforeach
|
||||
@endif
|
||||
@endforeach
|
||||
{{-- Array Of Links --}}
|
||||
@if (is_array($element))
|
||||
@foreach ($element as $page => $url)
|
||||
@if ($page == $paginator->currentPage())
|
||||
<li class="page-item active" aria-current="page"><span class="page-link">{{ $page }}</span></li>
|
||||
@else
|
||||
<li class="page-item"><a class="page-link" href="{{ ($page === 1) ? url()->current() : $url }}">{{ $page }}</a></li>
|
||||
@endif
|
||||
@endforeach
|
||||
@endif
|
||||
@endforeach
|
||||
|
||||
{{-- Next Page Link --}}
|
||||
@if ($paginator->hasMorePages())
|
||||
<li class="page-item">
|
||||
<a class="page-link" href="{{ $paginator->nextPageUrl() }}" rel="next" aria-label="@lang('pagination.next')">›</a>
|
||||
</li>
|
||||
@else
|
||||
<li class="page-item disabled" aria-disabled="true" aria-label="@lang('pagination.next')">
|
||||
<span class="page-link" aria-hidden="true">›</span>
|
||||
</li>
|
||||
@endif
|
||||
</ul>
|
||||
</nav>
|
||||
{{-- Next Page Link --}}
|
||||
@if ($paginator->hasMorePages())
|
||||
<li class="page-item">
|
||||
<a class="page-link"
|
||||
href="{{ $paginator->nextPageUrl() }}"
|
||||
rel="next"
|
||||
aria-label="@lang('pagination.next')">›</a>
|
||||
</li>
|
||||
@else
|
||||
<li class="page-item disabled" aria-disabled="true" aria-label="@lang('pagination.next')">
|
||||
<span class="page-link" aria-hidden="true">›</span>
|
||||
</li>
|
||||
@endif
|
||||
</ul>
|
||||
</nav>
|
||||
@endif
|
||||
|
|
|
|||
|
|
@ -286,11 +286,10 @@ Breadcrumbs::for('account.favs-recipes', function (Generator $trail) {
|
|||
$trail->push(__('Mes recettes favorites'), route('account.favs-recipes'));
|
||||
});
|
||||
|
||||
// * Dans les prés
|
||||
// * OCB
|
||||
Breadcrumbs::for('danslespres.index', function (Generator $trail) {
|
||||
$trail->parent('home');
|
||||
$trail->push(__('Sortant à l’Extérieur Dans Les Prés'), route('danslespres.index'));
|
||||
$trail->push(__('Sortant à l’Extérieur'), route('danslespres.index'));
|
||||
});
|
||||
Breadcrumbs::for('danslespres.description', function (Generator $trail) {
|
||||
$trail->parent('danslespres.index');
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue