var/cache/dev/twig/fd/fdc46546d3b2e48d886f0e5a78be2f5a.php line 38

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\CoreExtension;
  6. use Twig\Extension\SandboxExtension;
  7. use Twig\Markup;
  8. use Twig\Sandbox\SecurityError;
  9. use Twig\Sandbox\SecurityNotAllowedTagError;
  10. use Twig\Sandbox\SecurityNotAllowedFilterError;
  11. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  12. use Twig\Source;
  13. use Twig\Template;
  14. use Twig\TemplateWrapper;
  15. /* front/layout/header.html.twig */
  16. class __TwigTemplate_434dae058cf34249ce3be455e9ad271c extends Template
  17. {
  18. private Source $source;
  19. /**
  20. * @var array<string, Template>
  21. */
  22. private array $macros = [];
  23. public function __construct(Environment $env)
  24. {
  25. parent::__construct($env);
  26. $this->source = $this->getSourceContext();
  27. $this->parent = false;
  28. $this->blocks = [
  29. ];
  30. }
  31. protected function doDisplay(array $context, array $blocks = []): iterable
  32. {
  33. $macros = $this->macros;
  34. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  35. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "front/layout/header.html.twig"));
  36. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  37. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "front/layout/header.html.twig"));
  38. // line 1
  39. yield "<header>
  40. <div class=\"top\">
  41. <div class=\"ctn\">
  42. <div class=\"question\">";
  43. // line 4
  44. yield $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("<strong>Une question, un conseil, un devis?</strong> <a href=\"tel:+33247733838\">02 47 73 38 38</a>", [], "messages");
  45. yield "</div>
  46. <a href=\"";
  47. // line 5
  48. yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("contact_form");
  49. yield "\" class=\"bt-contact\"><img src=\"";
  50. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("img/bt-contact.svg"), "html", null, true);
  51. yield "\" alt=\"";
  52. yield $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Contactez-nous", [], "messages");
  53. yield "\" width=\"20\" height=\"20\"></a>
  54. ";
  55. // line 6
  56. yield from $this->load("front/layout/languages.html.twig", 6)->unwrap()->yield($context);
  57. // line 7
  58. yield " </div>
  59. </div>
  60. ";
  61. // line 9
  62. yield $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("App\\Controller\\Front\\Modules\\MenuController::main", ["request" => CoreExtension::getAttribute($this->env, $this->source, // line 11
  63. (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 11, $this->source); })()), "request", [], "any", false, false, false, 11)]));
  64. // line 12
  65. yield "
  66. </header>
  67. ";
  68. // line 14
  69. yield from $this->load("front/modules/text-slideshow/block.html.twig", 14)->unwrap()->yield($context);
  70. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  71. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  72. yield from [];
  73. }
  74. /**
  75. * @codeCoverageIgnore
  76. */
  77. public function getTemplateName(): string
  78. {
  79. return "front/layout/header.html.twig";
  80. }
  81. /**
  82. * @codeCoverageIgnore
  83. */
  84. public function isTraitable(): bool
  85. {
  86. return false;
  87. }
  88. /**
  89. * @codeCoverageIgnore
  90. */
  91. public function getDebugInfo(): array
  92. {
  93. return array ( 78 => 14, 74 => 12, 72 => 11, 71 => 9, 67 => 7, 65 => 6, 57 => 5, 53 => 4, 48 => 1,);
  94. }
  95. public function getSourceContext(): Source
  96. {
  97. return new Source("<header>
  98. <div class=\"top\">
  99. <div class=\"ctn\">
  100. <div class=\"question\">{% trans %}<strong>Une question, un conseil, un devis?</strong> <a href=\"tel:+33247733838\">02 47 73 38 38</a>{% endtrans %}</div>
  101. <a href=\"{{ path('contact_form') }}\" class=\"bt-contact\"><img src=\"{{ asset('img/bt-contact.svg') }}\" alt=\"{% trans %}Contactez-nous{% endtrans %}\" width=\"20\" height=\"20\"></a>
  102. {% include 'front/layout/languages.html.twig' %}
  103. </div>
  104. </div>
  105. {{ render(controller(
  106. 'App\\\\Controller\\\\Front\\\\Modules\\\\MenuController::main',
  107. { 'request': app.request }
  108. )) }}
  109. </header>
  110. {% include 'front/modules/text-slideshow/block.html.twig' %}", "front/layout/header.html.twig", "/var/www/dogcat.com/v2-test/templates/front/layout/header.html.twig");
  111. }
  112. }