var/cache/dev/twig/52/52fc6135eb27830014f422b10baaf725.php line 33

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* components/menu.html.twig */
  14. class __TwigTemplate_0d1255772226ad29b66c77d069ddae9f extends Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->parent false;
  23.         $this->blocks = [
  24.         ];
  25.     }
  26.     protected function doDisplay(array $context, array $blocks = [])
  27.     {
  28.         $macros $this->macros;
  29.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  30.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""components/menu.html.twig"));
  31.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  32.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""components/menu.html.twig"));
  33.         // line 1
  34.         echo "<header id=\"header\" class=\" submenu-light header-always-fixed\" data-fullwidth=\"true\" ";
  35.         if ((array_key_exists("transparent"$context) && (isset($context["transparent"]) || array_key_exists("transparent"$context) ? $context["transparent"] : (function () { throw new RuntimeError('Variable "transparent" does not exist.'1$this->source); })()))) {
  36.             echo " data-transparent=\"true\" ";
  37.         }
  38.         echo ">
  39.     ";
  40.         // line 2
  41.         $context["general"] = twig_get_attribute($this->env$this->source, (isset($context["generalS"]) || array_key_exists("generalS"$context) ? $context["generalS"] : (function () { throw new RuntimeError('Variable "generalS" does not exist.'2$this->source); })()), "general", [], "any"falsefalsefalse2);
  42.         // line 3
  43.         echo "    <div class=\"header-inner\">
  44.         <div class=\"container-wide flex-row\">
  45.             <div class=\"mobile-action d-xl-none z-index-top ";
  46.         // line 5
  47.         echo ((twig_get_attribute($this->env$this->source, (isset($context["general"]) || array_key_exists("general"$context) ? $context["general"] : (function () { throw new RuntimeError('Variable "general" does not exist.'5$this->source); })()), "hidePhoneOnMobile", [], "any"falsefalsefalse5)) ? ("d-sm-none") : (""));
  48.         echo "\">
  49.                 <a class=\"special btn btn-success text-light\" style=\"z-index: 10;\" href=\"";
  50.         // line 6
  51.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("contact");
  52.         echo "\">";
  53.         echo $this->extensions['App\Twig\TransExtension']->trans("menu.contact");
  54.         echo "</a>
  55.                 <h4 class=\" lh-0 pt-3\"  style=\"z-index: 10;\" ><a style=\"color:#210e0e; font-size: 1em\" href=\"tel:";
  56.         // line 7
  57.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["general"]) || array_key_exists("general"$context) ? $context["general"] : (function () { throw new RuntimeError('Variable "general" does not exist.'7$this->source); })()), "telephone", [], "any"falsefalsefalse7), "html"nulltrue);
  58.         echo "\"> <span class=\"fa fa-mobile-alt\"></span> ";
  59.         echo twig_escape_filter($this->envtwig_replace_filter(twig_get_attribute($this->env$this->source, (isset($context["general"]) || array_key_exists("general"$context) ? $context["general"] : (function () { throw new RuntimeError('Variable "general" does not exist.'7$this->source); })()), "telephone", [], "any"falsefalsefalse7), [" " => "."]), "html"nulltrue);
  60.         echo " </a></h4>
  61.             </div>
  62.             <div id=\"logo\">
  63.                 <a href=\"";
  64.         // line 10
  65.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("home");
  66.         echo "\" class=\"sm-relative\" style=\" top: 50%; -ms-transform: translateY(-50%); transform: translateY(-50%); max-width: 65%\">
  67.                     <span class=\"logo-default\"><img height=\"80\" width=\"250\" ";
  68.         // line 11
  69.         echo $this->extensions['App\Twig\ImageRenderExtension']->generateSrc($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/upload/logo-dark.png"));
  70.         echo " alt=\"";
  71.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["general"]) || array_key_exists("general"$context) ? $context["general"] : (function () { throw new RuntimeError('Variable "general" does not exist.'11$this->source); })()), "nomEntreprise", [], "any"falsefalsefalse11), "html"nulltrue);
  72.         echo "\" style=\"object-fit: contain\"></span>
  73.                     <span class=\"logo-dark\"><img height=\"80\" width=\"250\"  ";
  74.         // line 12
  75.         echo $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/upload/logo-light.png");
  76.         echo " alt=\"";
  77.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["general"]) || array_key_exists("general"$context) ? $context["general"] : (function () { throw new RuntimeError('Variable "general" does not exist.'12$this->source); })()), "nomEntreprise", [], "any"falsefalsefalse12), "html"nulltrue);
  78.         echo "\" style=\"object-fit: contain\"></span>
  79.                     <span class=\"logo-responsive\"><img height=\"80\" width=\"250\" ";
  80.         // line 13
  81.         echo $this->extensions['App\Twig\ImageRenderExtension']->generateSrc($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/upload/logo-petit.png"));
  82.         echo " alt=\"";
  83.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["general"]) || array_key_exists("general"$context) ? $context["general"] : (function () { throw new RuntimeError('Variable "general" does not exist.'13$this->source); })()), "nomEntreprise", [], "any"falsefalsefalse13), "html"nulltrue);
  84.         echo "\" style=\"object-fit: contain\"></span>
  85.                 </a>
  86.             </div>
  87.             <div id=\"mainMenu-trigger\">
  88.                 <a class=\"lines-button x\"><span class=\"lines\"></span></a>
  89.             </div>
  90.             <div id=\"mainMenu\" class=\"menu-creative\">
  91.                 <div class=\"container\">
  92.                     <nav>
  93.                         <ul>
  94.                             ";
  95.         // line 27
  96.         if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["menuS"]) || array_key_exists("menuS"$context) ? $context["menuS"] : (function () { throw new RuntimeError('Variable "menuS" does not exist.'27$this->source); })()), "menu", [], "any"falsefalsefalse27), "parDefaut", [], "any"falsefalsefalse27)) {
  97.             // line 28
  98.             echo "                                <li><a href=\"";
  99.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("home");
  100.             echo "#presentation\" class=\"scroll-to\">";
  101.             echo $this->extensions['App\Twig\TransExtension']->trans("menu.entreprise");
  102.             echo "</a></li>
  103.                                 <li><a href=\"";
  104.             // line 29
  105.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("realisations");
  106.             echo "\">";
  107.             echo $this->extensions['App\Twig\TransExtension']->trans("menu.realisations");
  108.             echo "</a></li>
  109.                                 <li><a href=\"";
  110.             // line 30
  111.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("blogs");
  112.             echo "#presentation\" class=\"scroll-to\">";
  113.             echo $this->extensions['App\Twig\TransExtension']->trans("menu.blogs");
  114.             echo "</a></li>
  115.                                 <li><a href=\"";
  116.             // line 31
  117.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("actualites");
  118.             echo "\">";
  119.             echo $this->extensions['App\Twig\TransExtension']->trans("menu.actualites");
  120.             echo "</a></li>
  121.                             ";
  122.         } else {
  123.             // line 34
  124.             echo "                                ";
  125.             $context['_parent'] = $context;
  126.             $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["menuS"]) || array_key_exists("menuS"$context) ? $context["menuS"] : (function () { throw new RuntimeError('Variable "menuS" does not exist.'34$this->source); })()), "menu", [], "any"falsefalsefalse34), "elements", [], "any"falsefalsefalse34));
  127.             foreach ($context['_seq'] as $context["_key"] => $context["menuElement"]) {
  128.                 // line 35
  129.                 echo "                                    ";
  130.                 if (($context["menuElement"] == "entreprise")) {
  131.                     // line 36
  132.                     echo "                                        <li><a href=\"";
  133.                     echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("home");
  134.                     echo "#presentation\" class=\"scroll-to\">";
  135.                     echo $this->extensions['App\Twig\TransExtension']->trans(("menu." $context["menuElement"]));
  136.                     echo "</a></li>
  137.                                     ";
  138.                 } elseif ((                // line 37
  139. $context["menuElement"] == "services")) {
  140.                     // line 38
  141.                     echo "                                        <li class=\"dropdown\">
  142.                                             <a href=\"";
  143.                     // line 39
  144.                     echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath($context["menuElement"]);
  145.                     echo "\">";
  146.                     echo $this->extensions['App\Twig\TransExtension']->trans(("menu." $context["menuElement"]));
  147.                     echo "</a>
  148.                                             <ul class=\"dropdown-menu\">
  149.                                                 ";
  150.                     // line 41
  151.                     $context['_parent'] = $context;
  152.                     $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, (isset($context["menuS"]) || array_key_exists("menuS"$context) ? $context["menuS"] : (function () { throw new RuntimeError('Variable "menuS" does not exist.'41$this->source); })()), "services", [], "any"falsefalsefalse41));
  153.                     foreach ($context['_seq'] as $context["_key"] => $context["service"]) {
  154.                         // line 42
  155.                         echo "                                                    <li>
  156.                                                     <a href=\"";
  157.                         // line 43
  158.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("service", ["id" => twig_get_attribute($this->env$this->source$context["service"], "id", [], "any"falsefalsefalse43)]), "html"nulltrue);
  159.                         echo "\">";
  160.                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["service"], "titre", [], "any"falsefalsefalse43), "html"nulltrue);
  161.                         echo "</a>
  162.                                                     </li>
  163.                                                 ";
  164.                     }
  165.                     $_parent $context['_parent'];
  166.                     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['service'], $context['_parent'], $context['loop']);
  167.                     $context array_intersect_key($context$_parent) + $_parent;
  168.                     // line 46
  169.                     echo "                                            </ul>
  170.                                         </li>
  171.                                     ";
  172.                 } else {
  173.                     // line 49
  174.                     echo "                                        <li><a href=\"";
  175.                     echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath($context["menuElement"]);
  176.                     echo "\">";
  177.                     echo $this->extensions['App\Twig\TransExtension']->trans(("menu." $context["menuElement"]));
  178.                     echo "</a></li>
  179.                                     ";
  180.                 }
  181.                 // line 51
  182.                 echo "                                ";
  183.             }
  184.             $_parent $context['_parent'];
  185.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['menuElement'], $context['_parent'], $context['loop']);
  186.             $context array_intersect_key($context$_parent) + $_parent;
  187.             // line 52
  188.             echo "                            ";
  189.         }
  190.         // line 53
  191.         echo "                            ";
  192.         if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_ADMIN")) {
  193.             // line 54
  194.             echo "                                <li><a href=\"";
  195.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("admin");
  196.             echo "\">Back office</a></li>
  197.                                 <li><a href=\"";
  198.             // line 55
  199.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("cc");
  200.             echo "\"><i class=\"fa fa-refresh\"></i></a></li>
  201.                             ";
  202.         }
  203.         // line 57
  204.         echo "                            <li><a class=\"special btn btn-success text-light\" href=\"";
  205.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("contact");
  206.         echo "\">";
  207.         echo $this->extensions['App\Twig\TransExtension']->trans("menu.contact");
  208.         echo "</a></li>
  209.                         </ul>
  210.                         <div class=\"text-center telephone-button\">
  211.                             <h4 class=\" lh-0\">
  212.                                 <a style=\"color:#210e0e\" href=\"tel:";
  213.         // line 61
  214.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["general"]) || array_key_exists("general"$context) ? $context["general"] : (function () { throw new RuntimeError('Variable "general" does not exist.'61$this->source); })()), "telephone", [], "any"falsefalsefalse61), "html"nulltrue);
  215.         echo "\">
  216.                                     <span class=\"fa fa-mobile-alt\"></span> ";
  217.         // line 62
  218.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["general"]) || array_key_exists("general"$context) ? $context["general"] : (function () { throw new RuntimeError('Variable "general" does not exist.'62$this->source); })()), "telephone", [], "any"falsefalsefalse62), "html"nulltrue);
  219.         echo "
  220.                                 </a>
  221.                                  ";
  222.         // line 64
  223.         if (twig_get_attribute($this->env$this->source, (isset($context["general"]) || array_key_exists("general"$context) ? $context["general"] : (function () { throw new RuntimeError('Variable "general" does not exist.'64$this->source); })()), "fixe", [], "any"falsefalsefalse64)) {
  224.             // line 65
  225.             echo "                                     |
  226.                                 <a style=\"color:#210e0e\" href=\"tel:";
  227.             // line 66
  228.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["general"]) || array_key_exists("general"$context) ? $context["general"] : (function () { throw new RuntimeError('Variable "general" does not exist.'66$this->source); })()), "fixe", [], "any"falsefalsefalse66), "html"nulltrue);
  229.             echo "\">
  230.                                     <span class=\"fa fa-phone\"></span> ";
  231.             // line 67
  232.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["general"]) || array_key_exists("general"$context) ? $context["general"] : (function () { throw new RuntimeError('Variable "general" does not exist.'67$this->source); })()), "fixe", [], "any"falsefalsefalse67), "html"nulltrue);
  233.             echo "
  234.                                 </a>
  235.                                 ";
  236.         }
  237.         // line 70
  238.         echo "                            </h4>
  239.                         </div>
  240.                     </nav>
  241.                 </div>
  242.             </div>
  243.         </div>
  244.     </div>
  245. </header>
  246. <div class=\"container-xl\">
  247.     <div class=\"row justify-content-between\">
  248.         ";
  249.         // line 82
  250.         $context['_parent'] = $context;
  251.         $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, (isset($context["menuS"]) || array_key_exists("menuS"$context) ? $context["menuS"] : (function () { throw new RuntimeError('Variable "menuS" does not exist.'82$this->source); })()), "menuActions", [], "any"falsefalsefalse82));
  252.         foreach ($context['_seq'] as $context["_key"] => $context["menuAction"]) {
  253.             // line 83
  254.             echo "        <div class=\"col-lg-3 col-sm-6\">
  255.             <a class=\"btn w-100 mb-0 rounded-0\" href=\"";
  256.             // line 84
  257.             (((twig_get_attribute($this->env$this->source$context["menuAction"], "lien", [], "any"truetruefalse84) &&  !(null === twig_get_attribute($this->env$this->source$context["menuAction"], "lien", [], "any"falsefalsefalse84)))) ? (print (twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["menuAction"], "lien", [], "any"falsefalsefalse84), "html"nulltrue))) : (print ("#")));
  258.             echo "\" style=\"background-color: ";
  259.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["menuAction"], "couleur", [], "any"falsefalsefalse84), "html"nulltrue);
  260.             echo "; border-color: ";
  261.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["menuAction"], "couleur", [], "any"falsefalsefalse84), "html"nulltrue);
  262.             echo "; color : ";
  263.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["menuAction"], "couleurTexte", [], "any"falsefalsefalse84), "html"nulltrue);
  264.             echo "\">";
  265.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["menuAction"], "titre", [], "any"falsefalsefalse84), "html"nulltrue);
  266.             echo "</a>
  267.         </div>
  268.         ";
  269.         }
  270.         $_parent $context['_parent'];
  271.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['menuAction'], $context['_parent'], $context['loop']);
  272.         $context array_intersect_key($context$_parent) + $_parent;
  273.         // line 87
  274.         echo "    </div>
  275. </div>
  276. ";
  277.         
  278.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  279.         
  280.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  281.     }
  282.     public function getTemplateName()
  283.     {
  284.         return "components/menu.html.twig";
  285.     }
  286.     public function isTraitable()
  287.     {
  288.         return false;
  289.     }
  290.     public function getDebugInfo()
  291.     {
  292.         return array (  290 => 87,  273 => 84,  270 => 83,  266 => 82,  252 => 70,  246 => 67,  242 => 66,  239 => 65,  237 => 64,  232 => 62,  228 => 61,  218 => 57,  213 => 55,  208 => 54,  205 => 53,  202 => 52,  196 => 51,  188 => 49,  183 => 46,  172 => 43,  169 => 42,  165 => 41,  158 => 39,  155 => 38,  153 => 37,  146 => 36,  143 => 35,  138 => 34,  130 => 31,  124 => 30,  118 => 29,  111 => 28,  109 => 27,  90 => 13,  84 => 12,  78 => 11,  74 => 10,  66 => 7,  60 => 6,  56 => 5,  52 => 3,  50 => 2,  43 => 1,);
  293.     }
  294.     public function getSourceContext()
  295.     {
  296.         return new Source("<header id=\"header\" class=\" submenu-light header-always-fixed\" data-fullwidth=\"true\" {% if transparent is defined and transparent %} data-transparent=\"true\" {% endif %}>
  297.     {% set general = generalS.general %}
  298.     <div class=\"header-inner\">
  299.         <div class=\"container-wide flex-row\">
  300.             <div class=\"mobile-action d-xl-none z-index-top {{ general.hidePhoneOnMobile ? 'd-sm-none' : ''}}\">
  301.                 <a class=\"special btn btn-success text-light\" style=\"z-index: 10;\" href=\"{{ path('contact') }}\">{{ 'menu.contact' | admintrans | raw }}</a>
  302.                 <h4 class=\" lh-0 pt-3\"  style=\"z-index: 10;\" ><a style=\"color:#210e0e; font-size: 1em\" href=\"tel:{{ general.telephone}}\"> <span class=\"fa fa-mobile-alt\"></span> {{ general.telephone | replace({' ' : '.'}) }} </a></h4>
  303.             </div>
  304.             <div id=\"logo\">
  305.                 <a href=\"{{ path('home') }}\" class=\"sm-relative\" style=\" top: 50%; -ms-transform: translateY(-50%); transform: translateY(-50%); max-width: 65%\">
  306.                     <span class=\"logo-default\"><img height=\"80\" width=\"250\" {{ responsive_src(asset('images/upload/logo-dark.png')) | raw }} alt=\"{{ general.nomEntreprise }}\" style=\"object-fit: contain\"></span>
  307.                     <span class=\"logo-dark\"><img height=\"80\" width=\"250\"  {{ asset('images/upload/logo-light.png') | raw }} alt=\"{{ general.nomEntreprise }}\" style=\"object-fit: contain\"></span>
  308.                     <span class=\"logo-responsive\"><img height=\"80\" width=\"250\" {{ responsive_src(asset('images/upload/logo-petit.png')) | raw }} alt=\"{{ general.nomEntreprise }}\" style=\"object-fit: contain\"></span>
  309.                 </a>
  310.             </div>
  311.             <div id=\"mainMenu-trigger\">
  312.                 <a class=\"lines-button x\"><span class=\"lines\"></span></a>
  313.             </div>
  314.             <div id=\"mainMenu\" class=\"menu-creative\">
  315.                 <div class=\"container\">
  316.                     <nav>
  317.                         <ul>
  318.                             {% if menuS.menu.parDefaut %}
  319.                                 <li><a href=\"{{ path('home') }}#presentation\" class=\"scroll-to\">{{ 'menu.entreprise' | admintrans | raw }}</a></li>
  320.                                 <li><a href=\"{{ path('realisations') }}\">{{ 'menu.realisations' | admintrans | raw }}</a></li>
  321.                                 <li><a href=\"{{ path('blogs') }}#presentation\" class=\"scroll-to\">{{ 'menu.blogs' | admintrans | raw }}</a></li>
  322.                                 <li><a href=\"{{ path('actualites') }}\">{{ 'menu.actualites' | admintrans | raw }}</a></li>
  323.                             {% else %}
  324.                                 {% for menuElement in menuS.menu.elements %}
  325.                                     {% if menuElement == 'entreprise' %}
  326.                                         <li><a href=\"{{ path('home') }}#presentation\" class=\"scroll-to\">{{ ('menu.'~menuElement) | admintrans | raw }}</a></li>
  327.                                     {% elseif menuElement == 'services' %}
  328.                                         <li class=\"dropdown\">
  329.                                             <a href=\"{{ path(menuElement) }}\">{{ ('menu.'~menuElement) | admintrans | raw }}</a>
  330.                                             <ul class=\"dropdown-menu\">
  331.                                                 {% for service in menuS.services %}
  332.                                                     <li>
  333.                                                     <a href=\"{{ path('service',{'id' : service.id}) }}\">{{ service.titre }}</a>
  334.                                                     </li>
  335.                                                 {% endfor %}
  336.                                             </ul>
  337.                                         </li>
  338.                                     {% else %}
  339.                                         <li><a href=\"{{ path(menuElement) }}\">{{ ('menu.'~menuElement) | admintrans | raw }}</a></li>
  340.                                     {% endif %}
  341.                                 {% endfor %}
  342.                             {% endif %}
  343.                             {% if is_granted('ROLE_ADMIN') %}
  344.                                 <li><a href=\"{{ path('admin') }}\">Back office</a></li>
  345.                                 <li><a href=\"{{ path('cc') }}\"><i class=\"fa fa-refresh\"></i></a></li>
  346.                             {% endif %}
  347.                             <li><a class=\"special btn btn-success text-light\" href=\"{{ path('contact') }}\">{{ 'menu.contact' | admintrans | raw }}</a></li>
  348.                         </ul>
  349.                         <div class=\"text-center telephone-button\">
  350.                             <h4 class=\" lh-0\">
  351.                                 <a style=\"color:#210e0e\" href=\"tel:{{ general.telephone }}\">
  352.                                     <span class=\"fa fa-mobile-alt\"></span> {{ general.telephone }}
  353.                                 </a>
  354.                                  {% if general.fixe %}
  355.                                      |
  356.                                 <a style=\"color:#210e0e\" href=\"tel:{{ general.fixe }}\">
  357.                                     <span class=\"fa fa-phone\"></span> {{ general.fixe }}
  358.                                 </a>
  359.                                 {% endif %}
  360.                             </h4>
  361.                         </div>
  362.                     </nav>
  363.                 </div>
  364.             </div>
  365.         </div>
  366.     </div>
  367. </header>
  368. <div class=\"container-xl\">
  369.     <div class=\"row justify-content-between\">
  370.         {% for menuAction in menuS.menuActions %}
  371.         <div class=\"col-lg-3 col-sm-6\">
  372.             <a class=\"btn w-100 mb-0 rounded-0\" href=\"{{ menuAction.lien ?? \"#\" }}\" style=\"background-color: {{ menuAction.couleur }}; border-color: {{ menuAction.couleur }}; color : {{ menuAction.couleurTexte }}\">{{ menuAction.titre }}</a>
  373.         </div>
  374.         {% endfor %}
  375.     </div>
  376. </div>
  377. ""components/menu.html.twig""/var/www/vhosts/bsbroyalconstruction.fr/spidertec.fr/httpdocs/templates/components/menu.html.twig");
  378.     }
  379. }