<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
use Twig\TemplateWrapper;
/* base.html.twig */
class __TwigTemplate_b9720b296997619ee0a543fbd8304e59bbf9c5d04b692b229be37737f1f14433 extends Template
{
private Source $source;
/**
* @var array<string, Template>
*/
private array $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
'title' => [$this, 'block_title'],
'stylesheets' => [$this, 'block_stylesheets'],
'javascripts' => [$this, 'block_javascripts'],
'body' => [$this, 'block_body'],
];
}
protected function doDisplay(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "base.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "base.html.twig"));
// line 1
yield "<!DOCTYPE html>
<html lang=\"fr\">
<head>
<meta charset=\"UTF-8\">
<title>";
// line 5
yield from $this->unwrap()->yieldBlock('title', $context, $blocks);
yield "</title>
<link rel=\"icon\" href=\"data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 128 128%22><text y=%221.2em%22 font-size=%2296%22>⚫️</text></svg>\">
<meta charset=\"utf-8\">
<meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">
<meta name=\"format-detection\" content=\"telephone=no\">
<meta name=\"mobile-web-app-capable\" content=\"yes\">
<meta name=\"author\" content=\"\">
<meta name=\"keywords\" content=\"\">
<meta name=\"description\" content=\"\">
<link rel=\"stylesheet\" href=\"";
// line 15
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("css/swiper.css"), "html", null, true);
yield "\" />
<link rel=\"stylesheet\" href=\"";
// line 16
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("css/bootstrap.css"), "html", null, true);
yield "\" />
<link rel=\"stylesheet\" type=\"text/css\" href=\"";
// line 17
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("css/vendor.css"), "html", null, true);
yield "\">
<link rel=\"stylesheet\" type=\"text/css\" href=\"";
// line 18
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("css/style.css"), "html", null, true);
yield "\"><!--A voir si ça ne casse pas de mettre le fichier style avec les autres plustot qu'a la racine du projet-->
<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=Chilanka&family=Montserrat:wght@300;400;500&display=swap\" rel=\"stylesheet\">
<script src=\"https://accounts.google.com/gsi/client\" async></script>
</head>
";
// line 26
yield from $this->unwrap()->yieldBlock('stylesheets', $context, $blocks);
// line 29
yield "
";
// line 30
yield from $this->unwrap()->yieldBlock('javascripts', $context, $blocks);
// line 33
yield " </head>
<body>
<svg xmlns=\"http://www.w3.org/2000/svg\" style=\"display: none;\">
<defs>
<symbol xmlns=\"http://www.w3.org/2000/svg\" id=\"link\" viewBox=\"0 0 24 24\">
<path fill=\"currentColor\"
d=\"M12 19a1 1 0 1 0-1-1a1 1 0 0 0 1 1Zm5 0a1 1 0 1 0-1-1a1 1 0 0 0 1 1Zm0-4a1 1 0 1 0-1-1a1 1 0 0 0 1 1Zm-5 0a1 1 0 1 0-1-1a1 1 0 0 0 1 1Zm7-12h-1V2a1 1 0 0 0-2 0v1H8V2a1 1 0 0 0-2 0v1H5a3 3 0 0 0-3 3v14a3 3 0 0 0 3 3h14a3 3 0 0 0 3-3V6a3 3 0 0 0-3-3Zm1 17a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1v-9h16Zm0-11H4V6a1 1 0 0 1 1-1h1v1a1 1 0 0 0 2 0V5h8v1a1 1 0 0 0 2 0V5h1a1 1 0 0 1 1 1ZM7 15a1 1 0 1 0-1-1a1 1 0 0 0 1 1Zm0 4a1 1 0 1 0-1-1a1 1 0 0 0 1 1Z\" />
</symbol>
<symbol xmlns=\"http://www.w3.org/2000/svg\" id=\"arrow-right\" viewBox=\"0 0 24 24\">
<path fill=\"currentColor\"
d=\"M17.92 11.62a1 1 0 0 0-.21-.33l-5-5a1 1 0 0 0-1.42 1.42l3.3 3.29H7a1 1 0 0 0 0 2h7.59l-3.3 3.29a1 1 0 0 0 0 1.42a1 1 0 0 0 1.42 0l5-5a1 1 0 0 0 .21-.33a1 1 0 0 0 0-.76Z\" />
</symbol>
<symbol xmlns=\"http://www.w3.org/2000/svg\" id=\"category\" viewBox=\"0 0 24 24\">
<path fill=\"currentColor\"
d=\"M19 5.5h-6.28l-.32-1a3 3 0 0 0-2.84-2H5a3 3 0 0 0-3 3v13a3 3 0 0 0 3 3h14a3 3 0 0 0 3-3v-10a3 3 0 0 0-3-3Zm1 13a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1v-13a1 1 0 0 1 1-1h4.56a1 1 0 0 1 .95.68l.54 1.64a1 1 0 0 0 .95.68h7a1 1 0 0 1 1 1Z\" />
</symbol>
<symbol xmlns=\"http://www.w3.org/2000/svg\" id=\"calendar\" viewBox=\"0 0 24 24\">
<path fill=\"currentColor\"
d=\"M19 4h-2V3a1 1 0 0 0-2 0v1H9V3a1 1 0 0 0-2 0v1H5a3 3 0 0 0-3 3v12a3 3 0 0 0 3 3h14a3 3 0 0 0 3-3V7a3 3 0 0 0-3-3Zm1 15a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1v-7h16Zm0-9H4V7a1 1 0 0 1 1-1h2v1a1 1 0 0 0 2 0V6h6v1a1 1 0 0 0 2 0V6h2a1 1 0 0 1 1 1Z\" />
</symbol>
<symbol xmlns=\"http://www.w3.org/2000/svg\" id=\"heart\" viewBox=\"0 0 24 24\">
<path fill=\"currentColor\"
d=\"M20.16 4.61A6.27 6.27 0 0 0 12 4a6.27 6.27 0 0 0-8.16 9.48l7.45 7.45a1 1 0 0 0 1.42 0l7.45-7.45a6.27 6.27 0 0 0 0-8.87Zm-1.41 7.46L12 18.81l-6.75-6.74a4.28 4.28 0 0 1 3-7.3a4.25 4.25 0 0 1 3 1.25a1 1 0 0 0 1.42 0a4.27 4.27 0 0 1 6 6.05Z\" />
</symbol>
<symbol xmlns=\"http://www.w3.org/2000/svg\" id=\"plus\" viewBox=\"0 0 24 24\">
<path fill=\"currentColor\"
d=\"M19 11h-6V5a1 1 0 0 0-2 0v6H5a1 1 0 0 0 0 2h6v6a1 1 0 0 0 2 0v-6h6a1 1 0 0 0 0-2Z\" />
</symbol>
<symbol xmlns=\"http://www.w3.org/2000/svg\" id=\"minus\" viewBox=\"0 0 24 24\">
<path fill=\"currentColor\" d=\"M19 11H5a1 1 0 0 0 0 2h14a1 1 0 0 0 0-2Z\" />
</symbol>
<symbol xmlns=\"http://www.w3.org/2000/svg\" id=\"cart\" viewBox=\"0 0 24 24\">
<path fill=\"currentColor\"
d=\"M8.5 19a1.5 1.5 0 1 0 1.5 1.5A1.5 1.5 0 0 0 8.5 19ZM19 16H7a1 1 0 0 1 0-2h8.491a3.013 3.013 0 0 0 2.885-2.176l1.585-5.55A1 1 0 0 0 19 5H6.74a3.007 3.007 0 0 0-2.82-2H3a1 1 0 0 0 0 2h.921a1.005 1.005 0 0 1 .962.725l.155.545v.005l1.641 5.742A3 3 0 0 0 7 18h12a1 1 0 0 0 0-2Zm-1.326-9l-1.22 4.274a1.005 1.005 0 0 1-.963.726H8.754l-.255-.892L7.326 7ZM16.5 19a1.5 1.5 0 1 0 1.5 1.5a1.5 1.5 0 0 0-1.5-1.5Z\" />
</symbol>
<symbol xmlns=\"http://www.w3.org/2000/svg\" id=\"check\" viewBox=\"0 0 24 24\">
<path fill=\"currentColor\"
d=\"M18.71 7.21a1 1 0 0 0-1.42 0l-7.45 7.46l-3.13-3.14A1 1 0 1 0 5.29 13l3.84 3.84a1 1 0 0 0 1.42 0l8.16-8.16a1 1 0 0 0 0-1.47Z\" />
</symbol>
<symbol xmlns=\"http://www.w3.org/2000/svg\" id=\"trash\" viewBox=\"0 0 24 24\">
<path fill=\"currentColor\"
d=\"M10 18a1 1 0 0 0 1-1v-6a1 1 0 0 0-2 0v6a1 1 0 0 0 1 1ZM20 6h-4V5a3 3 0 0 0-3-3h-2a3 3 0 0 0-3 3v1H4a1 1 0 0 0 0 2h1v11a3 3 0 0 0 3 3h8a3 3 0 0 0 3-3V8h1a1 1 0 0 0 0-2ZM10 5a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v1h-4Zm7 14a1 1 0 0 1-1 1H8a1 1 0 0 1-1-1V8h10Zm-3-1a1 1 0 0 0 1-1v-6a1 1 0 0 0-2 0v6a1 1 0 0 0 1 1Z\" />
</symbol>
<symbol xmlns=\"http://www.w3.org/2000/svg\" id=\"star-outline\" viewBox=\"0 0 15 15\">
<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\"
d=\"M7.5 9.804L5.337 11l.413-2.533L4 6.674l2.418-.37L7.5 4l1.082 2.304l2.418.37l-1.75 1.793L9.663 11L7.5 9.804Z\" />
</symbol>
<symbol xmlns=\"http://www.w3.org/2000/svg\" id=\"star-solid\" viewBox=\"0 0 15 15\">
<path fill=\"currentColor\"
d=\"M7.953 3.788a.5.5 0 0 0-.906 0L6.08 5.85l-2.154.33a.5.5 0 0 0-.283.843l1.574 1.613l-.373 2.284a.5.5 0 0 0 .736.518l1.92-1.063l1.921 1.063a.5.5 0 0 0 .736-.519l-.373-2.283l1.574-1.613a.5.5 0 0 0-.283-.844L8.921 5.85l-.968-2.062Z\" />
</symbol>
<symbol xmlns=\"http://www.w3.org/2000/svg\" id=\"search\" viewBox=\"0 0 24 24\">
<path fill=\"currentColor\"
d=\"M21.71 20.29L18 16.61A9 9 0 1 0 16.61 18l3.68 3.68a1 1 0 0 0 1.42 0a1 1 0 0 0 0-1.39ZM11 18a7 7 0 1 1 7-7a7 7 0 0 1-7 7Z\" />
</symbol>
<symbol xmlns=\"http://www.w3.org/2000/svg\" id=\"user\" viewBox=\"0 0 24 24\">
<path fill=\"currentColor\"
d=\"M15.71 12.71a6 6 0 1 0-7.42 0a10 10 0 0 0-6.22 8.18a1 1 0 0 0 2 .22a8 8 0 0 1 15.9 0a1 1 0 0 0 1 .89h.11a1 1 0 0 0 .88-1.1a10 10 0 0 0-6.25-8.19ZM12 12a4 4 0 1 1 4-4a4 4 0 0 1-4 4Z\" />
</symbol>
<symbol xmlns=\"http://www.w3.org/2000/svg\" id=\"close\" viewBox=\"0 0 15 15\">
<path fill=\"currentColor\"
d=\"M7.953 3.788a.5.5 0 0 0-.906 0L6.08 5.85l-2.154.33a.5.5 0 0 0-.283.843l1.574 1.613l-.373 2.284a.5.5 0 0 0 .736.518l1.92-1.063l1.921 1.063a.5.5 0 0 0 .736-.519l-.373-2.283l1.574-1.613a.5.5 0 0 0-.283-.844L8.921 5.85l-.968-2.062Z\" />
</symbol>
</defs>
</svg>
<div class=\"preloader-wrapper\">
<div class=\"preloader\">
</div>
</div>
<div class=\"offcanvas offcanvas-end\" style=\"overflow: auto;\" tabindex=\"-1\" id=\"offcanvasCart\" aria-labelledby=\"My Cart\">
<div class=\"offcanvas-header justify-content-center\">
<button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"offcanvas\" aria-label=\"Close\"></button>
</div>
<div class=\"offcanvas-body\">
<div class=\"order-md-last\">
<h4 class=\"d-flex justify-content-between align-items-center mb-3\">
<span class=\"text-primary\">Votre panier</span>
<span class=\"cart-counters badge bg-primary rounded-circle pt-2\">";
// line 114
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["totalQuantity"]) || array_key_exists("totalQuantity", $context) ? $context["totalQuantity"] : (function () { throw new RuntimeError('Variable "totalQuantity" does not exist.', 114, $this->source); })()), "html", null, true);
yield "</span>
</h4>
<ul id=\"lateral-cart-content\" class=\"list-group mb-3\">
";
// line 118
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["cartProducts"]) || array_key_exists("cartProducts", $context) ? $context["cartProducts"] : (function () { throw new RuntimeError('Variable "cartProducts" does not exist.', 118, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["cartProduct"]) {
// line 119
yield " <li data-product-id=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["cartProduct"], "product", [], "any", false, false, false, 119), "id", [], "any", false, false, false, 119), "html", null, true);
yield "\" data-product-quantity=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["cartProduct"], "quantity", [], "any", false, false, false, 119), "html", null, true);
yield "\" data-product-stock=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["cartProduct"], "product", [], "any", false, false, false, 119), "stock", [], "any", false, false, false, 119), "html", null, true);
yield "\" style=\"list-style-type: none;\">
<a class=\"list-group-item d-flex justify-content-between lh-sm\" href=\"";
// line 120
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("product", ["id" => CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["cartProduct"], "product", [], "any", false, false, false, 120), "id", [], "any", false, false, false, 120)]), "html", null, true);
yield "\">
<div>
<h6 style=\"overflow-wrap: anywhere\" class=\"my-0\">";
// line 122
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["cartProduct"], "product", [], "any", false, false, false, 122), "name", [], "any", false, false, false, 122), "html", null, true);
yield " ";
if ((CoreExtension::getAttribute($this->env, $this->source, $context["cartProduct"], "quantity", [], "any", false, false, false, 122) >= 1)) {
// line 123
yield " - <span class=\"quantity-counter\" style=\"font-weight: bold; text-transform: lowercase;\">x";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["cartProduct"], "quantity", [], "any", false, false, false, 123), "html", null, true);
yield "</span>
";
}
// line 124
yield "</h6>
";
// line 126
yield " </div>
<span class=\"product-total-price text-body-secondary\" data-final-price=\"";
// line 127
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["cartProduct"], "product", [], "any", false, false, false, 127), "price", [], "any", false, false, false, 127) * CoreExtension::getAttribute($this->env, $this->source, $context["cartProduct"], "quantity", [], "any", false, false, false, 127)), "html", null, true);
yield "\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["cartProduct"], "product", [], "any", false, false, false, 127), "price", [], "any", false, false, false, 127) * CoreExtension::getAttribute($this->env, $this->source, $context["cartProduct"], "quantity", [], "any", false, false, false, 127)), "html", null, true);
yield "€</span>
</a>
</li>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['cartProduct'], $context['_parent']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 132
yield "
<li class=\"total-price-container list-group-item d-flex justify-content-between\">
<span class=\"fw-bold\">Total (EUR)</span>
<strong id=\"cart-total-price\" data-final-price=\"";
// line 135
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["totalPrice"]) || array_key_exists("totalPrice", $context) ? $context["totalPrice"] : (function () { throw new RuntimeError('Variable "totalPrice" does not exist.', 135, $this->source); })()), "html", null, true);
yield "\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["totalPrice"]) || array_key_exists("totalPrice", $context) ? $context["totalPrice"] : (function () { throw new RuntimeError('Variable "totalPrice" does not exist.', 135, $this->source); })()), "html", null, true);
yield "€</strong>
</li>
</ul>
<button class=\"w-100 btn btn-secondary btn-lg d-flex justify-content-center align-items-center mb-3\" type=\"button\" data-bs-toggle=\"offcanvas\" data-bs-target=\"#changeCart\" aria-controls=\"offcanvasExample\">Modifier le panier</button>
<a href=\"";
// line 139
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("checkout");
yield "\" class=\"w-100 btn btn-primary btn-lg\">Procéder au paiement</a>
<a href=\"#\" class=\"danger-button clear-cart\">Vider le panier</a class=\"danger-button\">
</div>
</div>
</div>
<div class=\"offcanvas offcanvas-end\" style=\"overflow: auto;\" tabindex=\"-1\" id=\"offcanvasSearch\"
aria-labelledby=\"Search\">
<div class=\"offcanvas-header justify-content-center\">
<button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"offcanvas\" aria-label=\"Close\"></button>
</div>
<div class=\"offcanvas-body\">
<div class=\"order-md-last\">
<h4 class=\"text-primary text-uppercase mb-3\">
Recherche
</h4>
<div class=\"search-bar border rounded-2 border-dark-subtle\">
<form class=\"text-center d-flex align-items-center\" action=\"";
// line 157
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("search_products");
yield "\" method=\"POST\">
<input name=\"terms_to_search\" id=\"search_input\" type=\"text\" class=\"form-control border-0 bg-transparent\"
placeholder=\"Tapez votre recherche !\" />
<button type=\"submit\" class=\"search_product_button\" width=\"24\" height=\"24\">
<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\">
<path fill=\"currentColor\"
d=\"M21.71 20.29L18 16.61A9 9 0 1 0 16.61 18l3.68 3.68a1 1 0 0 0 1.42 0a1 1 0 0 0 0-1.39ZM11 18a7 7 0 1 1 7-7a7 7 0 0 1-7 7Z\" />
</svg>
</button>
</form>
</div>
</div>
</div>
</div>
<div class=\"offcanvas offcanvas-end\" data-bs-scroll=\"true\" tabindex=\"-1\" id=\"changeCart\" aria-labelledby=\"offcanvasExampleLabel\">
<div class=\"offcanvas-header\">
<button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"offcanvas\" aria-label=\"Close\"></button>
</div>
<div class=\"offcanvas-body\">
<div class=\"order-md-last\">
<h4 class=\"d-flex justify-content-between align-items-center mb-3\">
<span class=\"text-primary\">Votre panier</span>
<span class=\"cart-counters badge bg-primary rounded-circle pt-2\">";
// line 181
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["totalQuantity"]) || array_key_exists("totalQuantity", $context) ? $context["totalQuantity"] : (function () { throw new RuntimeError('Variable "totalQuantity" does not exist.', 181, $this->source); })()), "html", null, true);
yield "</span>
</h4>
<ul id=\"lateral-edit-cart-content\" class=\"list-group mb-3\">
";
// line 184
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["cartProducts"]) || array_key_exists("cartProducts", $context) ? $context["cartProducts"] : (function () { throw new RuntimeError('Variable "cartProducts" does not exist.', 184, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["cartProduct"]) {
// line 185
yield "
<li class=\"list-group-item d-flex justify-content-between lh-sm\" data-product-id=\"";
// line 186
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["cartProduct"], "product", [], "any", false, false, false, 186), "id", [], "any", false, false, false, 186), "html", null, true);
yield "\" data-product-quantity=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["cartProduct"], "quantity", [], "any", false, false, false, 186), "html", null, true);
yield "\" data-product-stock=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["cartProduct"], "product", [], "any", false, false, false, 186), "stock", [], "any", false, false, false, 186), "html", null, true);
yield "\">
<div class=\"d-flex align-items-center\">
<h6 class=\"my-0\">";
// line 189
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["cartProduct"], "product", [], "any", false, false, false, 189), "name", [], "any", false, false, false, 189), "html", null, true);
yield "</h6>
</div>
<div class=\"edit-cart-button-group\"><span class=\"quantity-buttons more-button m-2\"><svg width=\"16\" height=\"16\">
<use xlink:href=\"#plus\"></use>
</svg></span><span class=\"quantity-counter m-2\">";
// line 193
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["cartProduct"], "quantity", [], "any", false, false, false, 193), "html", null, true);
yield "</span><span class=\"quantity-buttons less-button m-2\"><svg width=\"16\" height=\"16\">
<use xlink:href=\"#minus\"></use>
</svg></span></div>
<span class=\"product-total-price text-body-secondary d-flex align-items-center\" data-unit-price=\"";
// line 196
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["cartProduct"], "product", [], "any", false, false, false, 196), "price", [], "any", false, false, false, 196), "html", null, true);
yield "\" data-final-price=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["cartProduct"], "product", [], "any", false, false, false, 196), "price", [], "any", false, false, false, 196) * CoreExtension::getAttribute($this->env, $this->source, $context["cartProduct"], "quantity", [], "any", false, false, false, 196)), "html", null, true);
yield "\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["cartProduct"], "product", [], "any", false, false, false, 196), "price", [], "any", false, false, false, 196) * CoreExtension::getAttribute($this->env, $this->source, $context["cartProduct"], "quantity", [], "any", false, false, false, 196)), "html", null, true);
yield "€</span>
</li>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['cartProduct'], $context['_parent']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 200
yield "
<li class=\"total-price-container list-group-item d-flex justify-content-between\">
<span class=\"fw-bold\">Total (EUR)</span>
<strong id=\"edit-cart-total-price\" data-final-price=\"";
// line 203
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["totalPrice"]) || array_key_exists("totalPrice", $context) ? $context["totalPrice"] : (function () { throw new RuntimeError('Variable "totalPrice" does not exist.', 203, $this->source); })()), "html", null, true);
yield ">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["totalPrice"]) || array_key_exists("totalPrice", $context) ? $context["totalPrice"] : (function () { throw new RuntimeError('Variable "totalPrice" does not exist.', 203, $this->source); })()), "html", null, true);
yield "€\"></strong>
</li>
</ul>
<a href=\"";
// line 206
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("checkout");
yield "\" class=\"w-100 btn btn-primary btn-lg\" data-bs-toggle=\"offcanvas\" data-bs-target=\"#offcanvasCart\">Retourner au panier</a>
</div>
</div>
</div>
";
// line 211
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 211, $this->source); })()), "flashes", [], "any", false, false, false, 211));
foreach ($context['_seq'] as $context["type"] => $context["messages"]) {
// line 212
yield "
";
// line 213
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable($context["messages"]);
foreach ($context['_seq'] as $context["_key"] => $context["message"]) {
// line 214
yield " ";
if (($context["type"] != "error")) {
// line 215
yield " <div class=\"alert alert-";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["type"], "html", null, true);
yield "\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["message"], "html", null, true);
yield "</div>
";
} else {
// line 217
yield " <div style=\"background-color: lightcoral;\" class=\"alert alert-";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["type"], "html", null, true);
yield "\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["message"], "html", null, true);
yield "</div>
";
}
// line 219
yield " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['message'], $context['_parent']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 220
yield " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['type'], $context['messages'], $context['_parent']);
$context = array_intersect_key($context, $_parent) + $_parent;
yield "
<header>
<div class=\"container upper-container\">
<div class=\"logo\">
<a href=\"";
// line 227
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_home");
yield "\">
<img src=\"";
// line 228
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/logo.png"), "html", null, true);
yield "\" alt=\"logo\" class=\"img-fluid\">
</a>
</div>
<div class=\"search-bar-wrapper\">
<div class=\"search-bar border rounded-2 px-3 border-dark-subtle\">
<form id=\"search-form\" class=\"text-center d-flex align-items-center\" action=\"";
// line 234
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("search_products");
yield "\" method=\"POST\">
<input name=\"terms_to_search\" id=\"search_input\" type=\"text\" class=\"form-control border-0 bg-transparent\"
placeholder=\"Recherchez Parmis Tout Nos Produits !\" />
<button type=\"submit\" class=\"search_product_button\" width=\"24\" height=\"24\">
<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\">
<path fill=\"currentColor\"
d=\"M21.71 20.29L18 16.61A9 9 0 1 0 16.61 18l3.68 3.68a1 1 0 0 0 1.42 0a1 1 0 0 0 0-1.39ZM11 18a7 7 0 1 1 7-7a7 7 0 0 1-7 7Z\" />
</svg>
</button>
</form>
</div>
</div>
<div id=\"social-networks\">
<div class=\"wrapper\">
<ul >
<li class=\"social\">
<a href=\"https://www.facebook.com/lestresorsdeluna/\" target=\"_blank\">
<iconify-icon class=\"social-icon\" icon=\"ri:facebook-fill\"></iconify-icon>
</a>
</li>
<li class=\"social\">
<a href=\"https://www.instagram.com/lestresorsdeluna/\" target=\"_blank\">
<iconify-icon class=\"social-icon\" icon=\"ri:instagram-fill\"></iconify-icon>
</a>
</li>
<li class=\"social\">
<a href=\"https://www.youtube.com/@lestresorsdeluna\" target=\"_blank\">
<iconify-icon class=\"social-icon\" icon=\"ri:youtube-fill\"></iconify-icon>
</a>
</li>
</ul>
<div class=\"contact\"><a href=\"mailto:contact.tresorsdeluna@gmail.com\">contact.tresorsdeluna@gmail.com</a></div>
</div>
</div>
</div>
<div class=\"container-fluid\">
<hr class=\"m-0\">
</div>
<div class=\"container\">
<nav class=\"main-menu navbar navbar-expand-lg \">
<a href=\"";
// line 280
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_home");
yield "\" class=\"logo-mobile\">
<img src=\"";
// line 281
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/logo.png"), "html", null, true);
yield "\" alt=\"\">
<img src=\"";
// line 282
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/logo_2.png"), "html", null, true);
yield "\" alt=\"\">
</a>
<div class=\"user-actions d-flex d-lg-none align-items-end mt-3\">
<ul class=\"d-flex justify-content-end list-unstyled m-0\">
<li>
<a href=\"#\" class=\"mx-3\" data-bs-toggle=\"offcanvas\" data-bs-target=\"#offcanvasSearch\"
aria-controls=\"offcanvasSearch\">
<iconify-icon icon=\"tabler:search\" class=\"fs-4\"></iconify-icon>
</span>
</a>
</li>
<li>
<li>
";
// line 297
if (CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 297, $this->source); })()), "user", [], "any", false, false, false, 297)) {
// line 298
yield "
";
// line 299
if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_ADMIN")) {
// line 300
yield "
<a href=\"";
// line 301
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("admin_index");
yield "\" class=\"mx-3\">
<iconify-icon icon=\"healthicons:person\" class=\"fs-4\"></iconify-icon>
</a>
";
} else {
// line 305
yield " <a href=\"";
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_account");
yield "\" class=\"mx-3\">
<iconify-icon icon=\"healthicons:person\" class=\"fs-4\"></iconify-icon>
</a>
";
}
// line 309
yield "
";
} else {
// line 311
yield " <a href=\"";
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("account");
yield "\" class=\"mx-3\">
<iconify-icon icon=\"healthicons:person\" class=\"fs-4\"></iconify-icon>
</a>
";
}
// line 315
yield " </li>
</li>
<li>
<a href=\"#\" class=\"mx-3\" data-bs-toggle=\"offcanvas\" data-bs-target=\"#offcanvasCart\"
aria-controls=\"offcanvasCart\">
<iconify-icon icon=\"mdi:cart\" class=\"fs-4 position-relative\"></iconify-icon>
<span class=\"cart-counters position-absolute translate-middle badge rounded-circle bg-primary pt-2\">
";
// line 323
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["totalQuantity"]) || array_key_exists("totalQuantity", $context) ? $context["totalQuantity"] : (function () { throw new RuntimeError('Variable "totalQuantity" does not exist.', 323, $this->source); })()), "html", null, true);
yield "
</span>
</a>
</li>
</ul>
</div>
<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 justify-content-center\">
<button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"offcanvas\" aria-label=\"Close\"></button>
</div>
<div class=\"offcanvas-body justify-content-between container\" style=\"overflow: hidden;\">
<select id=\"filter_categories\" class=\"filter-categories border-0 mb-0 me-5\">
<option>Voir par Catégories</option>
";
// line 349
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable((isset($context["categories"]) || array_key_exists("categories", $context) ? $context["categories"] : (function () { throw new RuntimeError('Variable "categories" does not exist.', 349, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["category"]) {
// line 350
yield " ";
if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, $context["category"], "product", [], "any", false, false, false, 350)) > 0)) {
// line 351
yield "
<option value=\"";
// line 352
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("products_filter", ["category" => CoreExtension::getAttribute($this->env, $this->source, $context["category"], "id", [], "any", false, false, false, 352)]), "html", null, true);
yield "\">";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["category"], "name", [], "any", false, false, false, 352), "html", null, true);
yield "</option>
";
}
// line 355
yield "
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_key'], $context['category'], $context['_parent']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 357
yield " ";
// line 362
yield " </select>
<ul class=\"navbar-nav menu-list list-unstyled d-flex gap-md-3 mb-0\">
<li class=\"nav-item\">
<a href=\"";
// line 366
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_home");
yield "\" class=\"nav-link active\">Accueil</a>
</li>
<li class=\"nav-item\">
<a href=\"mailto:contact.tresorsdeluna@gmail.com\" class=\"nav-link active\" style=\"padding-bottom: 0;\">Contact</a>
<div style=\"font-weight: 100;\" class=\"contact\"><a href=\"mailto:contact.tresorsdeluna@gmail.com\">contact.tresorsdeluna@gmail.com</a></div>
</li>
</ul>
<div class=\"d-none d-lg-flex align-items-end\">
<ul class=\"d-flex justify-content-end list-unstyled m-0\">
<li>
";
// line 380
if (CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 380, $this->source); })()), "user", [], "any", false, false, false, 380)) {
// line 381
yield "
";
// line 382
if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_ADMIN")) {
// line 383
yield "
<a href=\"";
// line 384
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("admin_index");
yield "\" class=\"mx-3\">
<iconify-icon icon=\"healthicons:person\" class=\"fs-4\"></iconify-icon>
</a>
";
} else {
// line 388
yield " <a href=\"";
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("user_account");
yield "\" class=\"mx-3\">
<iconify-icon icon=\"healthicons:person\" class=\"fs-4\"></iconify-icon>
</a>
";
}
// line 392
yield "
";
} else {
// line 394
yield " <a href=\"";
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("account");
yield "\" class=\"mx-3\">
<iconify-icon icon=\"healthicons:person\" class=\"fs-4\"></iconify-icon>
</a>
";
}
// line 398
yield " </li>
";
// line 399
if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 399, $this->source); })()), "request", [], "any", false, false, false, 399), "attributes", [], "any", false, false, false, 399), "get", ["_route"], "method", false, false, false, 399) != "payment")) {
// line 400
yield "
<li class=\"\">
<a href=\"#\" class=\"mx-3\" data-bs-toggle=\"offcanvas\" data-bs-target=\"#offcanvasCart\"
aria-controls=\"offcanvasCart\">
<iconify-icon icon=\"mdi:cart\" class=\"fs-4 position-relative\"></iconify-icon>
<span class=\"cart-counters position-absolute translate-middle badge rounded-circle bg-primary pt-2\">
";
// line 406
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["totalQuantity"]) || array_key_exists("totalQuantity", $context) ? $context["totalQuantity"] : (function () { throw new RuntimeError('Variable "totalQuantity" does not exist.', 406, $this->source); })()), "html", null, true);
yield "
</span>
</a>
</li>
";
}
// line 411
yield "
</ul>
</div>
</div>
</div>
</nav>
</div>
</header>
";
// line 427
yield from $this->unwrap()->yieldBlock('body', $context, $blocks);
// line 430
yield "
";
// line 433
if (!CoreExtension::inFilter(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 433, $this->source); })()), "request", [], "any", false, false, false, 433), "get", ["_route"], "method", false, false, false, 433), ["user_account", "edit_account"])) {
// line 434
yield " <hr class=\"container\">
<div id=\"social-networks-footer\" class=\"col-md-3 py-5 my-3\">
<div class=\"card\">
<img src=\"";
// line 438
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/logo.png"), "html", null, true);
yield "\" alt=\"logo\">
<p class=\"blog-paragraph fs-6 mt-3\">Retrouvez nous sur nos réseaux sociaux :</p>
<div class=\"social-links\">
<ul class=\"d-flex list-unstyled justify-content-around gap-2\">
<li class=\"social\">
<a href=\"https://www.facebook.com/lestresorsdeluna/\" target=\"_blank\">
<iconify-icon class=\"social-icon\" icon=\"ri:facebook-fill\"></iconify-icon>
</a>
</li>
<li class=\"social\">
<a href=\"https://www.instagram.com/lestresorsdeluna/\" target=\"_blank\">
<iconify-icon class=\"social-icon\" icon=\"ri:instagram-fill\"></iconify-icon>
</a>
</li>
<li class=\"social\">
<a href=\"https://www.youtube.com/@lestresorsdeluna\" target=\"_blank\">
<iconify-icon class=\"social-icon\" icon=\"ri:youtube-fill\"></iconify-icon>
</a>
</li>
</ul>
</div>
</div>
</div>
<hr class=\"container hr-social-networks-footer\">
<section id=\"service\">
<div class=\"container py-5 my-5\">
<div class=\"row g-md-5 pt-4 d-flex justify-content-around\">
<div class=\"col-md-3 my-3\">
<div class=\"card\">
<div>
<iconify-icon class=\"service-icon text-primary\" icon=\"la:shopping-cart\"></iconify-icon>
</div>
<h3 class=\"card-title py-2 m-0\">Livraison rapide</h3>
<div class=\"card-text\">
<p class=\"blog-paragraph fs-6\">Nous garantissons une prise en charge rapide de vos commande en moins de 24 heures</p>
</div>
</div>
</div>
<div class=\"col-md-3 my-3\">
<div class=\"card\">
<div>
<iconify-icon class=\"service-icon text-primary\" icon=\"la:user-check\"></iconify-icon>
</div>
<h3 class=\"card-title py-2 m-0\">Paiement sécurisé</h3>
<div class=\"card-text\">
<p class=\"blog-paragraph fs-6\">Avec PayPal, que vous ayez un compte ou non, payez en toute sécurité.</p>
</div>
</div>
</div>
";
// line 503
yield "
</div>
</section>
";
}
// line 508
yield "
<div id=\"footer-bottom\">
<div class=\"container\">
<hr class=\"m-0\">
<div class=\"row mt-3\">
<div class=\"copyright d-flex justify-content-between\">
<p class=\"secondary-font\">© 2024 Adna Informatique. All rights reserved.</p>
<p class=\"secondary-font\">
<a href=\"";
// line 516
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("cgv");
yield "\" target=\"_blank\" class=\"nav-link\">Conditions générales de vente</a>
</p>
<p class=\"secondary-font\">
<a href=\"";
// line 519
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("politique_confidentialite");
yield "\" target=\"_blank\" class=\"nav-link\">Politique de confidentialité</a>
</p>
</div>
</div>
</div>
</div>
<script src=\"";
// line 528
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("js/jquery-1.11.0.min.js"), "html", null, true);
yield "\"></script>
<script src=\"";
// line 529
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("js/swiper.js"), "html", null, true);
yield "\"></script>
<script src=\"";
// line 530
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("js/bootstrap.bundle.js"), "html", null, true);
yield "\"></script>
<script src=\"";
// line 531
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("js/plugins.js"), "html", null, true);
yield "\"></script>
<script src=\"";
// line 532
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("js/script.js"), "html", null, true);
yield "\"></script>
<script src=\"";
// line 533
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("js/iconify.js"), "html", null, true);
yield "\"></script>
<script type=\"module\" src=\"";
// line 534
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("js/classes/Cart.js"), "html", null, true);
yield "\"></script>
<script type=\"module\" src=\"";
// line 535
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("js/adna-script.js"), "html", null, true);
yield "\"></script>
<div id=\"cart_notification\">
<p></p>
</div>
</body>
</html>
";
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
yield from [];
}
// line 5
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_title(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
yield from [];
}
// line 26
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_stylesheets(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
// line 27
yield "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
yield from [];
}
// line 30
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_javascripts(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
// line 31
yield "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
yield from [];
}
// line 427
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_body(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
// line 428
yield "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
yield from [];
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName(): string
{
return "base.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable(): bool
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo(): array
{
return array ( 949 => 428, 936 => 427, 924 => 31, 911 => 30, 899 => 27, 886 => 26, 864 => 5, 845 => 535, 841 => 534, 837 => 533, 833 => 532, 829 => 531, 825 => 530, 821 => 529, 817 => 528, 805 => 519, 799 => 516, 789 => 508, 782 => 503, 727 => 438, 721 => 434, 719 => 433, 714 => 430, 712 => 427, 694 => 411, 685 => 406, 677 => 400, 675 => 399, 672 => 398, 664 => 394, 660 => 392, 652 => 388, 645 => 384, 642 => 383, 640 => 382, 637 => 381, 635 => 380, 618 => 366, 612 => 362, 610 => 357, 603 => 355, 595 => 352, 592 => 351, 589 => 350, 585 => 349, 556 => 323, 546 => 315, 538 => 311, 534 => 309, 526 => 305, 519 => 301, 516 => 300, 514 => 299, 511 => 298, 509 => 297, 491 => 282, 487 => 281, 483 => 280, 434 => 234, 425 => 228, 421 => 227, 407 => 220, 401 => 219, 393 => 217, 385 => 215, 382 => 214, 378 => 213, 375 => 212, 371 => 211, 363 => 206, 355 => 203, 350 => 200, 336 => 196, 330 => 193, 323 => 189, 313 => 186, 310 => 185, 306 => 184, 300 => 181, 273 => 157, 252 => 139, 243 => 135, 238 => 132, 225 => 127, 222 => 126, 219 => 124, 213 => 123, 209 => 122, 204 => 120, 195 => 119, 191 => 118, 184 => 114, 101 => 33, 99 => 30, 96 => 29, 94 => 26, 83 => 18, 79 => 17, 75 => 16, 71 => 15, 58 => 5, 52 => 1,);
}
public function getSourceContext(): Source
{
return new Source("<!DOCTYPE html>
<html lang=\"fr\">
<head>
<meta charset=\"UTF-8\">
<title>{% block title %}{% endblock %}</title>
<link rel=\"icon\" href=\"data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 128 128%22><text y=%221.2em%22 font-size=%2296%22>⚫️</text></svg>\">
<meta charset=\"utf-8\">
<meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">
<meta name=\"format-detection\" content=\"telephone=no\">
<meta name=\"mobile-web-app-capable\" content=\"yes\">
<meta name=\"author\" content=\"\">
<meta name=\"keywords\" content=\"\">
<meta name=\"description\" content=\"\">
<link rel=\"stylesheet\" href=\"{{asset('css/swiper.css')}}\" />
<link rel=\"stylesheet\" href=\"{{asset('css/bootstrap.css')}}\" />
<link rel=\"stylesheet\" type=\"text/css\" href=\"{{asset('css/vendor.css')}}\">
<link rel=\"stylesheet\" type=\"text/css\" href=\"{{asset('css/style.css')}}\"><!--A voir si ça ne casse pas de mettre le fichier style avec les autres plustot qu'a la racine du projet-->
<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=Chilanka&family=Montserrat:wght@300;400;500&display=swap\" rel=\"stylesheet\">
<script src=\"https://accounts.google.com/gsi/client\" async></script>
</head>
{% block stylesheets %}
{% endblock %}
{% block javascripts %}
{% endblock %}
</head>
<body>
<svg xmlns=\"http://www.w3.org/2000/svg\" style=\"display: none;\">
<defs>
<symbol xmlns=\"http://www.w3.org/2000/svg\" id=\"link\" viewBox=\"0 0 24 24\">
<path fill=\"currentColor\"
d=\"M12 19a1 1 0 1 0-1-1a1 1 0 0 0 1 1Zm5 0a1 1 0 1 0-1-1a1 1 0 0 0 1 1Zm0-4a1 1 0 1 0-1-1a1 1 0 0 0 1 1Zm-5 0a1 1 0 1 0-1-1a1 1 0 0 0 1 1Zm7-12h-1V2a1 1 0 0 0-2 0v1H8V2a1 1 0 0 0-2 0v1H5a3 3 0 0 0-3 3v14a3 3 0 0 0 3 3h14a3 3 0 0 0 3-3V6a3 3 0 0 0-3-3Zm1 17a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1v-9h16Zm0-11H4V6a1 1 0 0 1 1-1h1v1a1 1 0 0 0 2 0V5h8v1a1 1 0 0 0 2 0V5h1a1 1 0 0 1 1 1ZM7 15a1 1 0 1 0-1-1a1 1 0 0 0 1 1Zm0 4a1 1 0 1 0-1-1a1 1 0 0 0 1 1Z\" />
</symbol>
<symbol xmlns=\"http://www.w3.org/2000/svg\" id=\"arrow-right\" viewBox=\"0 0 24 24\">
<path fill=\"currentColor\"
d=\"M17.92 11.62a1 1 0 0 0-.21-.33l-5-5a1 1 0 0 0-1.42 1.42l3.3 3.29H7a1 1 0 0 0 0 2h7.59l-3.3 3.29a1 1 0 0 0 0 1.42a1 1 0 0 0 1.42 0l5-5a1 1 0 0 0 .21-.33a1 1 0 0 0 0-.76Z\" />
</symbol>
<symbol xmlns=\"http://www.w3.org/2000/svg\" id=\"category\" viewBox=\"0 0 24 24\">
<path fill=\"currentColor\"
d=\"M19 5.5h-6.28l-.32-1a3 3 0 0 0-2.84-2H5a3 3 0 0 0-3 3v13a3 3 0 0 0 3 3h14a3 3 0 0 0 3-3v-10a3 3 0 0 0-3-3Zm1 13a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1v-13a1 1 0 0 1 1-1h4.56a1 1 0 0 1 .95.68l.54 1.64a1 1 0 0 0 .95.68h7a1 1 0 0 1 1 1Z\" />
</symbol>
<symbol xmlns=\"http://www.w3.org/2000/svg\" id=\"calendar\" viewBox=\"0 0 24 24\">
<path fill=\"currentColor\"
d=\"M19 4h-2V3a1 1 0 0 0-2 0v1H9V3a1 1 0 0 0-2 0v1H5a3 3 0 0 0-3 3v12a3 3 0 0 0 3 3h14a3 3 0 0 0 3-3V7a3 3 0 0 0-3-3Zm1 15a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1v-7h16Zm0-9H4V7a1 1 0 0 1 1-1h2v1a1 1 0 0 0 2 0V6h6v1a1 1 0 0 0 2 0V6h2a1 1 0 0 1 1 1Z\" />
</symbol>
<symbol xmlns=\"http://www.w3.org/2000/svg\" id=\"heart\" viewBox=\"0 0 24 24\">
<path fill=\"currentColor\"
d=\"M20.16 4.61A6.27 6.27 0 0 0 12 4a6.27 6.27 0 0 0-8.16 9.48l7.45 7.45a1 1 0 0 0 1.42 0l7.45-7.45a6.27 6.27 0 0 0 0-8.87Zm-1.41 7.46L12 18.81l-6.75-6.74a4.28 4.28 0 0 1 3-7.3a4.25 4.25 0 0 1 3 1.25a1 1 0 0 0 1.42 0a4.27 4.27 0 0 1 6 6.05Z\" />
</symbol>
<symbol xmlns=\"http://www.w3.org/2000/svg\" id=\"plus\" viewBox=\"0 0 24 24\">
<path fill=\"currentColor\"
d=\"M19 11h-6V5a1 1 0 0 0-2 0v6H5a1 1 0 0 0 0 2h6v6a1 1 0 0 0 2 0v-6h6a1 1 0 0 0 0-2Z\" />
</symbol>
<symbol xmlns=\"http://www.w3.org/2000/svg\" id=\"minus\" viewBox=\"0 0 24 24\">
<path fill=\"currentColor\" d=\"M19 11H5a1 1 0 0 0 0 2h14a1 1 0 0 0 0-2Z\" />
</symbol>
<symbol xmlns=\"http://www.w3.org/2000/svg\" id=\"cart\" viewBox=\"0 0 24 24\">
<path fill=\"currentColor\"
d=\"M8.5 19a1.5 1.5 0 1 0 1.5 1.5A1.5 1.5 0 0 0 8.5 19ZM19 16H7a1 1 0 0 1 0-2h8.491a3.013 3.013 0 0 0 2.885-2.176l1.585-5.55A1 1 0 0 0 19 5H6.74a3.007 3.007 0 0 0-2.82-2H3a1 1 0 0 0 0 2h.921a1.005 1.005 0 0 1 .962.725l.155.545v.005l1.641 5.742A3 3 0 0 0 7 18h12a1 1 0 0 0 0-2Zm-1.326-9l-1.22 4.274a1.005 1.005 0 0 1-.963.726H8.754l-.255-.892L7.326 7ZM16.5 19a1.5 1.5 0 1 0 1.5 1.5a1.5 1.5 0 0 0-1.5-1.5Z\" />
</symbol>
<symbol xmlns=\"http://www.w3.org/2000/svg\" id=\"check\" viewBox=\"0 0 24 24\">
<path fill=\"currentColor\"
d=\"M18.71 7.21a1 1 0 0 0-1.42 0l-7.45 7.46l-3.13-3.14A1 1 0 1 0 5.29 13l3.84 3.84a1 1 0 0 0 1.42 0l8.16-8.16a1 1 0 0 0 0-1.47Z\" />
</symbol>
<symbol xmlns=\"http://www.w3.org/2000/svg\" id=\"trash\" viewBox=\"0 0 24 24\">
<path fill=\"currentColor\"
d=\"M10 18a1 1 0 0 0 1-1v-6a1 1 0 0 0-2 0v6a1 1 0 0 0 1 1ZM20 6h-4V5a3 3 0 0 0-3-3h-2a3 3 0 0 0-3 3v1H4a1 1 0 0 0 0 2h1v11a3 3 0 0 0 3 3h8a3 3 0 0 0 3-3V8h1a1 1 0 0 0 0-2ZM10 5a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v1h-4Zm7 14a1 1 0 0 1-1 1H8a1 1 0 0 1-1-1V8h10Zm-3-1a1 1 0 0 0 1-1v-6a1 1 0 0 0-2 0v6a1 1 0 0 0 1 1Z\" />
</symbol>
<symbol xmlns=\"http://www.w3.org/2000/svg\" id=\"star-outline\" viewBox=\"0 0 15 15\">
<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\"
d=\"M7.5 9.804L5.337 11l.413-2.533L4 6.674l2.418-.37L7.5 4l1.082 2.304l2.418.37l-1.75 1.793L9.663 11L7.5 9.804Z\" />
</symbol>
<symbol xmlns=\"http://www.w3.org/2000/svg\" id=\"star-solid\" viewBox=\"0 0 15 15\">
<path fill=\"currentColor\"
d=\"M7.953 3.788a.5.5 0 0 0-.906 0L6.08 5.85l-2.154.33a.5.5 0 0 0-.283.843l1.574 1.613l-.373 2.284a.5.5 0 0 0 .736.518l1.92-1.063l1.921 1.063a.5.5 0 0 0 .736-.519l-.373-2.283l1.574-1.613a.5.5 0 0 0-.283-.844L8.921 5.85l-.968-2.062Z\" />
</symbol>
<symbol xmlns=\"http://www.w3.org/2000/svg\" id=\"search\" viewBox=\"0 0 24 24\">
<path fill=\"currentColor\"
d=\"M21.71 20.29L18 16.61A9 9 0 1 0 16.61 18l3.68 3.68a1 1 0 0 0 1.42 0a1 1 0 0 0 0-1.39ZM11 18a7 7 0 1 1 7-7a7 7 0 0 1-7 7Z\" />
</symbol>
<symbol xmlns=\"http://www.w3.org/2000/svg\" id=\"user\" viewBox=\"0 0 24 24\">
<path fill=\"currentColor\"
d=\"M15.71 12.71a6 6 0 1 0-7.42 0a10 10 0 0 0-6.22 8.18a1 1 0 0 0 2 .22a8 8 0 0 1 15.9 0a1 1 0 0 0 1 .89h.11a1 1 0 0 0 .88-1.1a10 10 0 0 0-6.25-8.19ZM12 12a4 4 0 1 1 4-4a4 4 0 0 1-4 4Z\" />
</symbol>
<symbol xmlns=\"http://www.w3.org/2000/svg\" id=\"close\" viewBox=\"0 0 15 15\">
<path fill=\"currentColor\"
d=\"M7.953 3.788a.5.5 0 0 0-.906 0L6.08 5.85l-2.154.33a.5.5 0 0 0-.283.843l1.574 1.613l-.373 2.284a.5.5 0 0 0 .736.518l1.92-1.063l1.921 1.063a.5.5 0 0 0 .736-.519l-.373-2.283l1.574-1.613a.5.5 0 0 0-.283-.844L8.921 5.85l-.968-2.062Z\" />
</symbol>
</defs>
</svg>
<div class=\"preloader-wrapper\">
<div class=\"preloader\">
</div>
</div>
<div class=\"offcanvas offcanvas-end\" style=\"overflow: auto;\" tabindex=\"-1\" id=\"offcanvasCart\" aria-labelledby=\"My Cart\">
<div class=\"offcanvas-header justify-content-center\">
<button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"offcanvas\" aria-label=\"Close\"></button>
</div>
<div class=\"offcanvas-body\">
<div class=\"order-md-last\">
<h4 class=\"d-flex justify-content-between align-items-center mb-3\">
<span class=\"text-primary\">Votre panier</span>
<span class=\"cart-counters badge bg-primary rounded-circle pt-2\">{{totalQuantity}}</span>
</h4>
<ul id=\"lateral-cart-content\" class=\"list-group mb-3\">
{% for cartProduct in cartProducts %}
<li data-product-id=\"{{cartProduct.product.id}}\" data-product-quantity=\"{{cartProduct.quantity}}\" data-product-stock=\"{{cartProduct.product.stock}}\" style=\"list-style-type: none;\">
<a class=\"list-group-item d-flex justify-content-between lh-sm\" href=\"{{path('product', {id: cartProduct.product.id})}}\">
<div>
<h6 style=\"overflow-wrap: anywhere\" class=\"my-0\">{{cartProduct.product.name}} {% if cartProduct.quantity >= 1 %}
- <span class=\"quantity-counter\" style=\"font-weight: bold; text-transform: lowercase;\">x{{cartProduct.quantity}}</span>
{% endif %}</h6>
{#<small class=\"text-body-secondary\">{{cartProduct.product.shortDescription}}</small>#}
</div>
<span class=\"product-total-price text-body-secondary\" data-final-price=\"{{cartProduct.product.price * cartProduct.quantity}}\">{{cartProduct.product.price * cartProduct.quantity}}€</span>
</a>
</li>
{% endfor %}
<li class=\"total-price-container list-group-item d-flex justify-content-between\">
<span class=\"fw-bold\">Total (EUR)</span>
<strong id=\"cart-total-price\" data-final-price=\"{{totalPrice}}\">{{totalPrice}}€</strong>
</li>
</ul>
<button class=\"w-100 btn btn-secondary btn-lg d-flex justify-content-center align-items-center mb-3\" type=\"button\" data-bs-toggle=\"offcanvas\" data-bs-target=\"#changeCart\" aria-controls=\"offcanvasExample\">Modifier le panier</button>
<a href=\"{{path('checkout')}}\" class=\"w-100 btn btn-primary btn-lg\">Procéder au paiement</a>
<a href=\"#\" class=\"danger-button clear-cart\">Vider le panier</a class=\"danger-button\">
</div>
</div>
</div>
<div class=\"offcanvas offcanvas-end\" style=\"overflow: auto;\" tabindex=\"-1\" id=\"offcanvasSearch\"
aria-labelledby=\"Search\">
<div class=\"offcanvas-header justify-content-center\">
<button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"offcanvas\" aria-label=\"Close\"></button>
</div>
<div class=\"offcanvas-body\">
<div class=\"order-md-last\">
<h4 class=\"text-primary text-uppercase mb-3\">
Recherche
</h4>
<div class=\"search-bar border rounded-2 border-dark-subtle\">
<form class=\"text-center d-flex align-items-center\" action=\"{{path('search_products')}}\" method=\"POST\">
<input name=\"terms_to_search\" id=\"search_input\" type=\"text\" class=\"form-control border-0 bg-transparent\"
placeholder=\"Tapez votre recherche !\" />
<button type=\"submit\" class=\"search_product_button\" width=\"24\" height=\"24\">
<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\">
<path fill=\"currentColor\"
d=\"M21.71 20.29L18 16.61A9 9 0 1 0 16.61 18l3.68 3.68a1 1 0 0 0 1.42 0a1 1 0 0 0 0-1.39ZM11 18a7 7 0 1 1 7-7a7 7 0 0 1-7 7Z\" />
</svg>
</button>
</form>
</div>
</div>
</div>
</div>
<div class=\"offcanvas offcanvas-end\" data-bs-scroll=\"true\" tabindex=\"-1\" id=\"changeCart\" aria-labelledby=\"offcanvasExampleLabel\">
<div class=\"offcanvas-header\">
<button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"offcanvas\" aria-label=\"Close\"></button>
</div>
<div class=\"offcanvas-body\">
<div class=\"order-md-last\">
<h4 class=\"d-flex justify-content-between align-items-center mb-3\">
<span class=\"text-primary\">Votre panier</span>
<span class=\"cart-counters badge bg-primary rounded-circle pt-2\">{{totalQuantity}}</span>
</h4>
<ul id=\"lateral-edit-cart-content\" class=\"list-group mb-3\">
{% for cartProduct in cartProducts %}
<li class=\"list-group-item d-flex justify-content-between lh-sm\" data-product-id=\"{{cartProduct.product.id}}\" data-product-quantity=\"{{cartProduct.quantity}}\" data-product-stock=\"{{cartProduct.product.stock}}\">
<div class=\"d-flex align-items-center\">
<h6 class=\"my-0\">{{cartProduct.product.name}}</h6>
</div>
<div class=\"edit-cart-button-group\"><span class=\"quantity-buttons more-button m-2\"><svg width=\"16\" height=\"16\">
<use xlink:href=\"#plus\"></use>
</svg></span><span class=\"quantity-counter m-2\">{{cartProduct.quantity}}</span><span class=\"quantity-buttons less-button m-2\"><svg width=\"16\" height=\"16\">
<use xlink:href=\"#minus\"></use>
</svg></span></div>
<span class=\"product-total-price text-body-secondary d-flex align-items-center\" data-unit-price=\"{{cartProduct.product.price}}\" data-final-price=\"{{cartProduct.product.price * cartProduct.quantity}}\">{{cartProduct.product.price * cartProduct.quantity}}€</span>
</li>
{% endfor %}
<li class=\"total-price-container list-group-item d-flex justify-content-between\">
<span class=\"fw-bold\">Total (EUR)</span>
<strong id=\"edit-cart-total-price\" data-final-price=\"{{totalPrice}}>{{totalPrice}}€\"></strong>
</li>
</ul>
<a href=\"{{path('checkout')}}\" class=\"w-100 btn btn-primary btn-lg\" data-bs-toggle=\"offcanvas\" data-bs-target=\"#offcanvasCart\">Retourner au panier</a>
</div>
</div>
</div>
{% for type, messages in app.flashes %}
{% for message in messages %}
{% if type != 'error' %}
<div class=\"alert alert-{{ type }}\">{{ message }}</div>
{% else %}
<div style=\"background-color: lightcoral;\" class=\"alert alert-{{ type }}\">{{ message }}</div>
{% endif %}
{% endfor %}
{% endfor %}
<header>
<div class=\"container upper-container\">
<div class=\"logo\">
<a href=\"{{path('app_home')}}\">
<img src=\"{{asset('images/logo.png')}}\" alt=\"logo\" class=\"img-fluid\">
</a>
</div>
<div class=\"search-bar-wrapper\">
<div class=\"search-bar border rounded-2 px-3 border-dark-subtle\">
<form id=\"search-form\" class=\"text-center d-flex align-items-center\" action=\"{{path('search_products')}}\" method=\"POST\">
<input name=\"terms_to_search\" id=\"search_input\" type=\"text\" class=\"form-control border-0 bg-transparent\"
placeholder=\"Recherchez Parmis Tout Nos Produits !\" />
<button type=\"submit\" class=\"search_product_button\" width=\"24\" height=\"24\">
<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\">
<path fill=\"currentColor\"
d=\"M21.71 20.29L18 16.61A9 9 0 1 0 16.61 18l3.68 3.68a1 1 0 0 0 1.42 0a1 1 0 0 0 0-1.39ZM11 18a7 7 0 1 1 7-7a7 7 0 0 1-7 7Z\" />
</svg>
</button>
</form>
</div>
</div>
<div id=\"social-networks\">
<div class=\"wrapper\">
<ul >
<li class=\"social\">
<a href=\"https://www.facebook.com/lestresorsdeluna/\" target=\"_blank\">
<iconify-icon class=\"social-icon\" icon=\"ri:facebook-fill\"></iconify-icon>
</a>
</li>
<li class=\"social\">
<a href=\"https://www.instagram.com/lestresorsdeluna/\" target=\"_blank\">
<iconify-icon class=\"social-icon\" icon=\"ri:instagram-fill\"></iconify-icon>
</a>
</li>
<li class=\"social\">
<a href=\"https://www.youtube.com/@lestresorsdeluna\" target=\"_blank\">
<iconify-icon class=\"social-icon\" icon=\"ri:youtube-fill\"></iconify-icon>
</a>
</li>
</ul>
<div class=\"contact\"><a href=\"mailto:contact.tresorsdeluna@gmail.com\">contact.tresorsdeluna@gmail.com</a></div>
</div>
</div>
</div>
<div class=\"container-fluid\">
<hr class=\"m-0\">
</div>
<div class=\"container\">
<nav class=\"main-menu navbar navbar-expand-lg \">
<a href=\"{{path('app_home')}}\" class=\"logo-mobile\">
<img src=\"{{asset('images/logo.png')}}\" alt=\"\">
<img src=\"{{asset('images/logo_2.png')}}\" alt=\"\">
</a>
<div class=\"user-actions d-flex d-lg-none align-items-end mt-3\">
<ul class=\"d-flex justify-content-end list-unstyled m-0\">
<li>
<a href=\"#\" class=\"mx-3\" data-bs-toggle=\"offcanvas\" data-bs-target=\"#offcanvasSearch\"
aria-controls=\"offcanvasSearch\">
<iconify-icon icon=\"tabler:search\" class=\"fs-4\"></iconify-icon>
</span>
</a>
</li>
<li>
<li>
{% if app.user %}
{% if is_granted('ROLE_ADMIN') %}
<a href=\"{{path('admin_index')}}\" class=\"mx-3\">
<iconify-icon icon=\"healthicons:person\" class=\"fs-4\"></iconify-icon>
</a>
{% else %}
<a href=\"{{path('user_account')}}\" class=\"mx-3\">
<iconify-icon icon=\"healthicons:person\" class=\"fs-4\"></iconify-icon>
</a>
{% endif %}
{% else %}
<a href=\"{{path('account')}}\" class=\"mx-3\">
<iconify-icon icon=\"healthicons:person\" class=\"fs-4\"></iconify-icon>
</a>
{% endif %}
</li>
</li>
<li>
<a href=\"#\" class=\"mx-3\" data-bs-toggle=\"offcanvas\" data-bs-target=\"#offcanvasCart\"
aria-controls=\"offcanvasCart\">
<iconify-icon icon=\"mdi:cart\" class=\"fs-4 position-relative\"></iconify-icon>
<span class=\"cart-counters position-absolute translate-middle badge rounded-circle bg-primary pt-2\">
{{totalQuantity}}
</span>
</a>
</li>
</ul>
</div>
<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 justify-content-center\">
<button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"offcanvas\" aria-label=\"Close\"></button>
</div>
<div class=\"offcanvas-body justify-content-between container\" style=\"overflow: hidden;\">
<select id=\"filter_categories\" class=\"filter-categories border-0 mb-0 me-5\">
<option>Voir par Catégories</option>
{% for category in categories %}
{% if category.product|length > 0 %}
<option value=\"{{path('products_filter', {'category': category.id}) }}\">{{category.name}}</option>
{% endif %}
{% endfor %}
{#
<option>Food</option>
<option>Food</option>
<option>Toy</option>
#}
</select>
<ul class=\"navbar-nav menu-list list-unstyled d-flex gap-md-3 mb-0\">
<li class=\"nav-item\">
<a href=\"{{path('app_home')}}\" class=\"nav-link active\">Accueil</a>
</li>
<li class=\"nav-item\">
<a href=\"mailto:contact.tresorsdeluna@gmail.com\" class=\"nav-link active\" style=\"padding-bottom: 0;\">Contact</a>
<div style=\"font-weight: 100;\" class=\"contact\"><a href=\"mailto:contact.tresorsdeluna@gmail.com\">contact.tresorsdeluna@gmail.com</a></div>
</li>
</ul>
<div class=\"d-none d-lg-flex align-items-end\">
<ul class=\"d-flex justify-content-end list-unstyled m-0\">
<li>
{% if app.user %}
{% if is_granted('ROLE_ADMIN') %}
<a href=\"{{path('admin_index')}}\" class=\"mx-3\">
<iconify-icon icon=\"healthicons:person\" class=\"fs-4\"></iconify-icon>
</a>
{% else %}
<a href=\"{{path('user_account')}}\" class=\"mx-3\">
<iconify-icon icon=\"healthicons:person\" class=\"fs-4\"></iconify-icon>
</a>
{% endif %}
{% else %}
<a href=\"{{path('account')}}\" class=\"mx-3\">
<iconify-icon icon=\"healthicons:person\" class=\"fs-4\"></iconify-icon>
</a>
{% endif %}
</li>
{% if app.request.attributes.get('_route') != 'payment' %}
<li class=\"\">
<a href=\"#\" class=\"mx-3\" data-bs-toggle=\"offcanvas\" data-bs-target=\"#offcanvasCart\"
aria-controls=\"offcanvasCart\">
<iconify-icon icon=\"mdi:cart\" class=\"fs-4 position-relative\"></iconify-icon>
<span class=\"cart-counters position-absolute translate-middle badge rounded-circle bg-primary pt-2\">
{{totalQuantity}}
</span>
</a>
</li>
{% endif %}
</ul>
</div>
</div>
</div>
</nav>
</div>
</header>
{% block body %}
{% endblock %}
{% if app.request.get('_route') not in ['user_account', 'edit_account'] %}
<hr class=\"container\">
<div id=\"social-networks-footer\" class=\"col-md-3 py-5 my-3\">
<div class=\"card\">
<img src=\"{{asset('images/logo.png')}}\" alt=\"logo\">
<p class=\"blog-paragraph fs-6 mt-3\">Retrouvez nous sur nos réseaux sociaux :</p>
<div class=\"social-links\">
<ul class=\"d-flex list-unstyled justify-content-around gap-2\">
<li class=\"social\">
<a href=\"https://www.facebook.com/lestresorsdeluna/\" target=\"_blank\">
<iconify-icon class=\"social-icon\" icon=\"ri:facebook-fill\"></iconify-icon>
</a>
</li>
<li class=\"social\">
<a href=\"https://www.instagram.com/lestresorsdeluna/\" target=\"_blank\">
<iconify-icon class=\"social-icon\" icon=\"ri:instagram-fill\"></iconify-icon>
</a>
</li>
<li class=\"social\">
<a href=\"https://www.youtube.com/@lestresorsdeluna\" target=\"_blank\">
<iconify-icon class=\"social-icon\" icon=\"ri:youtube-fill\"></iconify-icon>
</a>
</li>
</ul>
</div>
</div>
</div>
<hr class=\"container hr-social-networks-footer\">
<section id=\"service\">
<div class=\"container py-5 my-5\">
<div class=\"row g-md-5 pt-4 d-flex justify-content-around\">
<div class=\"col-md-3 my-3\">
<div class=\"card\">
<div>
<iconify-icon class=\"service-icon text-primary\" icon=\"la:shopping-cart\"></iconify-icon>
</div>
<h3 class=\"card-title py-2 m-0\">Livraison rapide</h3>
<div class=\"card-text\">
<p class=\"blog-paragraph fs-6\">Nous garantissons une prise en charge rapide de vos commande en moins de 24 heures</p>
</div>
</div>
</div>
<div class=\"col-md-3 my-3\">
<div class=\"card\">
<div>
<iconify-icon class=\"service-icon text-primary\" icon=\"la:user-check\"></iconify-icon>
</div>
<h3 class=\"card-title py-2 m-0\">Paiement sécurisé</h3>
<div class=\"card-text\">
<p class=\"blog-paragraph fs-6\">Avec PayPal, que vous ayez un compte ou non, payez en toute sécurité.</p>
</div>
</div>
</div>
{#
<div class=\"col-md-3 my-3\">
<div class=\"card\">
<div>
<iconify-icon class=\"service-icon text-primary\" icon=\"la:award\"></iconify-icon>
</div>
<h3 class=\"card-title py-2 m-0\">Conception artisanale garantie</h3>
<div class=\"card-text\">
<p class=\"blog-paragraph fs-6\">Tous nos produits sont réalisés sont uniques et par nos soins</p>
</div>
</div>
</div>
#}
</div>
</section>
{% endif %}
<div id=\"footer-bottom\">
<div class=\"container\">
<hr class=\"m-0\">
<div class=\"row mt-3\">
<div class=\"copyright d-flex justify-content-between\">
<p class=\"secondary-font\">© 2024 Adna Informatique. All rights reserved.</p>
<p class=\"secondary-font\">
<a href=\"{{path('cgv')}}\" target=\"_blank\" class=\"nav-link\">Conditions générales de vente</a>
</p>
<p class=\"secondary-font\">
<a href=\"{{path('politique_confidentialite')}}\" target=\"_blank\" class=\"nav-link\">Politique de confidentialité</a>
</p>
</div>
</div>
</div>
</div>
<script src=\"{{asset('js/jquery-1.11.0.min.js')}}\"></script>
<script src=\"{{asset('js/swiper.js')}}\"></script>
<script src=\"{{asset('js/bootstrap.bundle.js')}}\"></script>
<script src=\"{{asset('js/plugins.js')}}\"></script>
<script src=\"{{asset('js/script.js')}}\"></script>
<script src=\"{{asset('js/iconify.js')}}\"></script>
<script type=\"module\" src=\"{{asset('js/classes/Cart.js')}}\"></script>
<script type=\"module\" src=\"{{asset('js/adna-script.js')}}\"></script>
<div id=\"cart_notification\">
<p></p>
</div>
</body>
</html>
", "base.html.twig", "/home/kvlquew/www/templates/base.html.twig");
}
}