var/cache/website/dev/twig/c5/c5e1323c9d00d0d0f82b98c4e2de2738.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. /* ./partials/layout/header.html.twig */
  14. class __TwigTemplate_6281073ed60f13e74a228fe5ea2d10e6 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""./partials/layout/header.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""./partials/layout/header.html.twig"));
  33.         // line 1
  34.         echo "
  35. ";
  36.         // line 2
  37.         $context["logos"] = $this->extensions['Sulu\Bundle\SnippetBundle\Twig\SnippetAreaTwigExtension']->loadByArea("logos_area"null);
  38.         // line 3
  39.         $context["menu"] = [["title" => "agency""href" => "/agency"], ["title" => "projects""href" => "/projects"], ["title" => "services""href" => "/services"], ["title" => "offers""href" => "/offers"], ["title" => "partners""href" => "/partners"], ["title" => "estimate""href" => "/estimate"], ["title" => "investors""href" => "/investors"], ["title" => "news""href" => "/news"], ["title" => "team""href" => "/team"]];
  40.         // line 33
  41.         echo "
  42. ";
  43.         // line 34
  44.         $context["lang"] = twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["app"] ?? null), "request", [], "any"falsefalsefalse34), "locale", [], "any"falsefalsefalse34);
  45.         // line 35
  46.         echo "
  47. <header class=\"header ";
  48.         // line 36
  49.         echo twig_escape_filter($this->env, ($context["headerColor"] ?? null), "html"nulltrue);
  50.         echo "\">
  51.   <div class=\"header-container custom-grid-3 h-full border-b border-gray z-20 relative\">
  52.     <div class=\"relative flex border-r border-gray\">
  53.       <button class=\"header-hamburger hidden lg:flex z-10 border-r border-gray\"
  54.         aria-label=\"Menu\">
  55.         <div class=\"flex items-center relative w-6 h-6\">
  56.           <span class=\"top-2\"></span>
  57.           <span class=\"top-4\"></span>
  58.         </div>
  59.       </button>
  60.       <div class=\"lang-select flex lg:hidden border-l border-gray group\">
  61.         <div class=\"lang-select__current\">
  62.           <span>";
  63.         // line 49
  64.         echo twig_escape_filter($this->envtwig_capitalize_string_filter($this->env, ($context["lang"] ?? null)), "html"nulltrue);
  65.         echo "</span>
  66.           <svg class=\"w-4 h-4 ml-2 group-hover:rotate-180 duration-300\">
  67.             <use xlink:href=\"#slide-down-arrow\"></use>
  68.           </svg>
  69.         </div>
  70.         <ul class=\"lang-select__list absolute top-full w-full flex flex-col border-t border-gray opacity-0 pointer-events-none
  71.          group-hover:opacity-100 group-hover:pointer-events-auto
  72.          group-focus-within:opacity-100 group-focus-within:pointer-events-auto group-focus-within:translate-y-0
  73.          duration-100\">
  74.         ";
  75.         // line 60
  76.         $context['_parent'] = $context;
  77.         $context['_seq'] = twig_ensure_traversable(($context["localizations"] ?? null));
  78.         foreach ($context['_seq'] as $context["_key"] => $context["localization"]) {
  79.             // line 61
  80.             echo "\t\t\t\t\t";
  81.             if ((twig_get_attribute($this->env$this->source$context["localization"], "locale", [], "any"falsefalsefalse61) != ($context["lang"] ?? null))) {
  82.                 // line 62
  83.                 echo "          <li>
  84.             <a class=\"flex items-center justify-center w-full h-14 px-2.5 py-1 outline-none\" href=\"";
  85.                 // line 63
  86.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["localization"], "url", [], "any"falsefalsefalse63), "html"nulltrue);
  87.                 echo "\">";
  88.                 echo twig_escape_filter($this->envtwig_capitalize_string_filter($this->envtwig_get_attribute($this->env$this->source$context["localization"], "locale", [], "any"falsefalsefalse63)), "html"nulltrue);
  89.                 echo "</a>
  90.           </li>
  91.           ";
  92.             }
  93.             // line 66
  94.             echo "\t\t\t\t";
  95.         }
  96.         $_parent $context['_parent'];
  97.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['localization'], $context['_parent'], $context['loop']);
  98.         $context array_intersect_key($context$_parent) + $_parent;
  99.         // line 67
  100.         echo "
  101.         </ul>
  102.       </div>
  103.       
  104.       
  105.       <ul class=\"header-left-menu hidden lg:grid grid-cols-3 w-full items-center divide-x divide-gray\">
  106.         ";
  107.         // line 73
  108.         $context['_parent'] = $context;
  109.         $context['_seq'] = twig_ensure_traversable($this->env->getFunction('sulu_navigation_root_tree')->getCallable()("topLeft"4));
  110.         foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
  111.             // line 74
  112.             echo "        <li class=\"header-menu-item\">
  113.           <a href=\"";
  114.             // line 75
  115.             echo twig_escape_filter($this->env$this->extensions['Sulu\Bundle\WebsiteBundle\Twig\Content\ContentPathTwigExtension']->getContentPath(twig_get_attribute($this->env$this->source$context["item"], "url", [], "any"falsefalsefalse75)), "html"nulltrue);
  116.             echo "\">";
  117.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["item"], "title", [], "any"falsefalsefalse75), "html"nulltrue);
  118.             echo "</a>
  119.         </li>
  120.         ";
  121.         }
  122.         $_parent $context['_parent'];
  123.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
  124.         $context array_intersect_key($context$_parent) + $_parent;
  125.         // line 78
  126.         echo "      </ul>
  127.     </div>
  128.     <div class=\"header-logo z-10 relative w-full flex items-center justify-center\">
  129.       <a class=\"relative flex items-center h-full\"
  130.         href=\"";
  131.         // line 83
  132.         echo twig_escape_filter($this->env$this->extensions['Sulu\Bundle\WebsiteBundle\Twig\Content\ContentPathTwigExtension']->getContentRootPath(), "html"nulltrue);
  133.         echo "\">
  134.         <span class=\"text-[0px]\">Home page</span>
  135.         ";
  136.         // line 86
  137.         if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["logos"] ?? null), "content", [], "any"falsetruefalse86), "image_dark", [], "any"falsetruefalse86), "url", [], "any"truetruefalse86)) {
  138.             // line 87
  139.             echo "          <img class=\"header-logo__blue w-36 xs:w-44 lg:w-[clamp(15rem,16vw,17rem)] duration-500 opacity-0\" src=\"";
  140.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["logos"] ?? null), "content", [], "any"falsefalsefalse87), "image_dark", [], "any"falsefalsefalse87), "url", [], "any"falsefalsefalse87), "html"nulltrue);
  141.             echo "\" alt=\"\">
  142.         ";
  143.         }
  144.         // line 89
  145.         echo "        
  146.         ";
  147.         // line 90
  148.         if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["logos"] ?? null), "content", [], "any"falsetruefalse90), "image_white", [], "any"falsetruefalse90), "url", [], "any"truetruefalse90)) {
  149.             // line 91
  150.             echo "          <img class=\"header-logo__white w-36 xs:w-44 lg:w-[clamp(15rem,16vw,17rem)] duration-500 absolute\" src=\"";
  151.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["logos"] ?? null), "content", [], "any"falsefalsefalse91), "image_white", [], "any"falsefalsefalse91), "url", [], "any"falsefalsefalse91), "html"nulltrue);
  152.             echo "\" alt=\"\">
  153.         ";
  154.         }
  155.         // line 93
  156.         echo "        
  157.       </a>
  158.     </div>
  159.     <div class=\"relative flex justify-end border-l border-gray\">
  160.       <ul class=\"header-right-menu hidden lg:grid grid-cols-3 w-full items-center divide-x divide-gray\">
  161.         ";
  162.         // line 100
  163.         $context['_parent'] = $context;
  164.         $context['_seq'] = twig_ensure_traversable($this->env->getFunction('sulu_navigation_root_tree')->getCallable()("topRight"4));
  165.         foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
  166.             // line 101
  167.             echo "        <li class=\"header-menu-item\">
  168.           <a href=\"";
  169.             // line 102
  170.             echo twig_escape_filter($this->env$this->extensions['Sulu\Bundle\WebsiteBundle\Twig\Content\ContentPathTwigExtension']->getContentPath(twig_get_attribute($this->env$this->source$context["item"], "url", [], "any"falsefalsefalse102)), "html"nulltrue);
  171.             echo "\">";
  172.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["item"], "title", [], "any"falsefalsefalse102), "html"nulltrue);
  173.             echo "</a>
  174.         </li>
  175.         ";
  176.         }
  177.         $_parent $context['_parent'];
  178.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
  179.         $context array_intersect_key($context$_parent) + $_parent;
  180.         // line 105
  181.         echo "      </ul>
  182.       <div class=\"lang-select hidden lg:flex border-l border-gray group\">
  183.         <div class=\"lang-select__current\">
  184.           <span>";
  185.         // line 109
  186.         echo twig_escape_filter($this->envtwig_capitalize_string_filter($this->env, ($context["lang"] ?? null)), "html"nulltrue);
  187.         echo "</span>
  188.           <svg class=\"w-4 h-4 ml-2 group-hover:rotate-180 duration-300\">
  189.             <use xlink:href=\"#slide-down-arrow\"></use>
  190.           </svg>
  191.         </div>
  192.         <ul class=\"lang-select__list absolute top-full w-full flex flex-col border-t border-gray opacity-0 pointer-events-none
  193.          group-hover:opacity-100 group-hover:pointer-events-auto
  194.          group-focus-within:opacity-100 group-focus-within:pointer-events-auto group-focus-within:translate-y-0
  195.          duration-100\">
  196.         ";
  197.         // line 120
  198.         $context['_parent'] = $context;
  199.         $context['_seq'] = twig_ensure_traversable(($context["localizations"] ?? null));
  200.         foreach ($context['_seq'] as $context["_key"] => $context["localization"]) {
  201.             // line 121
  202.             echo "\t\t\t\t\t";
  203.             if ((twig_get_attribute($this->env$this->source$context["localization"], "locale", [], "any"falsefalsefalse121) != ($context["lang"] ?? null))) {
  204.                 // line 122
  205.                 echo "          <li>
  206.             <a class=\"flex items-center justify-center w-full h-14 px-2.5 py-1 outline-none\" href=\"";
  207.                 // line 123
  208.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["localization"], "url", [], "any"falsefalsefalse123), "html"nulltrue);
  209.                 echo "\">";
  210.                 echo twig_escape_filter($this->envtwig_capitalize_string_filter($this->envtwig_get_attribute($this->env$this->source$context["localization"], "locale", [], "any"falsefalsefalse123)), "html"nulltrue);
  211.                 echo "</a>
  212.           </li>
  213.           ";
  214.             }
  215.             // line 126
  216.             echo "\t\t\t\t";
  217.         }
  218.         $_parent $context['_parent'];
  219.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['localization'], $context['_parent'], $context['loop']);
  220.         $context array_intersect_key($context$_parent) + $_parent;
  221.         // line 127
  222.         echo "
  223.         </ul>
  224.       </div>
  225.       <button class=\"header-hamburger w-[100px] flex lg:hidden items-center justify-center relative\"
  226.         aria-label=\"Menu\">
  227.         <div class=\"flex items-center relative w-6 h-6\">
  228.           <span class=\"top-2\"></span>
  229.           <span class=\"top-4\"></span>
  230.         </div>
  231.       </button>
  232.     </div>
  233.   </div>
  234.   
  235.   ";
  236.         // line 144
  237.         $context["contactInformations"] = $this->extensions['Sulu\Bundle\SnippetBundle\Twig\SnippetAreaTwigExtension']->loadByArea("ContactInformations_area"nulltwig_get_attribute($this->env$this->source, ($context["app"] ?? null), "ContactInformations", [], "any"falsefalsefalse144));
  238.         // line 145
  239.         echo "  ";
  240.         // line 146
  241.         echo "  <div
  242.     class=\"menu fixed top-0 left-0 right-0 min-h-screen h-screen overflow-x-hidden overflow-y-auto lg:overflow-hidden pointer-events-none bg-blue text-white\"
  243.     style=\"clip-path: polygon(0% 0%, 100% 0%, 100% 0%, 0% 0%);\">
  244.     <div class=\"grid grid-cols-[auto_1fr] md:grid-cols-2 lg:grid-cols-3 h-auto lg:h-full pb-20 lg:pb-0\">
  245.       ";
  246.         // line 152
  247.         echo "      <svg
  248.         class=\"absolute lg:min-h-[600px] h-full lg:h-[120%] left-0 lg:left-1/3 top-1/2 lg:-translate-x-1/2 -translate-y-1/2 aspect-square text-white/5 pointer-events-none\">
  249.         <use xlink:href=\"#circle\"></use>
  250.       </svg>
  251.       ";
  252.         // line 158
  253.         echo "      <div
  254.         class=\"order-1 lg:order-none col-span-2 lg:col-span-1 flex flex-col justify-end h-full lg:pt-56 border-r border-white/5\">
  255.         ";
  256.         // line 161
  257.         echo "        <div class=\"flex flex-col gap-8 px-8 xl:px-12 pb-8 lg:pb-14\">
  258.           <div class=\"menu-left-fade\"
  259.             fade
  260.             fade-trigger=\"none\">
  261.             <p class=\"uppercase text-[10px] font-extrabold\">";
  262.         // line 166
  263.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["contactInformations"] ?? null), "content", [], "any"falsefalsefalse166), "contactsAdressTitle", [], "any"falsefalsefalse166), "html"nulltrue);
  264.         echo "</p>
  265.             <address class=\"text-sm not-italic\">
  266.               <p class=\"font-extrabold\">";
  267.         // line 169
  268.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["contactInformations"] ?? null), "content", [], "any"falsefalsefalse169), "contactsCompanyName", [], "any"falsefalsefalse169), "html"nulltrue);
  269.         echo "</p>
  270.               <p class=\"mt-1\">
  271.                 <span>";
  272.         // line 171
  273.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["contactInformations"] ?? null), "content", [], "any"falsefalsefalse171), "contactsCompanyAdress", [], "any"falsefalsefalse171), "html"nulltrue);
  274.         echo "</span>
  275.               </p>
  276.             </address>
  277.           </div>
  278.           <div class=\"menu-left-fade\"
  279.             fade
  280.             fade-trigger=\"none\">
  281.             <p class=\"uppercase text-[10px] font-extrabold\">";
  282.         // line 179
  283.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["contactInformations"] ?? null), "content", [], "any"falsefalsefalse179), "contactsPhoneText", [], "any"falsefalsefalse179), "html"nulltrue);
  284.         echo "</p>
  285.             <p class=\"mt-1\">
  286.               <a class=\"\"
  287.                 href=\"tel:";
  288.         // line 182
  289.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["contactInformations"] ?? null), "content", [], "any"falsefalsefalse182), "contactsPhone", [], "any"falsefalsefalse182), "html"nulltrue);
  290.         echo "\">";
  291.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["contactInformations"] ?? null), "content", [], "any"falsefalsefalse182), "contactsPhone", [], "any"falsefalsefalse182), "html"nulltrue);
  292.         echo "</a>
  293.             </p>
  294.           </div>
  295.           <div class=\"menu-left-fade\"
  296.             fade
  297.             fade-trigger=\"none\">
  298.             <p class=\"uppercase text-[10px] font-extrabold\">";
  299.         // line 189
  300.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["contactInformations"] ?? null), "content", [], "any"falsefalsefalse189), "contactsEmailText", [], "any"falsefalsefalse189), "html"nulltrue);
  301.         echo "</p>
  302.             <p class=\"mt-1\">
  303.               ";
  304.         // line 191
  305.         $this->loadTemplate("partials/layout/contact_email.html.twig""./partials/layout/header.html.twig"191)->display(twig_array_merge($context, ["email" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["contactInformations"] ?? null), "content", [], "any"falsefalsefalse191), "contactsEmail", [], "any"falsefalsefalse191)]));
  306.         // line 192
  307.         echo "            </p>
  308.           </div>
  309.         </div>
  310.         ";
  311.         // line 197
  312.         echo "        <div
  313.           class=\"menu-socials grid grid-cols-4 lg:pb-0 mx-8 lg:mx-0 border-x lg:border-x-0 border-y border-white/5 divide-x divide-white/5\"
  314.           fade
  315.           fade-trigger=\"none\">
  316.           ";
  317.         // line 201
  318.         $context['_parent'] = $context;
  319.         $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["contactInformations"] ?? null), "content", [], "any"falsefalsefalse201), "socials", [], "any"falsefalsefalse201));
  320.         foreach ($context['_seq'] as $context["_key"] => $context["social"]) {
  321.             // line 202
  322.             echo "          <div class=\"h-16 md:h-24 xl:h-[120px] hover:bg-white/25 duration-500 ease-basic-ease group\">
  323.             <a href=\"";
  324.             // line 203
  325.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["social"], "socialUrl", [], "any"falsefalsefalse203), "html"nulltrue);
  326.             echo "\"
  327.               class=\"flex items-center justify-center w-full h-full text-[0px]\"
  328.               target=\"blank\">
  329.               ";
  330.             // line 206
  331.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["social"], "socialName", [], "any"falsefalsefalse206), "html"nulltrue);
  332.             echo "
  333.               <svg class=\"block w-4 h-4 group-hover:scale-125 duration-500 ease-basic-ease\">
  334.                 <use xlink:href=\"#";
  335.             // line 208
  336.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["social"], "socialName", [], "any"falsefalsefalse208), "html"nulltrue);
  337.             echo "\"></use>
  338.               </svg>
  339.             </a>
  340.           </div>
  341.           ";
  342.         }
  343.         $_parent $context['_parent'];
  344.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['social'], $context['_parent'], $context['loop']);
  345.         $context array_intersect_key($context$_parent) + $_parent;
  346.         // line 213
  347.         echo "
  348.         </div>
  349.       </div>
  350.       ";
  351.         // line 218
  352.         echo "      <div class=\"h-full pt-40 px-8 lg:px-12 pb-16 overflow-auto\">
  353.         <nav class=\"h-full w-full flex items-end\">
  354.           <ul class=\"flex flex-col gap-4\">
  355.             ";
  356.         // line 221
  357.         $context['_parent'] = $context;
  358.         $context['_seq'] = twig_ensure_traversable($this->env->getFunction('sulu_navigation_root_tree')->getCallable()("burger"4));
  359.         foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
  360.             // line 222
  361.             echo "            <li class=\"center-menu-item\"
  362.               fade
  363.               fade-trigger=\"none\">
  364.               <a class=\"menu-clip-item text-[2.5rem] sm:text-5xl lg:text-[5vh] leading-none\"
  365.                 href=\"";
  366.             // line 226
  367.             echo twig_escape_filter($this->env$this->extensions['Sulu\Bundle\WebsiteBundle\Twig\Content\ContentPathTwigExtension']->getContentPath(twig_get_attribute($this->env$this->source$context["item"], "url", [], "any"falsefalsefalse226)), "html"nulltrue);
  368.             echo "\">
  369.                 <span>";
  370.             // line 227
  371.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["item"], "title", [], "any"falsefalsefalse227), "html"nulltrue);
  372.             echo "</span>
  373.                 <span>";
  374.             // line 228
  375.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["item"], "title", [], "any"falsefalsefalse228), "html"nulltrue);
  376.             echo "</span>
  377.               </a>
  378.             </li>
  379.             ";
  380.         }
  381.         $_parent $context['_parent'];
  382.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
  383.         $context array_intersect_key($context$_parent) + $_parent;
  384.         // line 232
  385.         echo "          </ul>
  386.         </nav>
  387.       </div>
  388.       ";
  389.         // line 237
  390.         echo "      <div class=\"relative w-full h-full overflow-hidden\">
  391.       ";
  392.         // line 238
  393.         if ((twig_length_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["contactInformations"] ?? null), "content", [], "any"falsefalsefalse238), "menuBurgerImage", [], "any"falsefalsefalse238)) > 0)) {
  394.             // line 239
  395.             echo "        <img class=\"menu-img hidden lg:block w-full h-full object-cover scale-[1.4]\"
  396.           src=\"";
  397.             // line 240
  398.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["contactInformations"] ?? null), "content", [], "any"falsefalsefalse240), "menuBurgerImage", [], "any"falsefalsefalse240), "url", [], "any"falsefalsefalse240), "html"nulltrue);
  399.             echo "\"
  400.           alt=\"Oaks Lane Menu\"
  401.           loading=\"lazy\">
  402.       ";
  403.         }
  404.         // line 244
  405.         echo "        <div class=\"hidden lg:block absolute inset-0 bg-blue/30\"></div>
  406.         ";
  407.         // line 247
  408.         echo "        <div
  409.           class=\"menu-translate-text-wrapp absolute bottom-8 left-0 right-1 lg:right-8 origin-bottom-right leading-[0.8] pointer-events-none\"
  410.           style=\"transform: rotate(-90deg) translateX(100%)\">
  411.           <div
  412.             class=\"menu-translate-text text-[90px] md:text-[120px] 2xl:text-[155px] stroke-text whitespace-nowrap uppercase tracking-[0.13em]\">
  413.             ";
  414.         // line 252
  415.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["contactInformations"] ?? null), "content", [], "any"falsefalsefalse252), "contactsCompanyName", [], "any"falsefalsefalse252), "html"nulltrue);
  416.         echo "</div>
  417.         </div>
  418.       </div>
  419.     </div>
  420.   </div>
  421. </header>";
  422.         
  423.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  424.         
  425.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  426.     }
  427.     public function getTemplateName()
  428.     {
  429.         return "./partials/layout/header.html.twig";
  430.     }
  431.     public function isTraitable()
  432.     {
  433.         return false;
  434.     }
  435.     public function getDebugInfo()
  436.     {
  437.         return array (  448 => 252,  441 => 247,  437 => 244,  430 => 240,  427 => 239,  425 => 238,  422 => 237,  416 => 232,  406 => 228,  402 => 227,  398 => 226,  392 => 222,  388 => 221,  383 => 218,  377 => 213,  366 => 208,  361 => 206,  355 => 203,  352 => 202,  348 => 201,  342 => 197,  336 => 192,  334 => 191,  329 => 189,  317 => 182,  311 => 179,  300 => 171,  295 => 169,  289 => 166,  282 => 161,  278 => 158,  271 => 152,  264 => 146,  262 => 145,  260 => 144,  241 => 127,  235 => 126,  227 => 123,  224 => 122,  221 => 121,  217 => 120,  203 => 109,  197 => 105,  186 => 102,  183 => 101,  179 => 100,  170 => 93,  164 => 91,  162 => 90,  159 => 89,  153 => 87,  151 => 86,  145 => 83,  138 => 78,  127 => 75,  124 => 74,  120 => 73,  112 => 67,  106 => 66,  98 => 63,  95 => 62,  92 => 61,  88 => 60,  74 => 49,  58 => 36,  55 => 35,  53 => 34,  50 => 33,  48 => 3,  46 => 2,  43 => 1,);
  438.     }
  439.     public function getSourceContext()
  440.     {
  441.         return new Source("
  442. {% set logos = sulu_snippet_load_by_area('logos_area',null) %}
  443. {% set menu = [
  444. {
  445. 'title': 'agency',
  446. 'href': '/agency'
  447. }, {
  448. 'title': 'projects',
  449. 'href': '/projects'
  450. }, {
  451. 'title': 'services',
  452. 'href': '/services'
  453. }, {
  454. 'title': 'offers',
  455. 'href': '/offers'
  456. }, {
  457. 'title': 'partners',
  458. 'href': '/partners'
  459. }, {
  460. 'title': 'estimate',
  461. 'href': '/estimate'
  462. }, {
  463. 'title': 'investors',
  464. 'href': '/investors'
  465. }, {
  466. 'title': 'news',
  467. 'href': '/news'
  468. }, {
  469. 'title': 'team',
  470. 'href': '/team'
  471. }
  472. ] %}
  473. {% set lang = app.request.locale %}
  474. <header class=\"header {{ headerColor }}\">
  475.   <div class=\"header-container custom-grid-3 h-full border-b border-gray z-20 relative\">
  476.     <div class=\"relative flex border-r border-gray\">
  477.       <button class=\"header-hamburger hidden lg:flex z-10 border-r border-gray\"
  478.         aria-label=\"Menu\">
  479.         <div class=\"flex items-center relative w-6 h-6\">
  480.           <span class=\"top-2\"></span>
  481.           <span class=\"top-4\"></span>
  482.         </div>
  483.       </button>
  484.       <div class=\"lang-select flex lg:hidden border-l border-gray group\">
  485.         <div class=\"lang-select__current\">
  486.           <span>{{ lang|capitalize }}</span>
  487.           <svg class=\"w-4 h-4 ml-2 group-hover:rotate-180 duration-300\">
  488.             <use xlink:href=\"#slide-down-arrow\"></use>
  489.           </svg>
  490.         </div>
  491.         <ul class=\"lang-select__list absolute top-full w-full flex flex-col border-t border-gray opacity-0 pointer-events-none
  492.          group-hover:opacity-100 group-hover:pointer-events-auto
  493.          group-focus-within:opacity-100 group-focus-within:pointer-events-auto group-focus-within:translate-y-0
  494.          duration-100\">
  495.         {% for localization in localizations %}
  496. \t\t\t\t\t{% if localization.locale != lang %}
  497.           <li>
  498.             <a class=\"flex items-center justify-center w-full h-14 px-2.5 py-1 outline-none\" href=\"{{ localization.url }}\">{{ localization.locale|capitalize }}</a>
  499.           </li>
  500.           {% endif %}
  501. \t\t\t\t{% endfor %}
  502.         </ul>
  503.       </div>
  504.       
  505.       
  506.       <ul class=\"header-left-menu hidden lg:grid grid-cols-3 w-full items-center divide-x divide-gray\">
  507.         {% for item in sulu_navigation_root_tree('topLeft', 4) %}
  508.         <li class=\"header-menu-item\">
  509.           <a href=\"{{ sulu_content_path(item.url) }}\">{{ item.title }}</a>
  510.         </li>
  511.         {% endfor %}
  512.       </ul>
  513.     </div>
  514.     <div class=\"header-logo z-10 relative w-full flex items-center justify-center\">
  515.       <a class=\"relative flex items-center h-full\"
  516.         href=\"{{ sulu_content_root_path() }}\">
  517.         <span class=\"text-[0px]\">Home page</span>
  518.         {% if logos.content.image_dark.url is defined %}
  519.           <img class=\"header-logo__blue w-36 xs:w-44 lg:w-[clamp(15rem,16vw,17rem)] duration-500 opacity-0\" src=\"{{ logos.content.image_dark.url }}\" alt=\"\">
  520.         {% endif %}
  521.         
  522.         {% if logos.content.image_white.url is defined %}
  523.           <img class=\"header-logo__white w-36 xs:w-44 lg:w-[clamp(15rem,16vw,17rem)] duration-500 absolute\" src=\"{{ logos.content.image_white.url }}\" alt=\"\">
  524.         {% endif %}
  525.         
  526.       </a>
  527.     </div>
  528.     <div class=\"relative flex justify-end border-l border-gray\">
  529.       <ul class=\"header-right-menu hidden lg:grid grid-cols-3 w-full items-center divide-x divide-gray\">
  530.         {% for item in sulu_navigation_root_tree('topRight', 4) %}
  531.         <li class=\"header-menu-item\">
  532.           <a href=\"{{ sulu_content_path(item.url) }}\">{{item.title}}</a>
  533.         </li>
  534.         {% endfor %}
  535.       </ul>
  536.       <div class=\"lang-select hidden lg:flex border-l border-gray group\">
  537.         <div class=\"lang-select__current\">
  538.           <span>{{ lang|capitalize }}</span>
  539.           <svg class=\"w-4 h-4 ml-2 group-hover:rotate-180 duration-300\">
  540.             <use xlink:href=\"#slide-down-arrow\"></use>
  541.           </svg>
  542.         </div>
  543.         <ul class=\"lang-select__list absolute top-full w-full flex flex-col border-t border-gray opacity-0 pointer-events-none
  544.          group-hover:opacity-100 group-hover:pointer-events-auto
  545.          group-focus-within:opacity-100 group-focus-within:pointer-events-auto group-focus-within:translate-y-0
  546.          duration-100\">
  547.         {% for localization in localizations %}
  548. \t\t\t\t\t{% if localization.locale != lang %}
  549.           <li>
  550.             <a class=\"flex items-center justify-center w-full h-14 px-2.5 py-1 outline-none\" href=\"{{ localization.url }}\">{{ localization.locale|capitalize }}</a>
  551.           </li>
  552.           {% endif %}
  553. \t\t\t\t{% endfor %}
  554.         </ul>
  555.       </div>
  556.       <button class=\"header-hamburger w-[100px] flex lg:hidden items-center justify-center relative\"
  557.         aria-label=\"Menu\">
  558.         <div class=\"flex items-center relative w-6 h-6\">
  559.           <span class=\"top-2\"></span>
  560.           <span class=\"top-4\"></span>
  561.         </div>
  562.       </button>
  563.     </div>
  564.   </div>
  565.   
  566.   {% set contactInformations = sulu_snippet_load_by_area('ContactInformations_area',null, app.ContactInformations) %}
  567.   {# ----- MENU ----- #}
  568.   <div
  569.     class=\"menu fixed top-0 left-0 right-0 min-h-screen h-screen overflow-x-hidden overflow-y-auto lg:overflow-hidden pointer-events-none bg-blue text-white\"
  570.     style=\"clip-path: polygon(0% 0%, 100% 0%, 100% 0%, 0% 0%);\">
  571.     <div class=\"grid grid-cols-[auto_1fr] md:grid-cols-2 lg:grid-cols-3 h-auto lg:h-full pb-20 lg:pb-0\">
  572.       {# Absolute BG Logo #}
  573.       <svg
  574.         class=\"absolute lg:min-h-[600px] h-full lg:h-[120%] left-0 lg:left-1/3 top-1/2 lg:-translate-x-1/2 -translate-y-1/2 aspect-square text-white/5 pointer-events-none\">
  575.         <use xlink:href=\"#circle\"></use>
  576.       </svg>
  577.       {# Left column #}
  578.       <div
  579.         class=\"order-1 lg:order-none col-span-2 lg:col-span-1 flex flex-col justify-end h-full lg:pt-56 border-r border-white/5\">
  580.         {# Text content #}
  581.         <div class=\"flex flex-col gap-8 px-8 xl:px-12 pb-8 lg:pb-14\">
  582.           <div class=\"menu-left-fade\"
  583.             fade
  584.             fade-trigger=\"none\">
  585.             <p class=\"uppercase text-[10px] font-extrabold\">{{contactInformations.content.contactsAdressTitle}}</p>
  586.             <address class=\"text-sm not-italic\">
  587.               <p class=\"font-extrabold\">{{contactInformations.content.contactsCompanyName}}</p>
  588.               <p class=\"mt-1\">
  589.                 <span>{{contactInformations.content.contactsCompanyAdress}}</span>
  590.               </p>
  591.             </address>
  592.           </div>
  593.           <div class=\"menu-left-fade\"
  594.             fade
  595.             fade-trigger=\"none\">
  596.             <p class=\"uppercase text-[10px] font-extrabold\">{{contactInformations.content.contactsPhoneText}}</p>
  597.             <p class=\"mt-1\">
  598.               <a class=\"\"
  599.                 href=\"tel:{{contactInformations.content.contactsPhone}}\">{{contactInformations.content.contactsPhone}}</a>
  600.             </p>
  601.           </div>
  602.           <div class=\"menu-left-fade\"
  603.             fade
  604.             fade-trigger=\"none\">
  605.             <p class=\"uppercase text-[10px] font-extrabold\">{{contactInformations.content.contactsEmailText}}</p>
  606.             <p class=\"mt-1\">
  607.               {% include 'partials/layout/contact_email.html.twig' with { email: contactInformations.content.contactsEmail } %}
  608.             </p>
  609.           </div>
  610.         </div>
  611.         {# Socials #}
  612.         <div
  613.           class=\"menu-socials grid grid-cols-4 lg:pb-0 mx-8 lg:mx-0 border-x lg:border-x-0 border-y border-white/5 divide-x divide-white/5\"
  614.           fade
  615.           fade-trigger=\"none\">
  616.           {% for social in contactInformations.content.socials %}
  617.           <div class=\"h-16 md:h-24 xl:h-[120px] hover:bg-white/25 duration-500 ease-basic-ease group\">
  618.             <a href=\"{{social.socialUrl}}\"
  619.               class=\"flex items-center justify-center w-full h-full text-[0px]\"
  620.               target=\"blank\">
  621.               {{social.socialName}}
  622.               <svg class=\"block w-4 h-4 group-hover:scale-125 duration-500 ease-basic-ease\">
  623.                 <use xlink:href=\"#{{social.socialName}}\"></use>
  624.               </svg>
  625.             </a>
  626.           </div>
  627.           {% endfor %}
  628.         </div>
  629.       </div>
  630.       {# Center cloumn #}
  631.       <div class=\"h-full pt-40 px-8 lg:px-12 pb-16 overflow-auto\">
  632.         <nav class=\"h-full w-full flex items-end\">
  633.           <ul class=\"flex flex-col gap-4\">
  634.             {% for item in sulu_navigation_root_tree('burger', 4) %}
  635.             <li class=\"center-menu-item\"
  636.               fade
  637.               fade-trigger=\"none\">
  638.               <a class=\"menu-clip-item text-[2.5rem] sm:text-5xl lg:text-[5vh] leading-none\"
  639.                 href=\"{{ sulu_content_path(item.url) }}\">
  640.                 <span>{{item.title}}</span>
  641.                 <span>{{item.title}}</span>
  642.               </a>
  643.             </li>
  644.             {% endfor %}
  645.           </ul>
  646.         </nav>
  647.       </div>
  648.       {# Right column #}
  649.       <div class=\"relative w-full h-full overflow-hidden\">
  650.       {% if contactInformations.content.menuBurgerImage|length > 0 %}
  651.         <img class=\"menu-img hidden lg:block w-full h-full object-cover scale-[1.4]\"
  652.           src=\"{{contactInformations.content.menuBurgerImage.url}}\"
  653.           alt=\"Oaks Lane Menu\"
  654.           loading=\"lazy\">
  655.       {% endif %}
  656.         <div class=\"hidden lg:block absolute inset-0 bg-blue/30\"></div>
  657.         {# Rotate text line #}
  658.         <div
  659.           class=\"menu-translate-text-wrapp absolute bottom-8 left-0 right-1 lg:right-8 origin-bottom-right leading-[0.8] pointer-events-none\"
  660.           style=\"transform: rotate(-90deg) translateX(100%)\">
  661.           <div
  662.             class=\"menu-translate-text text-[90px] md:text-[120px] 2xl:text-[155px] stroke-text whitespace-nowrap uppercase tracking-[0.13em]\">
  663.             {{contactInformations.content.contactsCompanyName}}</div>
  664.         </div>
  665.       </div>
  666.     </div>
  667.   </div>
  668. </header>""./partials/layout/header.html.twig""/home/clients/27e4eb6afe64c67f100a17cbd6809e7c/var/www/oakas-lane/templates/partials/layout/header.html.twig");
  669.     }
  670. }