<!DOCTYPE html>
<html lang="fr" prefix="og: https://ogp.me/ns#" >
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="LE BIO D'ÉLO">
<meta name="keywords" content="LE BIO D'ÉLO">
<meta name="mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="mobile-web-app-title" content="LE BIO D'ÉLO">
<meta name="apple-mobile-web-app-title" content="LE BIO D'ÉLO">
<meta property="og:title" content="LE BIO D'ÉLO "/>
<meta property="og:type" content="MIELS THÉS TISANES" />
<meta property="og:description" content="le Bio d'ÉLO" />
<meta property="og:image" content= "https://www.lebiodelo.com/img/photoLifeUpload/Jeanne-Paul.jpg" />
<meta property="og:url" content="https://www.lebiodelo.com" />
<meta property="og:site_name" content="LE BIO D'ÉLO" />
<script type="application/ld+json">
{ "@context" : "https://schema.org",
"@type" : "Organization",
"url" : "https://www.lebiodelo.com",
"name" : "Le Bio d'Élo",
"address": {
"@type": "PostalAddress",
"streetAddress": ""
"addressLocality": "",
"postalCode": "",
},
"email": "contact@lebiodelo.com",
"telephone" : "",
"description" : "lebiodelo.com",
"logo" : "https://www.lebiodelo.com/img/icones/logo_full.png"
}
</script>
<title>{% block title %}Le bio d'Élo{% endblock %}</title>
<script type="text/javascript" src="{{ asset("tarteaucitronmin.js") }}"></script>
<script type="text/javascript">
tarteaucitron.init({
"privacyUrl": "http://www.lebiodelo.com/mentionLegales", /* Privacy policy url */
"hashtag": "#tarteaucitron",
/* Open the panel with this hashtag */
"cookieName": "tarteaucitron",
/* Cookie name */
"orientation": "bottom",
/* Banner position (top - bottom) */
"groupServices": false,
/* Group services by category */
"showAlertSmall": false,
/* Show the small banner on bottom right */
"cookieslist": false,
/* Show the cookie list */
"closePopup": false,
/* Show a close X on the banner */
"showIcon": true,
/* Show cookie icon to manage cookies */
//"iconSrc": "", /* Optionnal: URL or base64 encoded image */
"iconPosition": "BottomRight",
/* BottomRight, BottomLeft, TopRight and TopLeft */
"adblocker": false,
/* Show a Warning if an adblocker is detected */
"DenyAllCta": true,
/* Show the deny all button */
"AcceptAllCta": true,
/* Show the accept all button when highPrivacy on */
"highPrivacy": true,
/* HIGHLY RECOMMANDED Disable auto consent */
"handleBrowserDNTRequest": false,
/* If Do Not Track == 1, disallow all */
"removeCredit": true,
/* Remove credit link */
"moreInfoLink": false,
/* Show more info link */
"useExternalCss": false,
/* If false, the tarteaucitron.css file will be loaded */
"useExternalJs": false,
/* If false, the tarteaucitron.js file will be loaded */
//"cookieDomain": ".my-multisite-domaine.fr", /* Shared cookie for multisite */
"showIcon": false,
/* Change the default readmore link */
"readmoreLink": "",
/* Change the default readmore link */
"mandatory": true,
/* Show a message about mandatory cookies */
});
</script>
<script type="text/javascript">
tarteaucitron.user.gtagUa = 'G-MBV5Y5BSSE';
// tarteaucitron.user.gtagCrossdomain = ['example.com', 'example2.com'];
tarteaucitron.user.gtagMore = function() { /* add here your optionnal gtag() */ };
(tarteaucitron.job = tarteaucitron.job || []).push('gtag');
(tarteaucitron.job = tarteaucitron.job || []).push('analytics');
(tarteaucitron.job = tarteaucitron.job || []).push('instagram');
(tarteaucitron.job = tarteaucitron.job || []).push('facebook');
(tarteaucitron.job = tarteaucitron.job || []).push('twitter');
(tarteaucitron.job = tarteaucitron.job || []).push('pinterest');
</script>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="{{ asset('css/tarteaucitron.css') }}">
<link rel="stylesheet" href="{{ asset('css/style.css') }}">
<link rel="icon" href="{{ asset('img/icones/favicon.png') }}"/>
<link rel="apple-touch-icon" href="{{ asset('img/icones/favicon_appletouch.png') }}"/> {% block stylesheets %}{% endblock %}
</head>
<body>
{% set categories = app.session.get('categories') %}
<nav class="navbarLg navbar navbar-expand-lg sticky-top navbar-light d-none d-lg-block">
<div class="container-fluid">
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNavDropdown" aria-controls="navbarNavDropdown" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNavDropdown">
<ul class="navbar-nav col-12">
<div class="col-4 d-flex">
<li class=" col-6 nav-item dropdown mx-3">
<a class="nav-link" href="{{ path('catalogue') }}" id="navbarDropdownMenuLink" data-bs-toggle="" aria-expanded="false">PRODUITS</a>
<ul class="dropdown-menu" aria-labelledby="navbarDropdown">
{% for categorie in categories %}
<li class="nav-item">
<a class="dropdown-item" href="{{ path("categorie" , {'id' : categorie.id}) }}">{{ categorie.nom }}</a>
</li>
{% endfor %}
</ul>
</li>
<li class=" col-6 nav-item dropdown ">
<a class="nav-link " href="{{ path('nous') }}" id="navbarDropdownMenuLink" role="button" data-bs-toggle="" aria-expanded="false">A PROPOS</a>
</li>
</div>
<div class="col-4 ">
<li class="navbar-brand d-none d-lg-flex justify-content-center">
<a href="{{ path('accueil') }}">
<img id="logo-full" class="" src="{{ asset('img/icones/logo_full.png') }}" alt="logo" style='width:200px'>
</a>
<a href="{{ path('accueil') }}">
<img id="logo-text" class="d-none" src="{{ asset('img/icones/logo.png') }}" alt="logo" style='width:150px'>
</a>
</li>
</div>
<div class="col-4 d-flex justify-content-end">
<li class="nav-item dropdown">
<a class="nav-link px-3" href="#" id="navbarDropdownMenuLink" role="button" data-bs-toggle="" aria-expanded="false">
{% if app.user %}
MON COMPTE</a>
{% else %}
<i class="far fa-user"></i>
</a>
{% endif %}
<ul class="dropdown-menu " aria-labelledby="navbarDropdown">
{% if is_granted('ROLE_USER') %}
<li><a class="dropdown-item" href="{{ path("profil") }}">PROFIL</a></li>
<li><a class="dropdown-item" href="{{ path("deconnexion") }}">DECONNEXION</a></li>
{% else %}
<li><a class="dropdown-item" href="{{ path("connexion") }}">CONNEXION</a></li>
<li ><a class="dropdown-item" href = "{{ path('inscription') }}">INSCRIPTION</a></li>
{% endif %}
{% if is_granted('ROLE_ADMIN') %}
<li><hr class="dropdown-divider"></li>
<li ><a class="dropdown-item" href="{{ path('admin_commande') }}">Gérer les commandes </a></li>
<li ><a class="dropdown-item" href="{{ path('presentation_afficher') }}">Gérer à propos</a></li>
<li ><a class="dropdown-item" href="{{ path('accueil_afficher') }}">Gérer l'accueil</a></li>
<li ><a class="dropdown-item" href="{{ path('produit_afficher') }}">Gérer les produits</a></li>
<li ><a class="dropdown-item" href="{{ path('categorie_afficher') }}">Gérer les catégories</a></li>
<li ><a class="dropdown-item" href="{{ path('produit_ajouter') }}">Ajouter un produit</a></li>
<li ><a class="dropdown-item" href="{{ path('user_afficher') }}">Gérer les utilisateurs</a></li>
{% endif %}
</ul>
</li>
<a class="panier nav-link mx-3" href="{{ path('panier')}}">
<img src="{{ asset('img/icones/shopping-bag.png') }}" alt="logo" style='width:16px'>
<span class="badge cart-items-lg"></span>
</a>
</div>
</ul>
</div>
</div>
</nav>
<nav class="navbarMd navbar sticky-top d-lg-none navbar-light ">
<div class="container-fluid">
<a class="panier nav-link" style='margin-top:-20px' href="{{ path('panier')}}">
<img src="{{ asset('img/icones/shopping-bag.png') }}" alt="logo" style='width:24px'>
<span class="badge cart-items-md"></span>
</a>
<a class="navbar-brand" href="{{ path('accueil') }}">
<img src="{{ asset('img/icones/logo.png') }}" alt="logo" style='width:150px'>
</a>
<button class="navbar-toggler" type="button" data-bs-toggle="offcanvas" data-bs-target="#offcanvasNavbar" aria-controls="offcanvasNavbar">
<span class="navbar-toggler-icon"></span>
</button>
<div class="offcanvas offcanvas-end" tabindex="-1" id="offcanvasNavbar" aria-labelledby="offcanvasNavbarLabel">
<div class="offcanvas-header">
<button type="button" class="btn-close text-reset" data-bs-dismiss="offcanvas" aria-label="Close"></button>
</div>
<div class="offcanvas-body">
<ul class="navbar-nav justify-content-end flex-grow-1 pe-3">
{% for categorie in categories %}
<li class="nav-item">
<a class="dropdown-item" href="{{ path("categorie" , {'id' : categorie.id}) }}">{{ categorie.nom }}</a>
</li>
{% endfor %}
<li><hr class="dropdown-divider"></li>
<li class="nav-item">
<a class="dropdown-item" href="{{ path('nous') }}">NOUS</a>
</li>
<li><hr class="dropdown-divider"></li>
{% if is_granted('ROLE_USER') %}
<li><a class="dropdown-item" href="{{ path("profil") }}">PROFIL</a></li>
<li><a class="dropdown-item" href="{{ path("deconnexion") }}">DECONNEXION</a></li>
{% else %}
<li><a class="dropdown-item" href="{{ path("connexion") }}">CONNEXION</a></li>
<li ><a class="dropdown-item" href = "{{ path('inscription') }}">INSCRIPTION</a></li>
{% endif %}
{% if is_granted('ROLE_ADMIN') %}
<li><hr class="dropdown-divider"></li>
<li ><a class="dropdown-item" href="{{ path('presentation_afficher') }}">Gérer 'A propos'</a></li>
<li ><a class="dropdown-item" href="{{ path('accueil_afficher') }}">Gérer l'accueil</a></li>
<li ><a class="dropdown-item" href="{{ path('produit_afficher') }}">Gérer les produits</a></li>
<li ><a class="dropdown-item" href="{{ path('produit_ajouter') }}">Ajouter produit</a></li>
<li ><a class="dropdown-item" href="{{ path('user_afficher') }}">Gérer les utilisateurs</a></li>
{% endif %}
</ul>
</div>
</div>
</div>
</nav>
{% block content %}{% endblock %}
<footer class="footer_container col-12 d-flex flex-column">
<div class="contact ccol-12 d-flex flex-column ">
<div class="mail col-12 d-flex flex-column justify-content-center mb-2">
<a href="mailto:contact@lebiodelo.com" class= "fw-bold">CONTACT@LEBIODELO.COM</a>
<br>
<p>06 70 01 42 26</p>
</div>
<div class="reseaux col-lg-4 mx-auto col-12 d-flex d-none flex-lg-column flex-row justify-content-center align-items-start mb-2">
<p class="d-none fw-bold mb-2 mx-2">NOUS SUIVRE</p>
<a class="mx-2 " href="https://www.facebook.com/" target="_blank">Facebook</i>
</a>
<a class="mx-2 " href="https://www.instagram.com" target="_blank">Instagram</i>
</a>
<a class="mx-2 " href="https://www.pinterest.fr" target="_blank">Pinterest</i>
</a>
</div>
</div>
<div class="rigp col-12 mx-auto my-auto " >
<a href="{{ path('accueil') }}">
<img class="logo-footer d-block mx-auto" src="{{ asset('img/icones/logo.png') }}" alt="logo"></a>
<div class="w-100 d-flex justify-content-center">
<a href="{{ path('mentionsLegales') }}">Mentions légales </a>
<a class='mx-1' href="{{ path('cgv') }}">CGV</a>
</div>
<p>© Le bio d'Élo</p>
</div>
<div class="liens col-12 flex-lg-row flex-md-row flex-column">
<div class="produits d-none col-4 mx-auto">
<p class="mb-2 fw-bold" >PRODUITS</p>
{% for categorie in categories %}
<a class="dropdown-item" href="{{ path("categorie" , {'id' : categorie.id}) }}">{{ categorie.nom }}</a>
{% endfor %}
</div>
</footer>
{% if app.session.get('panier_item') %}
{% set nb_item = app.session.get('panier_item') %}
{% else %}
{% set nb_item = 0 %}
{% endif %}
</div>
</body>
<script src="https://code.jquery.com/jquery-3.6.0.js"></script>
<script src="https://code.jquery.com/ui/1.13.0/jquery-ui.js"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/js/bootstrap.bundle.min.js" integrity="sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn/tWtIaxVXM" crossorigin="anonymous"></script>
<script src="https://kit.fontawesome.com/c6d0a84024.js" crossorigin="anonymous"></script>
<script>// display CartItems ??? not needed anymore
if (document.querySelector('.cart-items-lg').innerHTML == "") {
document.querySelector('.cart-items-md').setAttribute('visibility', "hidden")
}
if (document.querySelector('.cart-items-md').innerHTML == "") {
document.querySelector('.cart-items-md').setAttribute('visibility', "hidden")
}
</script>
<script>//check how many item in the cart and display the badge or not
let nbCartItems = {{ nb_item }}
if (nbCartItems > 0) {
document.querySelector('.cart-items-lg').innerHTML = nbCartItems
document.querySelector('.cart-items-md').innerHTML = nbCartItems
} else {
document.querySelector('.cart-items-lg').innerHTML = ""
document.querySelector('.cart-items-md').innerHTML = ""
document.querySelector('.cart-items-lg').setAttribute('visibility', "hidden")
document.querySelector('.cart-items-md').setAttribute('visibility', "hidden")
}
</script>
<script>// light navigation backrground if scroll
window.onscroll = function()
{
elementLg = document.querySelector('.navbarLg')
elementMd = document.querySelector('.navbarMd')
elementLogoFull =document.querySelector('#logo-full')
elementLogoText =document.querySelector('#logo-text')
let position =window.scrollY
if (position > 120) {
elementLg.style.height = '127px'
elementLg.style.backgroundColor = '#FFFA'
elementLogoFull.classList.add('d-none')
elementLogoText.classList.remove('d-none')
}
else {
elementLg.style.height = 'auto'
elementLg.style.backgroundColor = 'transparent'
elementLogoText.classList.add('d-none')
elementLogoFull.classList.remove('d-none')
}
if (position > 71) {
elementMd.style.backgroundColor = '#FFFA'
}
else {
elementMd.style.backgroundColor = 'transparent'
}
}
</script>
{% block javascripts %}{% endblock %}
</html>