var/cache/website/dev/twig/84/8406122878a2bbbc177fda39e3a3e0a2.php line 39

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\Sandbox\SecurityNotAllowedTestError;
  13. use Twig\Source;
  14. use Twig\Template;
  15. use Twig\TemplateWrapper;
  16. /* pages/_includes/base/sub_menu/_submenu_company.html.twig */
  17. class __TwigTemplate_272f4ec82b4b990464885b31a515e638 extends Template
  18. {
  19. private Source $source;
  20. /**
  21. * @var array<string, Template>
  22. */
  23. private array $macros = [];
  24. public function __construct(Environment $env)
  25. {
  26. parent::__construct($env);
  27. $this->source = $this->getSourceContext();
  28. $this->parent = false;
  29. $this->blocks = [
  30. ];
  31. }
  32. protected function doDisplay(array $context, array $blocks = []): iterable
  33. {
  34. $macros = $this->macros;
  35. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  36. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "pages/_includes/base/sub_menu/_submenu_company.html.twig"));
  37. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  38. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "pages/_includes/base/sub_menu/_submenu_company.html.twig"));
  39. // line 2
  40. $context["items"] = $this->extensions['App\Twig\Menu\MenuExtension']->getNavigationMenuItems("company");
  41. // line 3
  42. yield "
  43. <div class=\"lists\">
  44. \t<ul class=\"highlighted-items ";
  45. // line 5
  46. yield (string) $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::lower($this->env->getCharset(), ((CoreExtension::getAttribute($this->env, $this->source, ($context["item"] ?? null), "multipleLabel", [], "any", true, true, false, 5)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, (isset($context["item"]) || array_key_exists("item", $context) ? $context["item"] : (function () { throw new RuntimeError('Variable "item" does not exist.', 5, $this->source); })()), "multipleLabel", [], "any", false, false, false, 5), "")) : (""))), "html", null, true);
  47. yield "\">
  48. \t\t";
  49. // line 6
  50. $context['_parent'] = $context;
  51. $context['_seq'] = CoreExtension::ensureTraversable(Twig\Extension\CoreExtension::slice($this->env->getCharset(), (isset($context["items"]) || array_key_exists("items", $context) ? $context["items"] : (function () { throw new RuntimeError('Variable "items" does not exist.', 6, $this->source); })()), 0, 3));
  52. foreach ($context['_seq'] as $context["_key"] => $context["element"]) {
  53. // line 7
  54. yield "\t\t\t";
  55. $context["logo"] = $this->extensions['App\Twig\CreaMedia\CachingMediaBundleExtension']->getMedia(["logo"], $context["element"]);
  56. // line 8
  57. yield "\t\t\t<li class=\"SubMenu-item br3\">
  58. \t\t\t\t<a href=\"";
  59. // line 9
  60. yield (string) $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getFunction('getCruiseSearchUrl')->getCallable()([$context["element"]]), "html", null, true);
  61. yield "\" class=\"site-header__mega-link\" title=\"";
  62. yield (string) $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env, $this->source, $context["element"], "name", [], "any", true, true, false, 9)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, $context["element"], "name", [], "any", false, false, false, 9), ((CoreExtension::getAttribute($this->env, $this->source, $context["element"], "title", [], "any", true, true, false, 9)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, $context["element"], "title", [], "any", false, false, false, 9), "")) : ("")))) : (((CoreExtension::getAttribute($this->env, $this->source, $context["element"], "title", [], "any", true, true, false, 9)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, $context["element"], "title", [], "any", false, false, false, 9), "")) : ("")))), "html", null, true);
  63. yield "\">
  64. \t\t\t\t\t<div class=\"logo br2\" style=\"background: url(\x27";
  65. // line 10
  66. yield (string) $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env, $this->source, $this->extensions['App\Twig\CreaMedia\CachingMediaBundleExtension']->getMedia(["nav_menu"], $context["element"]), "cdnUrl", [], "any", true, true, false, 10)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, $this->extensions['App\Twig\CreaMedia\CachingMediaBundleExtension']->getMedia(["nav_menu"], $context["element"]), "cdnUrl", [], "any", false, false, false, 10), $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("img/placeholders/menu.jpg"))) : ($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("img/placeholders/menu.jpg"))), "html", null, true);
  67. yield "\x27) no-repeat center / cover\">
  68. \t\t\t\t\t\t";
  69. // line 11
  70. if ( !(null === (isset($context["logo"]) || array_key_exists("logo", $context) ? $context["logo"] : (function () { throw new RuntimeError('Variable "logo" does not exist.', 11, $this->source); })()))) {
  71. // line 12
  72. yield "\t\t\t\t\t\t\t<img src=\"";
  73. yield (string) $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["logo"]) || array_key_exists("logo", $context) ? $context["logo"] : (function () { throw new RuntimeError('Variable "logo" does not exist.', 12, $this->source); })()), "cdnUrl", [], "any", false, false, false, 12), "html", null, true);
  74. yield "\" alt=\"";
  75. yield (string) $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env, $this->source, $context["element"], "name", [], "any", true, true, false, 12)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, $context["element"], "name", [], "any", false, false, false, 12), "")) : ("")), "html", null, true);
  76. yield "\">
  77. \t\t\t\t\t\t";
  78. }
  79. // line 14
  80. yield "\t\t\t\t\t</div>
  81. \t\t\t\t\t<div>
  82. \t\t\t\t\t\t<span>";
  83. // line 16
  84. yield (string) $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env, $this->source, $context["element"], "name", [], "any", true, true, false, 16)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, $context["element"], "name", [], "any", false, false, false, 16), ((CoreExtension::getAttribute($this->env, $this->source, $context["element"], "title", [], "any", true, true, false, 16)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, $context["element"], "title", [], "any", false, false, false, 16), "")) : ("")))) : (((CoreExtension::getAttribute($this->env, $this->source, $context["element"], "title", [], "any", true, true, false, 16)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, $context["element"], "title", [], "any", false, false, false, 16), "")) : ("")))), "html", null, true);
  85. yield "</span>
  86. \t\t\t\t\t\t<div>";
  87. // line 17
  88. yield (string) ((CoreExtension::getAttribute($this->env, $this->source, $context["element"], "shortDescription", [], "any", true, true, false, 17)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, $context["element"], "shortDescription", [], "any", false, false, false, 17), ((CoreExtension::getAttribute($this->env, $this->source, $context["element"], "lead", [], "any", true, true, false, 17)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, $context["element"], "lead", [], "any", false, false, false, 17), "")) : ("")))) : (((CoreExtension::getAttribute($this->env, $this->source, $context["element"], "lead", [], "any", true, true, false, 17)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, $context["element"], "lead", [], "any", false, false, false, 17), "")) : (""))));
  89. yield "</div>
  90. \t\t\t\t\t</div>
  91. \t\t\t\t</a>
  92. \t\t\t</li>
  93. \t\t";
  94. }
  95. $_parent = $context['_parent'];
  96. unset($context['_seq'], $context['_key'], $context['element'], $context['_parent']);
  97. $context = array_intersect_key($context, $_parent);
  98. $context += $_parent;
  99. // line 22
  100. yield "\t</ul>
  101. \t";
  102. // line 24
  103. if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), Twig\Extension\CoreExtension::slice($this->env->getCharset(), (isset($context["items"]) || array_key_exists("items", $context) ? $context["items"] : (function () { throw new RuntimeError('Variable "items" does not exist.', 24, $this->source); })()), 3)) > 0)) {
  104. // line 25
  105. yield "\t\t";
  106. yield from $this->load("pages/_includes/base/sub_menu/_submenu_company.html.twig", 25, 1)->unwrap()->yield(CoreExtension::merge($context, ["title" => (($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("snippets.header.all_f") . " ") . Twig\Extension\CoreExtension::lower($this->env->getCharset(), ((CoreExtension::getAttribute($this->env, $this->source, // line 26
  107. ($context["item"] ?? null), "multipleLabel", [], "any", true, true, false, 26)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, (isset($context["item"]) || array_key_exists("item", $context) ? $context["item"] : (function () { throw new RuntimeError('Variable "item" does not exist.', 26, $this->source); })()), "multipleLabel", [], "any", false, false, false, 26), "")) : ("")))), "mode" => (( // line 27
  108. array_key_exists("mode", $context)) ? (Twig\Extension\CoreExtension::default((isset($context["mode"]) || array_key_exists("mode", $context) ? $context["mode"] : (function () { throw new RuntimeError('Variable "mode" does not exist.', 27, $this->source); })()), "desktop")) : ("desktop"))]));
  109. // line 39
  110. yield "\t";
  111. }
  112. // line 40
  113. yield "</div>
  114. <style>
  115. .site-header__mega{
  116. \t/* display: flex !important;
  117. \tvisibility: visible !important;
  118. \topacity: 1 !important; */
  119. }
  120. </style>";
  121. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  122. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  123. yield from [];
  124. }
  125. /**
  126. * @codeCoverageIgnore
  127. */
  128. public function getTemplateName(): string
  129. {
  130. return "pages/_includes/base/sub_menu/_submenu_company.html.twig";
  131. }
  132. /**
  133. * @codeCoverageIgnore
  134. */
  135. public function isTraitable(): bool
  136. {
  137. return false;
  138. }
  139. /**
  140. * @codeCoverageIgnore
  141. */
  142. public function getDebugInfo(): array
  143. {
  144. return array ( 123 => 40, 120 => 39, 118 => 27, 117 => 26, 115 => 25, 113 => 24, 109 => 22, 97 => 17, 93 => 16, 89 => 14, 81 => 12, 79 => 11, 75 => 10, 69 => 9, 66 => 8, 63 => 7, 59 => 6, 55 => 5, 51 => 3, 49 => 2,);
  145. }
  146. public function getSourceContext(): Source
  147. {
  148. return new Source("{# Compagnies — typeItem: company #}
  149. {% set items = getNavigationMenuItems(\x27company\x27) %}
  150. <div class=\"lists\">
  151. \t<ul class=\"highlighted-items {{ item.multipleLabel|default(\x27\x27)|lower }}\">
  152. \t\t{% for element in items|slice(0, 3) %}
  153. \t\t\t{% set logo = crea_media_get_media([\x27logo\x27], element) %}
  154. \t\t\t<li class=\"SubMenu-item br3\">
  155. \t\t\t\t<a href=\"{{ getCruiseSearchUrl([element]) }}\" class=\"site-header__mega-link\" title=\"{{ element.name|default(element.title|default(\x27\x27)) }}\">
  156. \t\t\t\t\t<div class=\"logo br2\" style=\"background: url(\x27{{ (crea_media_get_media([\x27nav_menu\x27], element).cdnUrl)|default(asset(\x27img/placeholders/menu.jpg\x27)) }}\x27) no-repeat center / cover\">
  157. \t\t\t\t\t\t{% if logo is not null %}
  158. \t\t\t\t\t\t\t<img src=\"{{ logo.cdnUrl }}\" alt=\"{{ element.name|default(\x27\x27) }}\">
  159. \t\t\t\t\t\t{% endif %}
  160. \t\t\t\t\t</div>
  161. \t\t\t\t\t<div>
  162. \t\t\t\t\t\t<span>{{ element.name|default(element.title|default(\x27\x27)) }}</span>
  163. \t\t\t\t\t\t<div>{{ element.shortDescription|default(element.lead|default(\x27\x27))|raw }}</div>
  164. \t\t\t\t\t</div>
  165. \t\t\t\t</a>
  166. \t\t\t</li>
  167. \t\t{% endfor %}
  168. \t</ul>
  169. \t{% if items|slice(3)|length > 0 %}
  170. \t\t{% embed \x27pages/_includes/base/sub_menu/_regular_items_accordion.html.twig\x27 with {
  171. \t\t\ttitle: (\x27snippets.header.all_f\x27|trans ~ \x27 \x27 ~ item.multipleLabel|default(\x27\x27)|lower),
  172. \t\t\tmode: mode|default(\x27desktop\x27),
  173. \t\t} %}
  174. \t\t\t{% block content %}
  175. \t\t\t\t<ul class=\"regular-items br2\">
  176. \t\t\t\t\t{% for element in items|slice(3) %}
  177. \t\t\t\t\t\t<li class=\"SubMenu-item br1\">
  178. \t\t\t\t\t\t\t<a href=\"{{ getCruiseSearchUrl([element]) }}\" class=\"site-header__mega-link\" title=\"{{ element.name }}\">{{ element.name }}</a>
  179. \t\t\t\t\t\t</li>
  180. \t\t\t\t\t{% endfor %}
  181. \t\t\t\t</ul>
  182. \t\t\t{% endblock %}
  183. \t\t{% endembed %}
  184. \t{% endif %}
  185. </div>
  186. <style>
  187. .site-header__mega{
  188. \t/* display: flex !important;
  189. \tvisibility: visible !important;
  190. \topacity: 1 !important; */
  191. }
  192. </style>", "pages/_includes/base/sub_menu/_submenu_company.html.twig", "/home/croisiland-pp/www/f0312421abff37637dabe6f4d57b6afd95d16263/templates/pages/_includes/base/sub_menu/_submenu_company.html.twig");
  193. }
  194. }
  195. /* pages/_includes/base/sub_menu/_submenu_company.html.twig */
  196. class __TwigTemplate_272f4ec82b4b990464885b31a515e638___1 extends Template
  197. {
  198. private Source $source;
  199. /**
  200. * @var array<string, Template>
  201. */
  202. private array $macros = [];
  203. public function __construct(Environment $env)
  204. {
  205. parent::__construct($env);
  206. $this->source = $this->getSourceContext();
  207. $this->blocks = [
  208. 'content' => [$this, 'block_content'],
  209. ];
  210. }
  211. protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
  212. {
  213. // line 25
  214. return "pages/_includes/base/sub_menu/_regular_items_accordion.html.twig";
  215. }
  216. protected function doDisplay(array $context, array $blocks = []): iterable
  217. {
  218. $macros = $this->macros;
  219. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  220. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "pages/_includes/base/sub_menu/_submenu_company.html.twig"));
  221. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  222. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "pages/_includes/base/sub_menu/_submenu_company.html.twig"));
  223. $this->parent = $this->load("pages/_includes/base/sub_menu/_regular_items_accordion.html.twig", 25);
  224. yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
  225. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  226. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  227. }
  228. // line 29
  229. /**
  230. * @return iterable<null|scalar|\Stringable>
  231. */
  232. public function block_content(array $context, array $blocks = []): iterable
  233. {
  234. $macros = $this->macros;
  235. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  236. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
  237. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  238. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
  239. // line 30
  240. yield "\t\t\t\t<ul class=\"regular-items br2\">
  241. \t\t\t\t\t";
  242. // line 31
  243. $context['_parent'] = $context;
  244. $context['_seq'] = CoreExtension::ensureTraversable(Twig\Extension\CoreExtension::slice($this->env->getCharset(), (isset($context["items"]) || array_key_exists("items", $context) ? $context["items"] : (function () { throw new RuntimeError('Variable "items" does not exist.', 31, $this->source); })()), 3));
  245. foreach ($context['_seq'] as $context["_key"] => $context["element"]) {
  246. // line 32
  247. yield "\t\t\t\t\t\t<li class=\"SubMenu-item br1\">
  248. \t\t\t\t\t\t\t<a href=\"";
  249. // line 33
  250. yield (string) $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getFunction('getCruiseSearchUrl')->getCallable()([$context["element"]]), "html", null, true);
  251. yield "\" class=\"site-header__mega-link\" title=\"";
  252. yield (string) $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["element"], "name", [], "any", false, false, false, 33), "html", null, true);
  253. yield "\">";
  254. yield (string) $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["element"], "name", [], "any", false, false, false, 33), "html", null, true);
  255. yield "</a>
  256. \t\t\t\t\t\t</li>
  257. \t\t\t\t\t";
  258. }
  259. $_parent = $context['_parent'];
  260. unset($context['_seq'], $context['_key'], $context['element'], $context['_parent']);
  261. $context = array_intersect_key($context, $_parent);
  262. $context += $_parent;
  263. // line 36
  264. yield "\t\t\t\t</ul>
  265. \t\t\t";
  266. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  267. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  268. yield from [];
  269. }
  270. /**
  271. * @codeCoverageIgnore
  272. */
  273. public function getTemplateName(): string
  274. {
  275. return "pages/_includes/base/sub_menu/_submenu_company.html.twig";
  276. }
  277. /**
  278. * @codeCoverageIgnore
  279. */
  280. public function isTraitable(): bool
  281. {
  282. return false;
  283. }
  284. /**
  285. * @codeCoverageIgnore
  286. */
  287. public function getDebugInfo(): array
  288. {
  289. return array ( 302 => 36, 288 => 33, 285 => 32, 281 => 31, 278 => 30, 265 => 29, 242 => 25, 123 => 40, 120 => 39, 118 => 27, 117 => 26, 115 => 25, 113 => 24, 109 => 22, 97 => 17, 93 => 16, 89 => 14, 81 => 12, 79 => 11, 75 => 10, 69 => 9, 66 => 8, 63 => 7, 59 => 6, 55 => 5, 51 => 3, 49 => 2,);
  290. }
  291. public function getSourceContext(): Source
  292. {
  293. return new Source("{# Compagnies — typeItem: company #}
  294. {% set items = getNavigationMenuItems(\x27company\x27) %}
  295. <div class=\"lists\">
  296. \t<ul class=\"highlighted-items {{ item.multipleLabel|default(\x27\x27)|lower }}\">
  297. \t\t{% for element in items|slice(0, 3) %}
  298. \t\t\t{% set logo = crea_media_get_media([\x27logo\x27], element) %}
  299. \t\t\t<li class=\"SubMenu-item br3\">
  300. \t\t\t\t<a href=\"{{ getCruiseSearchUrl([element]) }}\" class=\"site-header__mega-link\" title=\"{{ element.name|default(element.title|default(\x27\x27)) }}\">
  301. \t\t\t\t\t<div class=\"logo br2\" style=\"background: url(\x27{{ (crea_media_get_media([\x27nav_menu\x27], element).cdnUrl)|default(asset(\x27img/placeholders/menu.jpg\x27)) }}\x27) no-repeat center / cover\">
  302. \t\t\t\t\t\t{% if logo is not null %}
  303. \t\t\t\t\t\t\t<img src=\"{{ logo.cdnUrl }}\" alt=\"{{ element.name|default(\x27\x27) }}\">
  304. \t\t\t\t\t\t{% endif %}
  305. \t\t\t\t\t</div>
  306. \t\t\t\t\t<div>
  307. \t\t\t\t\t\t<span>{{ element.name|default(element.title|default(\x27\x27)) }}</span>
  308. \t\t\t\t\t\t<div>{{ element.shortDescription|default(element.lead|default(\x27\x27))|raw }}</div>
  309. \t\t\t\t\t</div>
  310. \t\t\t\t</a>
  311. \t\t\t</li>
  312. \t\t{% endfor %}
  313. \t</ul>
  314. \t{% if items|slice(3)|length > 0 %}
  315. \t\t{% embed \x27pages/_includes/base/sub_menu/_regular_items_accordion.html.twig\x27 with {
  316. \t\t\ttitle: (\x27snippets.header.all_f\x27|trans ~ \x27 \x27 ~ item.multipleLabel|default(\x27\x27)|lower),
  317. \t\t\tmode: mode|default(\x27desktop\x27),
  318. \t\t} %}
  319. \t\t\t{% block content %}
  320. \t\t\t\t<ul class=\"regular-items br2\">
  321. \t\t\t\t\t{% for element in items|slice(3) %}
  322. \t\t\t\t\t\t<li class=\"SubMenu-item br1\">
  323. \t\t\t\t\t\t\t<a href=\"{{ getCruiseSearchUrl([element]) }}\" class=\"site-header__mega-link\" title=\"{{ element.name }}\">{{ element.name }}</a>
  324. \t\t\t\t\t\t</li>
  325. \t\t\t\t\t{% endfor %}
  326. \t\t\t\t</ul>
  327. \t\t\t{% endblock %}
  328. \t\t{% endembed %}
  329. \t{% endif %}
  330. </div>
  331. <style>
  332. .site-header__mega{
  333. \t/* display: flex !important;
  334. \tvisibility: visible !important;
  335. \topacity: 1 !important; */
  336. }
  337. </style>", "pages/_includes/base/sub_menu/_submenu_company.html.twig", "/home/croisiland-pp/www/f0312421abff37637dabe6f4d57b6afd95d16263/templates/pages/_includes/base/sub_menu/_submenu_company.html.twig");
  338. }
  339. }