var/cache/dev/twig/d6/d674ab2fc9d976ca1c17993ea998166a.php line 89

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. /* @theme/common/site-header.html.twig */
  14. class __TwigTemplate_7c0e0b5aa2868a3a0bfbf11421b90540 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""@theme/common/site-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""@theme/common/site-header.html.twig"));
  33.         // line 1
  34.         echo "<header class=\"site-header\" id=\"site-header\">
  35.     <div class=\"container\">
  36.         <nav class=\"site-navbar items-stretch\">
  37.             <a class=\"logo flex-0\" href=\"/\">
  38.                 <img class=\"hidden md:inline-block logo-1\" src=\"";
  39.         // line 5
  40.         echo twig_escape_filter($this->env$this->env->getFunction('imageCache')->getCallable()($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/images/kas-scaffolding-logo.png"), "cropResize"600232), "html"nulltrue);
  41.         echo "\" alt=\"Logo\" width=\"300\" height=\"116\" loading=\"lazy\" />
  42.                 <img class=\"inline-block md:hidden logo-2\" src=\"";
  43.         // line 6
  44.         echo twig_escape_filter($this->env$this->env->getFunction('imageCache')->getCallable()($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/images/kas-logo-square.png"), "cropResize"232232), "html"nulltrue);
  45.         echo "\" alt=\"Logo\" width=\"80\" height=\"80\" loading=\"lazy\" />
  46.             </a>
  47.             <div class=\"lg:text-right flex-1 pl-[70px] flex flex-col justify-center lg:justify-end\">
  48.                 <div class=\"flex justify-end items-center lg:mb-6 header-hide\">
  49.                     <a class=\"text-white font-black text-3xl lg:text-4xl xl:text-lg contact-deets\" title=\"phone\" href=\"tel:";
  50.         // line 11
  51.         echo $this->env->getFunction('renderSetting')->getCallable()(2"content");
  52.         echo "\">
  53.                         <i class=\"fa-solid fa-circle-phone mr-2\"></i><span class=\"hidden xl:inline-block\">";
  54.         // line 12
  55.         echo $this->env->getFunction('renderSetting')->getCallable()(2"content");
  56.         echo "</span>
  57.                     </a>
  58.                      <a class=\"text-white font-black text-3xl lg:text-4xl xl:text-lg ml-4 md:ml-6 lg:ml-10 contact-deets\" title=\"email\" href=\"mailto:";
  59.         // line 14
  60.         echo $this->env->getFunction('renderSetting')->getCallable()(3"content");
  61.         echo "\">
  62.                         <i class=\"fa-solid fa-circle-envelope mr-2\"></i><span class=\"hidden xl:inline-block\">";
  63.         // line 15
  64.         echo $this->env->getFunction('renderSetting')->getCallable()(3"content");
  65.         echo "</span>
  66.                     </a>
  67.                     <div class=\"relative ml-4 md:ml-6 lg:ml-10 search-box\">
  68.                         <form action=\"/search\" method=\"get\">
  69.                             <label class=\"sr-only\" for=\"search\">Site Search</label>
  70.                             <input class=\"search-input mr-4 xl:mr-6 hidden lg:block\" type=\"text\" id=\"search\" name=\"search-terms\">
  71.                             <button type=\"submit\" title=\"search\"><i class=\"fa-regular fa-magnifying-glass text-2xl md:text-3xl lg:text-lg font-bold\"></i></button>
  72.                         </form>
  73.                     </div>
  74.                 </div>
  75.                 <div class=\"site-navbar__list lg:text-right\" id=\"top_menu\">
  76.                     <div class=\"container lg:p-0\">
  77.                         ";
  78.         // line 27
  79.         echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("App\\Controller\\MenuDefaultController::fetchMenu", ["identifier" => "Top""currentUrl" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'27$this->source); })()), "request", [], "any"falsefalsefalse27), "pathinfo", [], "any"falsefalsefalse27)]));
  80.         echo "
  81.                     </div>
  82.                 </div>
  83.             </div>
  84.             <button class=\"site-navbar__toggler ml-6\" type=\"button\" data-toggle=\"collapse\" data-target=\"#top-menu\" aria-controls=\"top-menu\" aria-expanded=\"false\" aria-label=\"Toggle navigation\">
  85.                 <span class=\"site-navbar__toggler--line\"></span>
  86.                 <span class=\"site-navbar__toggler--line\"></span>
  87.                 <span class=\"site-navbar__toggler--line\"></span>
  88.             </button>
  89.         </nav>
  90.     </div>
  91. </header>
  92. ";
  93.         
  94.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  95.         
  96.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  97.     }
  98.     /**
  99.      * @codeCoverageIgnore
  100.      */
  101.     public function getTemplateName()
  102.     {
  103.         return "@theme/common/site-header.html.twig";
  104.     }
  105.     /**
  106.      * @codeCoverageIgnore
  107.      */
  108.     public function isTraitable()
  109.     {
  110.         return false;
  111.     }
  112.     /**
  113.      * @codeCoverageIgnore
  114.      */
  115.     public function getDebugInfo()
  116.     {
  117.         return array (  89 => 27,  74 => 15,  70 => 14,  65 => 12,  61 => 11,  53 => 6,  49 => 5,  43 => 1,);
  118.     }
  119.     public function getSourceContext()
  120.     {
  121.         return new Source("<header class=\"site-header\" id=\"site-header\">
  122.     <div class=\"container\">
  123.         <nav class=\"site-navbar items-stretch\">
  124.             <a class=\"logo flex-0\" href=\"/\">
  125.                 <img class=\"hidden md:inline-block logo-1\" src=\"{{ imageCache(asset('build/images/kas-scaffolding-logo.png'), 'cropResize', 600, 232)  }}\" alt=\"Logo\" width=\"300\" height=\"116\" loading=\"lazy\" />
  126.                 <img class=\"inline-block md:hidden logo-2\" src=\"{{ imageCache(asset('build/images/kas-logo-square.png'), 'cropResize', 232, 232)  }}\" alt=\"Logo\" width=\"80\" height=\"80\" loading=\"lazy\" />
  127.             </a>
  128.             <div class=\"lg:text-right flex-1 pl-[70px] flex flex-col justify-center lg:justify-end\">
  129.                 <div class=\"flex justify-end items-center lg:mb-6 header-hide\">
  130.                     <a class=\"text-white font-black text-3xl lg:text-4xl xl:text-lg contact-deets\" title=\"phone\" href=\"tel:{{ renderSetting(2, 'content') }}\">
  131.                         <i class=\"fa-solid fa-circle-phone mr-2\"></i><span class=\"hidden xl:inline-block\">{{ renderSetting(2, 'content') }}</span>
  132.                     </a>
  133.                      <a class=\"text-white font-black text-3xl lg:text-4xl xl:text-lg ml-4 md:ml-6 lg:ml-10 contact-deets\" title=\"email\" href=\"mailto:{{ renderSetting(3, 'content') }}\">
  134.                         <i class=\"fa-solid fa-circle-envelope mr-2\"></i><span class=\"hidden xl:inline-block\">{{ renderSetting(3, 'content') }}</span>
  135.                     </a>
  136.                     <div class=\"relative ml-4 md:ml-6 lg:ml-10 search-box\">
  137.                         <form action=\"/search\" method=\"get\">
  138.                             <label class=\"sr-only\" for=\"search\">Site Search</label>
  139.                             <input class=\"search-input mr-4 xl:mr-6 hidden lg:block\" type=\"text\" id=\"search\" name=\"search-terms\">
  140.                             <button type=\"submit\" title=\"search\"><i class=\"fa-regular fa-magnifying-glass text-2xl md:text-3xl lg:text-lg font-bold\"></i></button>
  141.                         </form>
  142.                     </div>
  143.                 </div>
  144.                 <div class=\"site-navbar__list lg:text-right\" id=\"top_menu\">
  145.                     <div class=\"container lg:p-0\">
  146.                         {{ render(controller('App\\\\Controller\\\\MenuDefaultController::fetchMenu', { 'identifier':'Top', 'currentUrl': app.request.pathinfo })) }}
  147.                     </div>
  148.                 </div>
  149.             </div>
  150.             <button class=\"site-navbar__toggler ml-6\" type=\"button\" data-toggle=\"collapse\" data-target=\"#top-menu\" aria-controls=\"top-menu\" aria-expanded=\"false\" aria-label=\"Toggle navigation\">
  151.                 <span class=\"site-navbar__toggler--line\"></span>
  152.                 <span class=\"site-navbar__toggler--line\"></span>
  153.                 <span class=\"site-navbar__toggler--line\"></span>
  154.             </button>
  155.         </nav>
  156.     </div>
  157. </header>
  158. ""@theme/common/site-header.html.twig""/var/www/html/k/kasscaffolding/templates/themes/theme/common/site-header.html.twig");
  159.     }
  160. }