var/cache/dev/twig/9d/9da1569e03db6e3e0976757a856de5ec.php line 51

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. /* vitrine/en/layout.html.twig */
  16. class __TwigTemplate_e95bcb4cc2fa85d4ede5af606382f7bd 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. 'title' => [$this, 'block_title'],
  30. 'robots' => [$this, 'block_robots'],
  31. 'description' => [$this, 'block_description'],
  32. 'meta_social' => [$this, 'block_meta_social'],
  33. 'meta' => [$this, 'block_meta'],
  34. 'canonical' => [$this, 'block_canonical'],
  35. 'css' => [$this, 'block_css'],
  36. 'js' => [$this, 'block_js'],
  37. 'body' => [$this, 'block_body'],
  38. 'footerbody' => [$this, 'block_footerbody'],
  39. 'footer_body' => [$this, 'block_footer_body'],
  40. 'footer_js' => [$this, 'block_footer_js'],
  41. 'footerjs' => [$this, 'block_footerjs'],
  42. ];
  43. }
  44. protected function doDisplay(array $context, array $blocks = []): iterable
  45. {
  46. $macros = $this->macros;
  47. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  48. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "vitrine/en/layout.html.twig"));
  49. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  50. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "vitrine/en/layout.html.twig"));
  51. // line 1
  52. $context["connectUser"] = false;
  53. // line 2
  54. $context["connectUser2"] = false;
  55. // line 3
  56. if ((($tmp = !(null === 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.', 3, $this->source); })()), "user", [], "any", false, false, false, 3))) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
  57. // line 4
  58. yield " ";
  59. $context["connectUser"] = true;
  60. // line 5
  61. yield " ";
  62. $context["connectUser2"] = false;
  63. }
  64. // line 7
  65. $context["pathAbsolute"] = (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.', 7, $this->source); })()), "request", [], "any", false, false, false, 7), "schemeAndHttpHost", [], "any", false, false, false, 7) . 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.', 7, $this->source); })()), "request", [], "any", false, false, false, 7), "requestUri", [], "any", false, false, false, 7));
  66. // line 8
  67. $context["paramTool"] = $this->extensions['App\Twig\ToolsExtension']->getCoreToolsList("blog");
  68. // line 9
  69. $context["logo"] = CoreExtension::getAttribute($this->env, $this->source, (isset($context["paramTool"]) || array_key_exists("paramTool", $context) ? $context["paramTool"] : (function () { throw new RuntimeError('Variable "paramTool" does not exist.', 9, $this->source); })()), "logo", [], "array", false, false, false, 9);
  70. // line 10
  71. $context["logo_width"] = CoreExtension::getAttribute($this->env, $this->source, (isset($context["paramTool"]) || array_key_exists("paramTool", $context) ? $context["paramTool"] : (function () { throw new RuntimeError('Variable "paramTool" does not exist.', 10, $this->source); })()), "logo_width", [], "array", false, false, false, 10);
  72. // line 11
  73. $context["logo_height"] = CoreExtension::getAttribute($this->env, $this->source, (isset($context["paramTool"]) || array_key_exists("paramTool", $context) ? $context["paramTool"] : (function () { throw new RuntimeError('Variable "paramTool" does not exist.', 11, $this->source); })()), "logo_height", [], "array", false, false, false, 11);
  74. // line 12
  75. $context["logomobile"] = CoreExtension::getAttribute($this->env, $this->source, (isset($context["paramTool"]) || array_key_exists("paramTool", $context) ? $context["paramTool"] : (function () { throw new RuntimeError('Variable "paramTool" does not exist.', 12, $this->source); })()), "logomobile", [], "array", false, false, false, 12);
  76. // line 13
  77. $context["logomobile_width"] = CoreExtension::getAttribute($this->env, $this->source, (isset($context["paramTool"]) || array_key_exists("paramTool", $context) ? $context["paramTool"] : (function () { throw new RuntimeError('Variable "paramTool" does not exist.', 13, $this->source); })()), "logomobile_width", [], "array", false, false, false, 13);
  78. // line 14
  79. $context["logomobile_height"] = CoreExtension::getAttribute($this->env, $this->source, (isset($context["paramTool"]) || array_key_exists("paramTool", $context) ? $context["paramTool"] : (function () { throw new RuntimeError('Variable "paramTool" does not exist.', 14, $this->source); })()), "logomobile_height", [], "array", false, false, false, 14);
  80. // line 15
  81. $context["twitter"] = CoreExtension::getAttribute($this->env, $this->source, (isset($context["paramTool"]) || array_key_exists("paramTool", $context) ? $context["paramTool"] : (function () { throw new RuntimeError('Variable "paramTool" does not exist.', 15, $this->source); })()), "twitter", [], "array", false, false, false, 15);
  82. // line 16
  83. $context["facebook"] = CoreExtension::getAttribute($this->env, $this->source, (isset($context["paramTool"]) || array_key_exists("paramTool", $context) ? $context["paramTool"] : (function () { throw new RuntimeError('Variable "paramTool" does not exist.', 16, $this->source); })()), "facebook", [], "array", false, false, false, 16);
  84. // line 17
  85. $context["instagram"] = CoreExtension::getAttribute($this->env, $this->source, (isset($context["paramTool"]) || array_key_exists("paramTool", $context) ? $context["paramTool"] : (function () { throw new RuntimeError('Variable "paramTool" does not exist.', 17, $this->source); })()), "instagram", [], "array", false, false, false, 17);
  86. // line 18
  87. $context["youtube"] = CoreExtension::getAttribute($this->env, $this->source, (isset($context["paramTool"]) || array_key_exists("paramTool", $context) ? $context["paramTool"] : (function () { throw new RuntimeError('Variable "paramTool" does not exist.', 18, $this->source); })()), "youtube", [], "array", false, false, false, 18);
  88. // line 19
  89. $context["linkedin"] = CoreExtension::getAttribute($this->env, $this->source, (isset($context["paramTool"]) || array_key_exists("paramTool", $context) ? $context["paramTool"] : (function () { throw new RuntimeError('Variable "paramTool" does not exist.', 19, $this->source); })()), "linkedin", [], "array", false, false, false, 19);
  90. // line 20
  91. $context["favicon"] = CoreExtension::getAttribute($this->env, $this->source, (isset($context["paramTool"]) || array_key_exists("paramTool", $context) ? $context["paramTool"] : (function () { throw new RuntimeError('Variable "paramTool" does not exist.', 20, $this->source); })()), "favicon", [], "array", false, false, false, 20);
  92. // line 21
  93. $context["websitename"] = CoreExtension::getAttribute($this->env, $this->source, (isset($context["paramTool"]) || array_key_exists("paramTool", $context) ? $context["paramTool"] : (function () { throw new RuntimeError('Variable "paramTool" does not exist.', 21, $this->source); })()), "websitename", [], "array", false, false, false, 21);
  94. // line 22
  95. $context["htmlTrack"] = CoreExtension::getAttribute($this->env, $this->source, (isset($context["paramTool"]) || array_key_exists("paramTool", $context) ? $context["paramTool"] : (function () { throw new RuntimeError('Variable "paramTool" does not exist.', 22, $this->source); })()), "htmltrack", [], "array", false, false, false, 22);
  96. // line 23
  97. $context["htmlTrack2"] = CoreExtension::getAttribute($this->env, $this->source, (isset($context["paramTool"]) || array_key_exists("paramTool", $context) ? $context["paramTool"] : (function () { throw new RuntimeError('Variable "paramTool" does not exist.', 23, $this->source); })()), "htmltrack2", [], "array", false, false, false, 23);
  98. // line 24
  99. $context["domain"] = CoreExtension::getAttribute($this->env, $this->source, (isset($context["paramTool"]) || array_key_exists("paramTool", $context) ? $context["paramTool"] : (function () { throw new RuntimeError('Variable "paramTool" does not exist.', 24, $this->source); })()), "absolute_domain", [], "array", false, false, false, 24);
  100. // line 25
  101. yield "
  102. ";
  103. // line 26
  104. $context["menuHeader"] = $this->extensions['App\Twig\MenuExtension']->getMenuWebsiteArray(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.', 26, $this->source); })()), "request", [], "any", false, false, false, 26), "locale", [], "any", false, false, false, 26), "header", (isset($context["connectUser"]) || array_key_exists("connectUser", $context) ? $context["connectUser"] : (function () { throw new RuntimeError('Variable "connectUser" does not exist.', 26, $this->source); })()));
  105. // line 27
  106. $context["menuHeaderRight"] = $this->extensions['App\Twig\MenuExtension']->getMenuWebsiteArray(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.', 27, $this->source); })()), "request", [], "any", false, false, false, 27), "locale", [], "any", false, false, false, 27), "header-right", (isset($context["connectUser"]) || array_key_exists("connectUser", $context) ? $context["connectUser"] : (function () { throw new RuntimeError('Variable "connectUser" does not exist.', 27, $this->source); })()));
  107. // line 28
  108. yield "
  109. ";
  110. // line 29
  111. $context["vlang"] = 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.', 29, $this->source); })()), "request", [], "any", false, false, false, 29), "locale", [], "any", false, false, false, 29);
  112. // line 30
  113. if ((($tmp = !(null === 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.', 30, $this->source); })()), "user", [], "any", false, false, false, 30))) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
  114. // line 31
  115. yield " ";
  116. $context["vlang"] = 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.', 31, $this->source); })()), "user", [], "any", false, false, false, 31), "language", [], "any", false, false, false, 31);
  117. } else {
  118. // line 33
  119. yield " ";
  120. $context["vlang"] = 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.', 33, $this->source); })()), "session", [], "any", false, false, false, 33), "get", ["lang"], "method", false, false, false, 33);
  121. // line 34
  122. yield " ";
  123. if (Twig\Extension\CoreExtension::testEmpty((isset($context["vlang"]) || array_key_exists("vlang", $context) ? $context["vlang"] : (function () { throw new RuntimeError('Variable "vlang" does not exist.', 34, $this->source); })()))) {
  124. // line 35
  125. yield " ";
  126. $context["vlang"] = 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.', 35, $this->source); })()), "request", [], "any", false, false, false, 35), "locale", [], "any", false, false, false, 35);
  127. // line 36
  128. yield " ";
  129. }
  130. }
  131. // line 38
  132. yield "
  133. ";
  134. // line 39
  135. $context["arrayTranslate"] = $this->extensions['App\Twig\TranslationsExtension']->getArrayTranslateLocale((isset($context["vlang"]) || array_key_exists("vlang", $context) ? $context["vlang"] : (function () { throw new RuntimeError('Variable "vlang" does not exist.', 39, $this->source); })()));
  136. // line 40
  137. yield "
  138. ";
  139. // line 41
  140. $context["pathHomepage"] = $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("homepage");
  141. // line 42
  142. if ((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.', 42, $this->source); })()), "request", [], "any", false, false, false, 42), "locale", [], "any", false, false, false, 42) != "en")) {
  143. // line 43
  144. yield " ";
  145. $context["pathHomepage"] = $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("locale_homepage", ["_locale" => 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.', 43, $this->source); })()), "request", [], "any", false, false, false, 43), "locale", [], "any", false, false, false, 43)]);
  146. }
  147. // line 45
  148. yield "
  149. <!DOCTYPE html>
  150. <html lang=\"";
  151. // line 47
  152. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(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.', 47, $this->source); })()), "request", [], "any", false, false, false, 47), "locale", [], "any", false, false, false, 47), "html", null, true);
  153. yield "\">
  154. <head>
  155. <meta charset=\"utf-8\">
  156. <!--[if IE]><meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\" /><![endif]-->
  157. <title>";
  158. // line 51
  159. yield from $this->unwrap()->yieldBlock('title', $context, $blocks);
  160. yield "</title>
  161. <meta http-equiv=\"Content-Language\" content=\"";
  162. // line 52
  163. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(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.', 52, $this->source); })()), "request", [], "any", false, false, false, 52), "locale", [], "any", false, false, false, 52), "html", null, true);
  164. yield "\" />
  165. <meta name=\"language\" content=\"";
  166. // line 53
  167. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(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.', 53, $this->source); })()), "request", [], "any", false, false, false, 53), "locale", [], "any", false, false, false, 53), "html", null, true);
  168. yield "\" />
  169. <meta name=\"copyright\" content=\"";
  170. // line 54
  171. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["websitename"]) || array_key_exists("websitename", $context) ? $context["websitename"] : (function () { throw new RuntimeError('Variable "websitename" does not exist.', 54, $this->source); })()), "html", null, true);
  172. yield "\" />
  173. <meta name=\"robots\" content=\"";
  174. // line 55
  175. yield from $this->unwrap()->yieldBlock('robots', $context, $blocks);
  176. yield "\" />
  177. <meta name=\"description\" content=\"";
  178. // line 56
  179. yield from $this->unwrap()->yieldBlock('description', $context, $blocks);
  180. yield "\" />
  181. <meta name=\"viewport\" content=\"initial-scale=1.0\" />
  182. <meta name=\"viewport\" content=\"width=device-width, height=device-height, initial-scale=1, maximum-scale=6, minimum-scale=1, minimal-ui\" />
  183. <link rel=\"stylesheet\" href=\"https://cdn.jsdelivr.net/gh/orestbida/cookieconsent@v3.0.1/dist/cookieconsent.css\">
  184. ";
  185. // line 60
  186. yield from $this->unwrap()->yieldBlock('meta_social', $context, $blocks);
  187. // line 61
  188. yield " ";
  189. yield from $this->unwrap()->yieldBlock('meta', $context, $blocks);
  190. // line 62
  191. yield " ";
  192. yield from $this->unwrap()->yieldBlock('canonical', $context, $blocks);
  193. // line 63
  194. yield " ";
  195. yield from $this->load("components/dns-prefetch.html.twig", 63)->unwrap()->yield($context);
  196. // line 64
  197. yield " ";
  198. yield from $this->load("components/favicon.html.twig", 64)->unwrap()->yield(CoreExtension::merge($context, ["favicon" => (isset($context["favicon"]) || array_key_exists("favicon", $context) ? $context["favicon"] : (function () { throw new RuntimeError('Variable "favicon" does not exist.', 64, $this->source); })())]));
  199. // line 65
  200. yield " ";
  201. yield from $this->load("/vitrine/components/stylesheets.html.twig", 65)->unwrap()->yield($context);
  202. // line 66
  203. yield " ";
  204. yield from $this->unwrap()->yieldBlock('css', $context, $blocks);
  205. // line 67
  206. yield " ";
  207. yield from $this->load("/vitrine/components/scripts_header.html.twig", 67)->unwrap()->yield($context);
  208. // line 68
  209. yield " ";
  210. yield from $this->unwrap()->yieldBlock('js', $context, $blocks);
  211. // line 69
  212. yield " ";
  213. yield (isset($context["htmlTrack"]) || array_key_exists("htmlTrack", $context) ? $context["htmlTrack"] : (function () { throw new RuntimeError('Variable "htmlTrack" does not exist.', 69, $this->source); })());
  214. yield "
  215. </head>
  216. <body class=\"dark-scheme section-dark\">
  217. <div id=\"wrapper\">
  218. <div class=\"float-text show-on-scroll\">
  219. <span><a href=\"#\">Scroll to top</a></span>
  220. </div>
  221. <div class=\"scrollbar-v show-on-scroll\"></div>
  222. <div id=\"de-loader\"></div>
  223. ";
  224. // line 78
  225. yield from $this->load("vitrine/en/components/header.html.twig", 78)->unwrap()->yield($context);
  226. // line 79
  227. yield " ";
  228. yield from $this->unwrap()->yieldBlock('body', $context, $blocks);
  229. // line 80
  230. yield " </div>
  231. ";
  232. // line 81
  233. yield from $this->load("vitrine/en/components/footer.html.twig", 81)->unwrap()->yield($context);
  234. // line 82
  235. yield " ";
  236. yield from $this->unwrap()->yieldBlock('footerbody', $context, $blocks);
  237. // line 83
  238. yield " ";
  239. yield from $this->unwrap()->yieldBlock('footer_body', $context, $blocks);
  240. // line 84
  241. yield " ";
  242. yield from $this->load("/vitrine/components/scripts_footer.html.twig", 84)->unwrap()->yield($context);
  243. // line 85
  244. yield " ";
  245. yield from $this->load("components/flashmessage.html.twig", 85)->unwrap()->yield($context);
  246. // line 86
  247. yield " ";
  248. yield from $this->unwrap()->yieldBlock('footer_js', $context, $blocks);
  249. // line 87
  250. yield " ";
  251. yield from $this->unwrap()->yieldBlock('footerjs', $context, $blocks);
  252. // line 88
  253. yield " ";
  254. yield (isset($context["htmlTrack2"]) || array_key_exists("htmlTrack2", $context) ? $context["htmlTrack2"] : (function () { throw new RuntimeError('Variable "htmlTrack2" does not exist.', 88, $this->source); })());
  255. yield "
  256. <script defer src=\"https://cdn.jsdelivr.net/gh/orestbida/cookieconsent@v3.0.1/dist/cookieconsent.umd.js\"></script>
  257. <script>
  258. window.addEventListener('load', function(){
  259. CookieConsent.run({
  260. guiOptions: {
  261. consentModal: {
  262. layout: \"box\",
  263. position: \"bottom right\"
  264. }
  265. },
  266. categories: {
  267. necessary: {
  268. enabled: true,
  269. readOnly: true
  270. },
  271. analytics: {}
  272. },
  273. language: {
  274. default: 'en',
  275. translations: {
  276. en: {
  277. consentModal: {
  278. title: '🍪 We use cookies',
  279. description: 'This website uses cookies to enhance your experience. You can choose which cookies to accept.',
  280. acceptAllBtn: 'Accept all',
  281. acceptNecessaryBtn: 'Reject all',
  282. showPreferencesBtn: 'Manage preferences'
  283. },
  284. preferencesModal: {
  285. title: 'Cookie Preferences',
  286. acceptAllBtn: 'Accept all',
  287. acceptNecessaryBtn: 'Reject all',
  288. savePreferencesBtn: 'Save preferences',
  289. sections: [
  290. {
  291. title: 'Necessary cookies',
  292. description: 'These cookies are essential for the website to function properly.',
  293. linkedCategory: 'necessary'
  294. },
  295. {
  296. title: 'Analytics cookies',
  297. description: 'These cookies help us understand how you use our website.',
  298. linkedCategory: 'analytics'
  299. }
  300. ]
  301. }
  302. }
  303. }
  304. }
  305. });
  306. });
  307. </script>
  308. <script>
  309. window.addEventListener('load', function(){
  310. CookieConsent.run({
  311. guiOptions: {
  312. consentModal: {
  313. layout: \"box\",
  314. position: \"bottom right\"
  315. }
  316. },
  317. categories: {
  318. necessary: {
  319. enabled: true,
  320. readOnly: true
  321. },
  322. analytics: {}
  323. },
  324. language: {
  325. default: 'en',
  326. autoDetect: 'browser',
  327. translations: {
  328. en: {
  329. consentModal: {
  330. title: '🍪 We use cookies',
  331. description: 'This website uses cookies to enhance your experience. You can choose which cookies to accept.',
  332. acceptAllBtn: 'Accept all',
  333. acceptNecessaryBtn: 'Reject all',
  334. showPreferencesBtn: 'Manage preferences'
  335. },
  336. preferencesModal: {
  337. title: 'Cookie Preferences',
  338. acceptAllBtn: 'Accept all',
  339. acceptNecessaryBtn: 'Reject all',
  340. savePreferencesBtn: 'Save preferences',
  341. sections: [
  342. {
  343. title: 'Necessary cookies',
  344. description: 'These cookies are essential for the website to function properly.',
  345. linkedCategory: 'necessary'
  346. },
  347. {
  348. title: 'Analytics cookies',
  349. description: 'These cookies help us understand how you use our website.',
  350. linkedCategory: 'analytics'
  351. }
  352. ]
  353. }
  354. },
  355. fr: {
  356. consentModal: {
  357. title: '🍪 Nous utilisons des cookies',
  358. description: 'Ce site utilise des cookies pour améliorer votre expérience. Vous pouvez choisir quels cookies accepter.',
  359. acceptAllBtn: 'Tout accepter',
  360. acceptNecessaryBtn: 'Refuser tout',
  361. showPreferencesBtn: 'Gérer les préférences'
  362. },
  363. preferencesModal: {
  364. title: 'Préférences de cookies',
  365. acceptAllBtn: 'Tout accepter',
  366. acceptNecessaryBtn: 'Refuser tout',
  367. savePreferencesBtn: 'Enregistrer',
  368. sections: [
  369. {
  370. title: 'Cookies nécessaires',
  371. description: 'Ces cookies sont essentiels au fonctionnement du site.',
  372. linkedCategory: 'necessary'
  373. },
  374. {
  375. title: 'Cookies analytiques',
  376. description: 'Ces cookies nous aident à comprendre comment vous utilisez notre site.',
  377. linkedCategory: 'analytics'
  378. }
  379. ]
  380. }
  381. }
  382. }
  383. }
  384. });
  385. });
  386. </script>
  387. </body>
  388. </html>";
  389. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  390. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  391. yield from [];
  392. }
  393. // line 51
  394. /**
  395. * @return iterable<null|scalar|\Stringable>
  396. */
  397. public function block_title(array $context, array $blocks = []): iterable
  398. {
  399. $macros = $this->macros;
  400. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  401. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
  402. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  403. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
  404. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  405. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  406. yield from [];
  407. }
  408. // line 55
  409. /**
  410. * @return iterable<null|scalar|\Stringable>
  411. */
  412. public function block_robots(array $context, array $blocks = []): iterable
  413. {
  414. $macros = $this->macros;
  415. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  416. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "robots"));
  417. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  418. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "robots"));
  419. yield "index,follow";
  420. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  421. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  422. yield from [];
  423. }
  424. // line 56
  425. /**
  426. * @return iterable<null|scalar|\Stringable>
  427. */
  428. public function block_description(array $context, array $blocks = []): iterable
  429. {
  430. $macros = $this->macros;
  431. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  432. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "description"));
  433. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  434. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "description"));
  435. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  436. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  437. yield from [];
  438. }
  439. // line 60
  440. /**
  441. * @return iterable<null|scalar|\Stringable>
  442. */
  443. public function block_meta_social(array $context, array $blocks = []): iterable
  444. {
  445. $macros = $this->macros;
  446. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  447. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "meta_social"));
  448. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  449. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "meta_social"));
  450. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  451. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  452. yield from [];
  453. }
  454. // line 61
  455. /**
  456. * @return iterable<null|scalar|\Stringable>
  457. */
  458. public function block_meta(array $context, array $blocks = []): iterable
  459. {
  460. $macros = $this->macros;
  461. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  462. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "meta"));
  463. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  464. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "meta"));
  465. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  466. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  467. yield from [];
  468. }
  469. // line 62
  470. /**
  471. * @return iterable<null|scalar|\Stringable>
  472. */
  473. public function block_canonical(array $context, array $blocks = []): iterable
  474. {
  475. $macros = $this->macros;
  476. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  477. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "canonical"));
  478. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  479. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "canonical"));
  480. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  481. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  482. yield from [];
  483. }
  484. // line 66
  485. /**
  486. * @return iterable<null|scalar|\Stringable>
  487. */
  488. public function block_css(array $context, array $blocks = []): iterable
  489. {
  490. $macros = $this->macros;
  491. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  492. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "css"));
  493. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  494. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "css"));
  495. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  496. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  497. yield from [];
  498. }
  499. // line 68
  500. /**
  501. * @return iterable<null|scalar|\Stringable>
  502. */
  503. public function block_js(array $context, array $blocks = []): iterable
  504. {
  505. $macros = $this->macros;
  506. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  507. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "js"));
  508. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  509. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "js"));
  510. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  511. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  512. yield from [];
  513. }
  514. // line 79
  515. /**
  516. * @return iterable<null|scalar|\Stringable>
  517. */
  518. public function block_body(array $context, array $blocks = []): iterable
  519. {
  520. $macros = $this->macros;
  521. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  522. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
  523. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  524. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
  525. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  526. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  527. yield from [];
  528. }
  529. // line 82
  530. /**
  531. * @return iterable<null|scalar|\Stringable>
  532. */
  533. public function block_footerbody(array $context, array $blocks = []): iterable
  534. {
  535. $macros = $this->macros;
  536. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  537. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "footerbody"));
  538. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  539. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "footerbody"));
  540. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  541. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  542. yield from [];
  543. }
  544. // line 83
  545. /**
  546. * @return iterable<null|scalar|\Stringable>
  547. */
  548. public function block_footer_body(array $context, array $blocks = []): iterable
  549. {
  550. $macros = $this->macros;
  551. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  552. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "footer_body"));
  553. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  554. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "footer_body"));
  555. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  556. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  557. yield from [];
  558. }
  559. // line 86
  560. /**
  561. * @return iterable<null|scalar|\Stringable>
  562. */
  563. public function block_footer_js(array $context, array $blocks = []): iterable
  564. {
  565. $macros = $this->macros;
  566. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  567. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "footer_js"));
  568. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  569. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "footer_js"));
  570. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  571. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  572. yield from [];
  573. }
  574. // line 87
  575. /**
  576. * @return iterable<null|scalar|\Stringable>
  577. */
  578. public function block_footerjs(array $context, array $blocks = []): iterable
  579. {
  580. $macros = $this->macros;
  581. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  582. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "footerjs"));
  583. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  584. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "footerjs"));
  585. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  586. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  587. yield from [];
  588. }
  589. /**
  590. * @codeCoverageIgnore
  591. */
  592. public function getTemplateName(): string
  593. {
  594. return "vitrine/en/layout.html.twig";
  595. }
  596. /**
  597. * @codeCoverageIgnore
  598. */
  599. public function isTraitable(): bool
  600. {
  601. return false;
  602. }
  603. /**
  604. * @codeCoverageIgnore
  605. */
  606. public function getDebugInfo(): array
  607. {
  608. return array ( 674 => 87, 652 => 86, 630 => 83, 608 => 82, 586 => 79, 564 => 68, 542 => 66, 520 => 62, 498 => 61, 476 => 60, 454 => 56, 431 => 55, 409 => 51, 262 => 88, 259 => 87, 256 => 86, 253 => 85, 250 => 84, 247 => 83, 244 => 82, 242 => 81, 239 => 80, 236 => 79, 234 => 78, 221 => 69, 218 => 68, 215 => 67, 212 => 66, 209 => 65, 206 => 64, 203 => 63, 200 => 62, 197 => 61, 195 => 60, 188 => 56, 184 => 55, 180 => 54, 176 => 53, 172 => 52, 168 => 51, 161 => 47, 157 => 45, 153 => 43, 151 => 42, 149 => 41, 146 => 40, 144 => 39, 141 => 38, 137 => 36, 134 => 35, 131 => 34, 128 => 33, 124 => 31, 122 => 30, 120 => 29, 117 => 28, 115 => 27, 113 => 26, 110 => 25, 108 => 24, 106 => 23, 104 => 22, 102 => 21, 100 => 20, 98 => 19, 96 => 18, 94 => 17, 92 => 16, 90 => 15, 88 => 14, 86 => 13, 84 => 12, 82 => 11, 80 => 10, 78 => 9, 76 => 8, 74 => 7, 70 => 5, 67 => 4, 65 => 3, 63 => 2, 61 => 1,);
  609. }
  610. public function getSourceContext(): Source
  611. {
  612. return new Source("{% set connectUser = false %}
  613. {% set connectUser2 = false %}
  614. {% if app.user is not null %}
  615. {% set connectUser = true %}
  616. {% set connectUser2 = false %}
  617. {% endif %}
  618. {% set pathAbsolute = app.request.schemeAndHttpHost ~ app.request.requestUri %}
  619. {% set paramTool = getCoreToolsList(\"blog\") %}
  620. {% set logo = paramTool['logo'] %}
  621. {% set logo_width = paramTool['logo_width'] %}
  622. {% set logo_height = paramTool['logo_height'] %}
  623. {% set logomobile = paramTool['logomobile'] %}
  624. {% set logomobile_width = paramTool['logomobile_width'] %}
  625. {% set logomobile_height = paramTool['logomobile_height'] %}
  626. {% set twitter = paramTool['twitter'] %}
  627. {% set facebook = paramTool['facebook'] %}
  628. {% set instagram = paramTool['instagram'] %}
  629. {% set youtube = paramTool['youtube'] %}
  630. {% set linkedin = paramTool['linkedin'] %}
  631. {% set favicon = paramTool['favicon'] %}
  632. {% set websitename = paramTool['websitename'] %}
  633. {% set htmlTrack = paramTool['htmltrack'] %}
  634. {% set htmlTrack2 = paramTool['htmltrack2'] %}
  635. {% set domain = paramTool['absolute_domain'] %}
  636. {% set menuHeader = getMenuWebsiteArray(app.request.locale,\"header\",connectUser) %}
  637. {% set menuHeaderRight = getMenuWebsiteArray(app.request.locale,\"header-right\",connectUser) %}
  638. {% set vlang = app.request.locale %}
  639. {% if app.user is not null %}
  640. {% set vlang = app.user.language %}
  641. {% else %}
  642. {% set vlang = app.session.get('lang') %}
  643. {% if vlang is empty %}
  644. {% set vlang = app.request.locale %}
  645. {% endif %}
  646. {% endif %}
  647. {% set arrayTranslate = getArrayTranslateLocale(vlang) %}
  648. {% set pathHomepage = path('homepage') %}
  649. {% if app.request.locale != \"en\" %}
  650. {% set pathHomepage = path('locale_homepage',{'_locale':app.request.locale}) %}
  651. {% endif %}
  652. <!DOCTYPE html>
  653. <html lang=\"{{ app.request.locale }}\">
  654. <head>
  655. <meta charset=\"utf-8\">
  656. <!--[if IE]><meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\" /><![endif]-->
  657. <title>{% block title %}{% endblock title %}</title>
  658. <meta http-equiv=\"Content-Language\" content=\"{{ app.request.locale }}\" />
  659. <meta name=\"language\" content=\"{{ app.request.locale }}\" />
  660. <meta name=\"copyright\" content=\"{{ websitename }}\" />
  661. <meta name=\"robots\" content=\"{% block robots %}index,follow{% endblock robots %}\" />
  662. <meta name=\"description\" content=\"{% block description %}{% endblock description %}\" />
  663. <meta name=\"viewport\" content=\"initial-scale=1.0\" />
  664. <meta name=\"viewport\" content=\"width=device-width, height=device-height, initial-scale=1, maximum-scale=6, minimum-scale=1, minimal-ui\" />
  665. <link rel=\"stylesheet\" href=\"https://cdn.jsdelivr.net/gh/orestbida/cookieconsent@v3.0.1/dist/cookieconsent.css\">
  666. {% block meta_social %}{% endblock meta_social %}
  667. {% block meta %}{% endblock meta %}
  668. {% block canonical %}{% endblock canonical %}
  669. {% include \"components/dns-prefetch.html.twig\" %}
  670. {% include \"components/favicon.html.twig\" with {'favicon':favicon} %}
  671. {% include \"/vitrine/components/stylesheets.html.twig\" %}
  672. {% block css %}{% endblock css %}
  673. {% include \"/vitrine/components/scripts_header.html.twig\" %}
  674. {% block js %}{% endblock js %}
  675. {{ htmlTrack|raw }}
  676. </head>
  677. <body class=\"dark-scheme section-dark\">
  678. <div id=\"wrapper\">
  679. <div class=\"float-text show-on-scroll\">
  680. <span><a href=\"#\">Scroll to top</a></span>
  681. </div>
  682. <div class=\"scrollbar-v show-on-scroll\"></div>
  683. <div id=\"de-loader\"></div>
  684. {% include \"vitrine/en/components/header.html.twig\" %}
  685. {% block body %}{% endblock body %}
  686. </div>
  687. {% include \"vitrine/en/components/footer.html.twig\" %}
  688. {% block footerbody %}{% endblock footerbody %}
  689. {% block footer_body %}{% endblock footer_body %}
  690. {% include \"/vitrine/components/scripts_footer.html.twig\" %}
  691. {% include \"components/flashmessage.html.twig\" %}
  692. {% block footer_js %}{% endblock footer_js %}
  693. {% block footerjs %}{% endblock footerjs %}
  694. {{ htmlTrack2|raw }}
  695. <script defer src=\"https://cdn.jsdelivr.net/gh/orestbida/cookieconsent@v3.0.1/dist/cookieconsent.umd.js\"></script>
  696. <script>
  697. window.addEventListener('load', function(){
  698. CookieConsent.run({
  699. guiOptions: {
  700. consentModal: {
  701. layout: \"box\",
  702. position: \"bottom right\"
  703. }
  704. },
  705. categories: {
  706. necessary: {
  707. enabled: true,
  708. readOnly: true
  709. },
  710. analytics: {}
  711. },
  712. language: {
  713. default: 'en',
  714. translations: {
  715. en: {
  716. consentModal: {
  717. title: '🍪 We use cookies',
  718. description: 'This website uses cookies to enhance your experience. You can choose which cookies to accept.',
  719. acceptAllBtn: 'Accept all',
  720. acceptNecessaryBtn: 'Reject all',
  721. showPreferencesBtn: 'Manage preferences'
  722. },
  723. preferencesModal: {
  724. title: 'Cookie Preferences',
  725. acceptAllBtn: 'Accept all',
  726. acceptNecessaryBtn: 'Reject all',
  727. savePreferencesBtn: 'Save preferences',
  728. sections: [
  729. {
  730. title: 'Necessary cookies',
  731. description: 'These cookies are essential for the website to function properly.',
  732. linkedCategory: 'necessary'
  733. },
  734. {
  735. title: 'Analytics cookies',
  736. description: 'These cookies help us understand how you use our website.',
  737. linkedCategory: 'analytics'
  738. }
  739. ]
  740. }
  741. }
  742. }
  743. }
  744. });
  745. });
  746. </script>
  747. <script>
  748. window.addEventListener('load', function(){
  749. CookieConsent.run({
  750. guiOptions: {
  751. consentModal: {
  752. layout: \"box\",
  753. position: \"bottom right\"
  754. }
  755. },
  756. categories: {
  757. necessary: {
  758. enabled: true,
  759. readOnly: true
  760. },
  761. analytics: {}
  762. },
  763. language: {
  764. default: 'en',
  765. autoDetect: 'browser',
  766. translations: {
  767. en: {
  768. consentModal: {
  769. title: '🍪 We use cookies',
  770. description: 'This website uses cookies to enhance your experience. You can choose which cookies to accept.',
  771. acceptAllBtn: 'Accept all',
  772. acceptNecessaryBtn: 'Reject all',
  773. showPreferencesBtn: 'Manage preferences'
  774. },
  775. preferencesModal: {
  776. title: 'Cookie Preferences',
  777. acceptAllBtn: 'Accept all',
  778. acceptNecessaryBtn: 'Reject all',
  779. savePreferencesBtn: 'Save preferences',
  780. sections: [
  781. {
  782. title: 'Necessary cookies',
  783. description: 'These cookies are essential for the website to function properly.',
  784. linkedCategory: 'necessary'
  785. },
  786. {
  787. title: 'Analytics cookies',
  788. description: 'These cookies help us understand how you use our website.',
  789. linkedCategory: 'analytics'
  790. }
  791. ]
  792. }
  793. },
  794. fr: {
  795. consentModal: {
  796. title: '🍪 Nous utilisons des cookies',
  797. description: 'Ce site utilise des cookies pour améliorer votre expérience. Vous pouvez choisir quels cookies accepter.',
  798. acceptAllBtn: 'Tout accepter',
  799. acceptNecessaryBtn: 'Refuser tout',
  800. showPreferencesBtn: 'Gérer les préférences'
  801. },
  802. preferencesModal: {
  803. title: 'Préférences de cookies',
  804. acceptAllBtn: 'Tout accepter',
  805. acceptNecessaryBtn: 'Refuser tout',
  806. savePreferencesBtn: 'Enregistrer',
  807. sections: [
  808. {
  809. title: 'Cookies nécessaires',
  810. description: 'Ces cookies sont essentiels au fonctionnement du site.',
  811. linkedCategory: 'necessary'
  812. },
  813. {
  814. title: 'Cookies analytiques',
  815. description: 'Ces cookies nous aident à comprendre comment vous utilisez notre site.',
  816. linkedCategory: 'analytics'
  817. }
  818. ]
  819. }
  820. }
  821. }
  822. }
  823. });
  824. });
  825. </script>
  826. </body>
  827. </html>", "vitrine/en/layout.html.twig", "/var/www/vhosts/mirtillostudio.com/ch.mirtillostudio.com/templates/vitrine/en/layout.html.twig");
  828. }
  829. }