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 "
  182.       </ul>
  183.       <div class=\"lang-select hidden lg:flex border-l border-gray group\">
  184.         <div class=\"lang-select__current\">
  185.           <span>";
  186.         // line 110
  187.         echo twig_escape_filter($this->envtwig_capitalize_string_filter($this->env, ($context["lang"] ?? null)), "html"nulltrue);
  188.         echo "</span>
  189.           <svg class=\"w-4 h-4 ml-2 group-hover:rotate-180 duration-300\">
  190.             <use xlink:href=\"#slide-down-arrow\"></use>
  191.           </svg>
  192.         </div>
  193.         <ul class=\"lang-select__list absolute top-full w-full flex flex-col border-t border-gray opacity-0 pointer-events-none
  194.          group-hover:opacity-100 group-hover:pointer-events-auto
  195.          group-focus-within:opacity-100 group-focus-within:pointer-events-auto group-focus-within:translate-y-0
  196.          duration-100\">
  197.         ";
  198.         // line 121
  199.         $context['_parent'] = $context;
  200.         $context['_seq'] = twig_ensure_traversable(($context["localizations"] ?? null));
  201.         foreach ($context['_seq'] as $context["_key"] => $context["localization"]) {
  202.             // line 122
  203.             echo "\t\t\t\t\t";
  204.             if ((twig_get_attribute($this->env$this->source$context["localization"], "locale", [], "any"falsefalsefalse122) != ($context["lang"] ?? null))) {
  205.                 // line 123
  206.                 echo "          <li>
  207.             <a class=\"flex items-center justify-center w-full h-14 px-2.5 py-1 outline-none\" href=\"";
  208.                 // line 124
  209.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["localization"], "url", [], "any"falsefalsefalse124), "html"nulltrue);
  210.                 echo "\">";
  211.                 echo twig_escape_filter($this->envtwig_capitalize_string_filter($this->envtwig_get_attribute($this->env$this->source$context["localization"], "locale", [], "any"falsefalsefalse124)), "html"nulltrue);
  212.                 echo "</a>
  213.           </li>
  214.           ";
  215.             }
  216.             // line 127
  217.             echo "\t\t\t\t";
  218.         }
  219.         $_parent $context['_parent'];
  220.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['localization'], $context['_parent'], $context['loop']);
  221.         $context array_intersect_key($context$_parent) + $_parent;
  222.         // line 128
  223.         echo "
  224.         </ul>
  225.       </div>
  226.       <button class=\"header-hamburger w-[100px] flex lg:hidden items-center justify-center relative\"
  227.         aria-label=\"Menu\">
  228.         <div class=\"flex items-center relative w-6 h-6\">
  229.           <span class=\"top-2\"></span>
  230.           <span class=\"top-4\"></span>
  231.         </div>
  232.       </button>
  233.     </div>
  234.   </div>
  235.   
  236.   ";
  237.         // line 145
  238.         $context["contactInformations"] = $this->extensions['Sulu\Bundle\SnippetBundle\Twig\SnippetAreaTwigExtension']->loadByArea("ContactInformations_area"nulltwig_get_attribute($this->env$this->source, ($context["app"] ?? null), "ContactInformations", [], "any"falsefalsefalse145));
  239.         // line 146
  240.         echo "  ";
  241.         // line 147
  242.         echo "  <div
  243.     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\"
  244.     style=\"clip-path: polygon(0% 0%, 100% 0%, 100% 0%, 0% 0%);\">
  245.     <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\">
  246.       ";
  247.         // line 153
  248.         echo "      <svg
  249.         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\">
  250.         <use xlink:href=\"#circle\"></use>
  251.       </svg>
  252.       ";
  253.         // line 159
  254.         echo "      <div
  255.         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\">
  256.         ";
  257.         // line 162
  258.         echo "        <div class=\"flex flex-col gap-8 px-8 xl:px-12 pb-8 lg:pb-14\">
  259.           <div class=\"menu-left-fade\"
  260.             fade
  261.             fade-trigger=\"none\">
  262.             <p class=\"uppercase text-[10px] font-extrabold\">";
  263.         // line 167
  264.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["contactInformations"] ?? null), "content", [], "any"falsefalsefalse167), "contactsAdressTitle", [], "any"falsefalsefalse167), "html"nulltrue);
  265.         echo "</p>
  266.             <address class=\"text-sm not-italic\">
  267.               <p class=\"font-extrabold\">";
  268.         // line 170
  269.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["contactInformations"] ?? null), "content", [], "any"falsefalsefalse170), "contactsCompanyName", [], "any"falsefalsefalse170), "html"nulltrue);
  270.         echo "</p>
  271.               <p class=\"mt-1\">
  272.                 <span>";
  273.         // line 172
  274.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["contactInformations"] ?? null), "content", [], "any"falsefalsefalse172), "contactsCompanyAdress", [], "any"falsefalsefalse172), "html"nulltrue);
  275.         echo "</span>
  276.               </p>
  277.             </address>
  278.           </div>
  279.           <div class=\"menu-left-fade\"
  280.             fade
  281.             fade-trigger=\"none\">
  282.             <p class=\"uppercase text-[10px] font-extrabold\">";
  283.         // line 180
  284.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["contactInformations"] ?? null), "content", [], "any"falsefalsefalse180), "contactsPhoneText", [], "any"falsefalsefalse180), "html"nulltrue);
  285.         echo "</p>
  286.             <p class=\"mt-1\">
  287.               <a class=\"\"
  288.                 href=\"tel:";
  289.         // line 183
  290.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["contactInformations"] ?? null), "content", [], "any"falsefalsefalse183), "contactsPhone", [], "any"falsefalsefalse183), "html"nulltrue);
  291.         echo "\">";
  292.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["contactInformations"] ?? null), "content", [], "any"falsefalsefalse183), "contactsPhone", [], "any"falsefalsefalse183), "html"nulltrue);
  293.         echo "</a>
  294.             </p>
  295.           </div>
  296.           <div class=\"menu-left-fade\"
  297.             fade
  298.             fade-trigger=\"none\">
  299.             <p class=\"uppercase text-[10px] font-extrabold\">";
  300.         // line 190
  301.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["contactInformations"] ?? null), "content", [], "any"falsefalsefalse190), "contactsEmailText", [], "any"falsefalsefalse190), "html"nulltrue);
  302.         echo "</p>
  303.             <p class=\"mt-1\">
  304.               ";
  305.         // line 192
  306.         $this->loadTemplate("partials/layout/contact_email.html.twig""./partials/layout/header.html.twig"192)->display(twig_array_merge($context, ["email" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["contactInformations"] ?? null), "content", [], "any"falsefalsefalse192), "contactsEmail", [], "any"falsefalsefalse192)]));
  307.         // line 193
  308.         echo "            </p>
  309.           </div>
  310.         </div>
  311.         ";
  312.         // line 198
  313.         echo "        <div
  314.           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\"
  315.           fade
  316.           fade-trigger=\"none\">
  317.           ";
  318.         // line 202
  319.         $context['_parent'] = $context;
  320.         $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["contactInformations"] ?? null), "content", [], "any"falsefalsefalse202), "socials", [], "any"falsefalsefalse202));
  321.         foreach ($context['_seq'] as $context["_key"] => $context["social"]) {
  322.             // line 203
  323.             echo "          <div class=\"h-16 md:h-24 xl:h-[120px] hover:bg-white/25 duration-500 ease-basic-ease group\">
  324.             <a href=\"";
  325.             // line 204
  326.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["social"], "socialUrl", [], "any"falsefalsefalse204), "html"nulltrue);
  327.             echo "\"
  328.               class=\"flex items-center justify-center w-full h-full text-[0px]\"
  329.               target=\"blank\">
  330.               ";
  331.             // line 207
  332.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["social"], "socialName", [], "any"falsefalsefalse207), "html"nulltrue);
  333.             echo "
  334.               <svg class=\"block w-4 h-4 group-hover:scale-125 duration-500 ease-basic-ease\">
  335.                 <use xlink:href=\"#";
  336.             // line 209
  337.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["social"], "socialName", [], "any"falsefalsefalse209), "html"nulltrue);
  338.             echo "\"></use>
  339.               </svg>
  340.             </a>
  341.           </div>
  342.           ";
  343.         }
  344.         $_parent $context['_parent'];
  345.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['social'], $context['_parent'], $context['loop']);
  346.         $context array_intersect_key($context$_parent) + $_parent;
  347.         // line 214
  348.         echo "
  349.         </div>
  350.       </div>
  351.       ";
  352.         // line 219
  353.         echo "      <div class=\"h-full pt-40 px-8 lg:px-12 pb-16 overflow-auto\">
  354.         <nav class=\"h-full w-full flex items-end\">
  355.           <ul class=\"flex flex-col gap-4\">
  356.             ";
  357.         // line 222
  358.         $context['_parent'] = $context;
  359.         $context['_seq'] = twig_ensure_traversable($this->env->getFunction('sulu_navigation_root_tree')->getCallable()("burger"4));
  360.         $context['loop'] = [
  361.           'parent' => $context['_parent'],
  362.           'index0' => 0,
  363.           'index'  => 1,
  364.           'first'  => true,
  365.         ];
  366.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  367.             $length count($context['_seq']);
  368.             $context['loop']['revindex0'] = $length 1;
  369.             $context['loop']['revindex'] = $length;
  370.             $context['loop']['length'] = $length;
  371.             $context['loop']['last'] = === $length;
  372.         }
  373.         foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
  374.             // line 223
  375.             echo "            <li class=\"center-menu-item\"
  376.               fade
  377.               fade-trigger=\"none\">
  378.               <a class=\"menu-clip-item text-[2.5rem] sm:text-5xl lg:text-[5vh] leading-none\"
  379.                 href=\"";
  380.             // line 227
  381.             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"falsefalsefalse227)), "html"nulltrue);
  382.             echo "\">
  383.                 <span>";
  384.             // line 228
  385.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["item"], "title", [], "any"falsefalsefalse228), "html"nulltrue);
  386.             echo "</span>
  387.                 <span>";
  388.             // line 229
  389.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["item"], "title", [], "any"falsefalsefalse229), "html"nulltrue);
  390.             echo "</span>
  391.               </a>
  392.             </li>
  393.             ";
  394.             // line 232
  395.             if ((twig_get_attribute($this->env$this->source$context["loop"], "index", [], "any"falsefalsefalse232) == 5)) {
  396.                 // line 233
  397.                 echo "            <li class=\"center-menu-item\"
  398.               fade
  399.               fade-trigger=\"none\">
  400.               <a class=\"menu-clip-item text-[2.5rem] sm:text-5xl lg:text-[5vh] leading-none\"
  401.                 href=\"https://live.oaks.ch\"
  402.                 target=\"_blank\">
  403.                 <span>Login</span>
  404.                 <span>Login</span>
  405.               </a>
  406.             </li>
  407.             ";
  408.             }
  409.             // line 244
  410.             echo "            ";
  411.             ++$context['loop']['index0'];
  412.             ++$context['loop']['index'];
  413.             $context['loop']['first'] = false;
  414.             if (isset($context['loop']['length'])) {
  415.                 --$context['loop']['revindex0'];
  416.                 --$context['loop']['revindex'];
  417.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  418.             }
  419.         }
  420.         $_parent $context['_parent'];
  421.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
  422.         $context array_intersect_key($context$_parent) + $_parent;
  423.         // line 245
  424.         echo "          </ul>
  425.         </nav>
  426.       </div>
  427.       ";
  428.         // line 251
  429.         echo "      <div class=\"relative w-full h-full overflow-hidden\">
  430.       ";
  431.         // line 252
  432.         if ((twig_length_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["contactInformations"] ?? null), "content", [], "any"falsefalsefalse252), "menuBurgerImage", [], "any"falsefalsefalse252)) > 0)) {
  433.             // line 253
  434.             echo "        <img class=\"menu-img hidden lg:block w-full h-full object-cover scale-[1.4]\"
  435.           src=\"";
  436.             // line 254
  437.             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"falsefalsefalse254), "menuBurgerImage", [], "any"falsefalsefalse254), "url", [], "any"falsefalsefalse254), "html"nulltrue);
  438.             echo "\"
  439.           alt=\"Oaks Lane Menu\"
  440.           loading=\"lazy\">
  441.       ";
  442.         }
  443.         // line 258
  444.         echo "        <div class=\"hidden lg:block absolute inset-0 bg-blue/30\"></div>
  445.         ";
  446.         // line 261
  447.         echo "        <div
  448.           class=\"menu-translate-text-wrapp absolute bottom-8 left-0 right-1 lg:right-8 origin-bottom-right leading-[0.8] pointer-events-none\"
  449.           style=\"transform: rotate(-90deg) translateX(100%)\">
  450.           <div
  451.             class=\"menu-translate-text text-[90px] md:text-[120px] 2xl:text-[155px] stroke-text whitespace-nowrap uppercase tracking-[0.13em]\">
  452.             ";
  453.         // line 266
  454.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["contactInformations"] ?? null), "content", [], "any"falsefalsefalse266), "contactsCompanyName", [], "any"falsefalsefalse266), "html"nulltrue);
  455.         echo "</div>
  456.         </div>
  457.       </div>
  458.     </div>
  459.   </div>
  460. </header>";
  461.         
  462.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  463.         
  464.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  465.     }
  466.     public function getTemplateName()
  467.     {
  468.         return "./partials/layout/header.html.twig";
  469.     }
  470.     public function isTraitable()
  471.     {
  472.         return false;
  473.     }
  474.     public function getDebugInfo()
  475.     {
  476.         return array (  488 => 266,  481 => 261,  477 => 258,  470 => 254,  467 => 253,  465 => 252,  462 => 251,  455 => 245,  441 => 244,  428 => 233,  426 => 232,  420 => 229,  416 => 228,  412 => 227,  406 => 223,  389 => 222,  384 => 219,  378 => 214,  367 => 209,  362 => 207,  356 => 204,  353 => 203,  349 => 202,  343 => 198,  337 => 193,  335 => 192,  330 => 190,  318 => 183,  312 => 180,  301 => 172,  296 => 170,  290 => 167,  283 => 162,  279 => 159,  272 => 153,  265 => 147,  263 => 146,  261 => 145,  242 => 128,  236 => 127,  228 => 124,  225 => 123,  222 => 122,  218 => 121,  204 => 110,  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,);
  477.     }
  478.     public function getSourceContext()
  479.     {
  480.         return new Source("
  481. {% set logos = sulu_snippet_load_by_area('logos_area',null) %}
  482. {% set menu = [
  483. {
  484. 'title': 'agency',
  485. 'href': '/agency'
  486. }, {
  487. 'title': 'projects',
  488. 'href': '/projects'
  489. }, {
  490. 'title': 'services',
  491. 'href': '/services'
  492. }, {
  493. 'title': 'offers',
  494. 'href': '/offers'
  495. }, {
  496. 'title': 'partners',
  497. 'href': '/partners'
  498. }, {
  499. 'title': 'estimate',
  500. 'href': '/estimate'
  501. }, {
  502. 'title': 'investors',
  503. 'href': '/investors'
  504. }, {
  505. 'title': 'news',
  506. 'href': '/news'
  507. }, {
  508. 'title': 'team',
  509. 'href': '/team'
  510. }
  511. ] %}
  512. {% set lang = app.request.locale %}
  513. <header class=\"header {{ headerColor }}\">
  514.   <div class=\"header-container custom-grid-3 h-full border-b border-gray z-20 relative\">
  515.     <div class=\"relative flex border-r border-gray\">
  516.       <button class=\"header-hamburger hidden lg:flex z-10 border-r border-gray\"
  517.         aria-label=\"Menu\">
  518.         <div class=\"flex items-center relative w-6 h-6\">
  519.           <span class=\"top-2\"></span>
  520.           <span class=\"top-4\"></span>
  521.         </div>
  522.       </button>
  523.       <div class=\"lang-select flex lg:hidden border-l border-gray group\">
  524.         <div class=\"lang-select__current\">
  525.           <span>{{ lang|capitalize }}</span>
  526.           <svg class=\"w-4 h-4 ml-2 group-hover:rotate-180 duration-300\">
  527.             <use xlink:href=\"#slide-down-arrow\"></use>
  528.           </svg>
  529.         </div>
  530.         <ul class=\"lang-select__list absolute top-full w-full flex flex-col border-t border-gray opacity-0 pointer-events-none
  531.          group-hover:opacity-100 group-hover:pointer-events-auto
  532.          group-focus-within:opacity-100 group-focus-within:pointer-events-auto group-focus-within:translate-y-0
  533.          duration-100\">
  534.         {% for localization in localizations %}
  535. \t\t\t\t\t{% if localization.locale != lang %}
  536.           <li>
  537.             <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>
  538.           </li>
  539.           {% endif %}
  540. \t\t\t\t{% endfor %}
  541.         </ul>
  542.       </div>
  543.       
  544.       
  545.       <ul class=\"header-left-menu hidden lg:grid grid-cols-3 w-full items-center divide-x divide-gray\">
  546.         {% for item in sulu_navigation_root_tree('topLeft', 4) %}
  547.         <li class=\"header-menu-item\">
  548.           <a href=\"{{ sulu_content_path(item.url) }}\">{{ item.title }}</a>
  549.         </li>
  550.         {% endfor %}
  551.       </ul>
  552.     </div>
  553.     <div class=\"header-logo z-10 relative w-full flex items-center justify-center\">
  554.       <a class=\"relative flex items-center h-full\"
  555.         href=\"{{ sulu_content_root_path() }}\">
  556.         <span class=\"text-[0px]\">Home page</span>
  557.         {% if logos.content.image_dark.url is defined %}
  558.           <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=\"\">
  559.         {% endif %}
  560.         
  561.         {% if logos.content.image_white.url is defined %}
  562.           <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=\"\">
  563.         {% endif %}
  564.         
  565.       </a>
  566.     </div>
  567.     <div class=\"relative flex justify-end border-l border-gray\">
  568.       <ul class=\"header-right-menu hidden lg:grid grid-cols-3 w-full items-center divide-x divide-gray\">
  569.         {% for item in sulu_navigation_root_tree('topRight', 4) %}
  570.         <li class=\"header-menu-item\">
  571.           <a href=\"{{ sulu_content_path(item.url) }}\">{{item.title}}</a>
  572.         </li>
  573.         {% endfor %}
  574.       </ul>
  575.       <div class=\"lang-select hidden lg:flex border-l border-gray group\">
  576.         <div class=\"lang-select__current\">
  577.           <span>{{ lang|capitalize }}</span>
  578.           <svg class=\"w-4 h-4 ml-2 group-hover:rotate-180 duration-300\">
  579.             <use xlink:href=\"#slide-down-arrow\"></use>
  580.           </svg>
  581.         </div>
  582.         <ul class=\"lang-select__list absolute top-full w-full flex flex-col border-t border-gray opacity-0 pointer-events-none
  583.          group-hover:opacity-100 group-hover:pointer-events-auto
  584.          group-focus-within:opacity-100 group-focus-within:pointer-events-auto group-focus-within:translate-y-0
  585.          duration-100\">
  586.         {% for localization in localizations %}
  587. \t\t\t\t\t{% if localization.locale != lang %}
  588.           <li>
  589.             <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>
  590.           </li>
  591.           {% endif %}
  592. \t\t\t\t{% endfor %}
  593.         </ul>
  594.       </div>
  595.       <button class=\"header-hamburger w-[100px] flex lg:hidden items-center justify-center relative\"
  596.         aria-label=\"Menu\">
  597.         <div class=\"flex items-center relative w-6 h-6\">
  598.           <span class=\"top-2\"></span>
  599.           <span class=\"top-4\"></span>
  600.         </div>
  601.       </button>
  602.     </div>
  603.   </div>
  604.   
  605.   {% set contactInformations = sulu_snippet_load_by_area('ContactInformations_area',null, app.ContactInformations) %}
  606.   {# ----- MENU ----- #}
  607.   <div
  608.     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\"
  609.     style=\"clip-path: polygon(0% 0%, 100% 0%, 100% 0%, 0% 0%);\">
  610.     <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\">
  611.       {# Absolute BG Logo #}
  612.       <svg
  613.         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\">
  614.         <use xlink:href=\"#circle\"></use>
  615.       </svg>
  616.       {# Left column #}
  617.       <div
  618.         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\">
  619.         {# Text content #}
  620.         <div class=\"flex flex-col gap-8 px-8 xl:px-12 pb-8 lg:pb-14\">
  621.           <div class=\"menu-left-fade\"
  622.             fade
  623.             fade-trigger=\"none\">
  624.             <p class=\"uppercase text-[10px] font-extrabold\">{{contactInformations.content.contactsAdressTitle}}</p>
  625.             <address class=\"text-sm not-italic\">
  626.               <p class=\"font-extrabold\">{{contactInformations.content.contactsCompanyName}}</p>
  627.               <p class=\"mt-1\">
  628.                 <span>{{contactInformations.content.contactsCompanyAdress}}</span>
  629.               </p>
  630.             </address>
  631.           </div>
  632.           <div class=\"menu-left-fade\"
  633.             fade
  634.             fade-trigger=\"none\">
  635.             <p class=\"uppercase text-[10px] font-extrabold\">{{contactInformations.content.contactsPhoneText}}</p>
  636.             <p class=\"mt-1\">
  637.               <a class=\"\"
  638.                 href=\"tel:{{contactInformations.content.contactsPhone}}\">{{contactInformations.content.contactsPhone}}</a>
  639.             </p>
  640.           </div>
  641.           <div class=\"menu-left-fade\"
  642.             fade
  643.             fade-trigger=\"none\">
  644.             <p class=\"uppercase text-[10px] font-extrabold\">{{contactInformations.content.contactsEmailText}}</p>
  645.             <p class=\"mt-1\">
  646.               {% include 'partials/layout/contact_email.html.twig' with { email: contactInformations.content.contactsEmail } %}
  647.             </p>
  648.           </div>
  649.         </div>
  650.         {# Socials #}
  651.         <div
  652.           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\"
  653.           fade
  654.           fade-trigger=\"none\">
  655.           {% for social in contactInformations.content.socials %}
  656.           <div class=\"h-16 md:h-24 xl:h-[120px] hover:bg-white/25 duration-500 ease-basic-ease group\">
  657.             <a href=\"{{social.socialUrl}}\"
  658.               class=\"flex items-center justify-center w-full h-full text-[0px]\"
  659.               target=\"blank\">
  660.               {{social.socialName}}
  661.               <svg class=\"block w-4 h-4 group-hover:scale-125 duration-500 ease-basic-ease\">
  662.                 <use xlink:href=\"#{{social.socialName}}\"></use>
  663.               </svg>
  664.             </a>
  665.           </div>
  666.           {% endfor %}
  667.         </div>
  668.       </div>
  669.       {# Center cloumn #}
  670.       <div class=\"h-full pt-40 px-8 lg:px-12 pb-16 overflow-auto\">
  671.         <nav class=\"h-full w-full flex items-end\">
  672.           <ul class=\"flex flex-col gap-4\">
  673.             {% for item in sulu_navigation_root_tree('burger', 4) %}
  674.             <li class=\"center-menu-item\"
  675.               fade
  676.               fade-trigger=\"none\">
  677.               <a class=\"menu-clip-item text-[2.5rem] sm:text-5xl lg:text-[5vh] leading-none\"
  678.                 href=\"{{ sulu_content_path(item.url) }}\">
  679.                 <span>{{item.title}}</span>
  680.                 <span>{{item.title}}</span>
  681.               </a>
  682.             </li>
  683.             {% if loop.index == 5 %}
  684.             <li class=\"center-menu-item\"
  685.               fade
  686.               fade-trigger=\"none\">
  687.               <a class=\"menu-clip-item text-[2.5rem] sm:text-5xl lg:text-[5vh] leading-none\"
  688.                 href=\"https://live.oaks.ch\"
  689.                 target=\"_blank\">
  690.                 <span>Login</span>
  691.                 <span>Login</span>
  692.               </a>
  693.             </li>
  694.             {% endif %}
  695.             {% endfor %}
  696.           </ul>
  697.         </nav>
  698.       </div>
  699.       {# Right column #}
  700.       <div class=\"relative w-full h-full overflow-hidden\">
  701.       {% if contactInformations.content.menuBurgerImage|length > 0 %}
  702.         <img class=\"menu-img hidden lg:block w-full h-full object-cover scale-[1.4]\"
  703.           src=\"{{contactInformations.content.menuBurgerImage.url}}\"
  704.           alt=\"Oaks Lane Menu\"
  705.           loading=\"lazy\">
  706.       {% endif %}
  707.         <div class=\"hidden lg:block absolute inset-0 bg-blue/30\"></div>
  708.         {# Rotate text line #}
  709.         <div
  710.           class=\"menu-translate-text-wrapp absolute bottom-8 left-0 right-1 lg:right-8 origin-bottom-right leading-[0.8] pointer-events-none\"
  711.           style=\"transform: rotate(-90deg) translateX(100%)\">
  712.           <div
  713.             class=\"menu-translate-text text-[90px] md:text-[120px] 2xl:text-[155px] stroke-text whitespace-nowrap uppercase tracking-[0.13em]\">
  714.             {{contactInformations.content.contactsCompanyName}}</div>
  715.         </div>
  716.       </div>
  717.     </div>
  718.   </div>
  719. </header>""./partials/layout/header.html.twig""/home/clients/27e4eb6afe64c67f100a17cbd6809e7c/var/www/oakas-lane/templates/partials/layout/header.html.twig");
  720.     }
  721. }