var/cache/dev/twig/dd/dd536c988befaf6d3bd34ad8a6ee9029.php line 38

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\CoreExtension;
  6. use Twig\Extension\SandboxExtension;
  7. use Twig\Markup;
  8. use Twig\Sandbox\SecurityError;
  9. use Twig\Sandbox\SecurityNotAllowedTagError;
  10. use Twig\Sandbox\SecurityNotAllowedFilterError;
  11. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  12. use Twig\Source;
  13. use Twig\Template;
  14. use Twig\TemplateWrapper;
  15. /* themes/theme/common/site-header.html.twig */
  16. class __TwigTemplate_46d8a9fe42c9d850db80c0119e5b90bb extends Template
  17. {
  18. private Source $source;
  19. /**
  20. * @var array<string, Template>
  21. */
  22. private array $macros = [];
  23. public function __construct(Environment $env)
  24. {
  25. parent::__construct($env);
  26. $this->source = $this->getSourceContext();
  27. $this->parent = false;
  28. $this->blocks = [
  29. ];
  30. }
  31. protected function doDisplay(array $context, array $blocks = []): iterable
  32. {
  33. $macros = $this->macros;
  34. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  35. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "themes/theme/common/site-header.html.twig"));
  36. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  37. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "themes/theme/common/site-header.html.twig"));
  38. // line 1
  39. yield "<header class=\"site-header\" id=\"site-header\">
  40. <div class=\"container\">
  41. <nav class=\"site-navbar items-stretch\">
  42. <a class=\"logo flex-0\" href=\"/\">
  43. <img class=\"hidden md:inline-block logo-1\" src=\"";
  44. // line 5
  45. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getFunction('imageCache')->getCallable()($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/images/kas-scaffolding-logo.png"), "cropResize", 600, 232), "html", null, true);
  46. yield "\" alt=\"Logo\" width=\"300\" height=\"116\" loading=\"lazy\" />
  47. <img class=\"inline-block md:hidden logo-2\" src=\"";
  48. // line 6
  49. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getFunction('imageCache')->getCallable()($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/images/kas-logo-square.png"), "cropResize", 232, 232), "html", null, true);
  50. yield "\" alt=\"Logo\" width=\"80\" height=\"80\" loading=\"lazy\" />
  51. </a>
  52. <div class=\"lg:text-right flex-1 pl-[70px] flex flex-col justify-center lg:justify-end\">
  53. <div class=\"flex justify-end items-center lg:mb-6 header-hide\">
  54. <a class=\"text-white font-black text-3xl lg:text-4xl xl:text-lg contact-deets\" title=\"phone\" href=\"tel:";
  55. // line 11
  56. yield $this->env->getFunction('renderSetting')->getCallable()(2, "content");
  57. yield "\">
  58. <i class=\"fa-solid fa-circle-phone mr-2\"></i><span class=\"hidden xl:inline-block\">";
  59. // line 12
  60. yield $this->env->getFunction('renderSetting')->getCallable()(2, "content");
  61. yield "</span>
  62. </a>
  63. <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:";
  64. // line 14
  65. yield $this->env->getFunction('renderSetting')->getCallable()(3, "content");
  66. yield "\">
  67. <i class=\"fa-solid fa-circle-envelope mr-2\"></i><span class=\"hidden xl:inline-block\">";
  68. // line 15
  69. yield $this->env->getFunction('renderSetting')->getCallable()(3, "content");
  70. yield "</span>
  71. </a>
  72. <div class=\"relative ml-4 md:ml-6 lg:ml-10 search-box\">
  73. <form action=\"/search\" method=\"get\">
  74. <label class=\"sr-only\" for=\"search\">Site Search</label>
  75. <input class=\"search-input mr-4 xl:mr-6 hidden lg:block\" type=\"text\" id=\"search\" name=\"search-terms\">
  76. <button type=\"submit\" title=\"search\"><i class=\"fa-regular fa-magnifying-glass text-2xl md:text-3xl lg:text-lg font-bold\"></i></button>
  77. </form>
  78. </div>
  79. </div>
  80. <div class=\"site-navbar__list lg:text-right\" id=\"top_menu\">
  81. <div class=\"container lg:p-0\">
  82. ";
  83. // line 27
  84. yield $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("App\\Controller\\MenuDefaultController::fetchMenu", ["identifier" => "Top", "currentUrl" => CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 27, $this->source); })()), "request", [], "any", false, false, false, 27), "pathinfo", [], "any", false, false, false, 27)]));
  85. yield "
  86. </div>
  87. </div>
  88. </div>
  89. <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\">
  90. <span class=\"site-navbar__toggler--line\"></span>
  91. <span class=\"site-navbar__toggler--line\"></span>
  92. <span class=\"site-navbar__toggler--line\"></span>
  93. </button>
  94. </nav>
  95. </div>
  96. </header>
  97. ";
  98. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  99. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  100. yield from [];
  101. }
  102. /**
  103. * @codeCoverageIgnore
  104. */
  105. public function getTemplateName(): string
  106. {
  107. return "themes/theme/common/site-header.html.twig";
  108. }
  109. /**
  110. * @codeCoverageIgnore
  111. */
  112. public function isTraitable(): bool
  113. {
  114. return false;
  115. }
  116. /**
  117. * @codeCoverageIgnore
  118. */
  119. public function getDebugInfo(): array
  120. {
  121. return array ( 94 => 27, 79 => 15, 75 => 14, 70 => 12, 66 => 11, 58 => 6, 54 => 5, 48 => 1,);
  122. }
  123. public function getSourceContext(): Source
  124. {
  125. return new Source("<header class=\"site-header\" id=\"site-header\">
  126. <div class=\"container\">
  127. <nav class=\"site-navbar items-stretch\">
  128. <a class=\"logo flex-0\" href=\"/\">
  129. <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\" />
  130. <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\" />
  131. </a>
  132. <div class=\"lg:text-right flex-1 pl-[70px] flex flex-col justify-center lg:justify-end\">
  133. <div class=\"flex justify-end items-center lg:mb-6 header-hide\">
  134. <a class=\"text-white font-black text-3xl lg:text-4xl xl:text-lg contact-deets\" title=\"phone\" href=\"tel:{{ renderSetting(2, 'content') }}\">
  135. <i class=\"fa-solid fa-circle-phone mr-2\"></i><span class=\"hidden xl:inline-block\">{{ renderSetting(2, 'content') }}</span>
  136. </a>
  137. <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') }}\">
  138. <i class=\"fa-solid fa-circle-envelope mr-2\"></i><span class=\"hidden xl:inline-block\">{{ renderSetting(3, 'content') }}</span>
  139. </a>
  140. <div class=\"relative ml-4 md:ml-6 lg:ml-10 search-box\">
  141. <form action=\"/search\" method=\"get\">
  142. <label class=\"sr-only\" for=\"search\">Site Search</label>
  143. <input class=\"search-input mr-4 xl:mr-6 hidden lg:block\" type=\"text\" id=\"search\" name=\"search-terms\">
  144. <button type=\"submit\" title=\"search\"><i class=\"fa-regular fa-magnifying-glass text-2xl md:text-3xl lg:text-lg font-bold\"></i></button>
  145. </form>
  146. </div>
  147. </div>
  148. <div class=\"site-navbar__list lg:text-right\" id=\"top_menu\">
  149. <div class=\"container lg:p-0\">
  150. {{ render(controller('App\\\\Controller\\\\MenuDefaultController::fetchMenu', { 'identifier':'Top', 'currentUrl': app.request.pathinfo })) }}
  151. </div>
  152. </div>
  153. </div>
  154. <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\">
  155. <span class=\"site-navbar__toggler--line\"></span>
  156. <span class=\"site-navbar__toggler--line\"></span>
  157. <span class=\"site-navbar__toggler--line\"></span>
  158. </button>
  159. </nav>
  160. </div>
  161. </header>
  162. ", "themes/theme/common/site-header.html.twig", "/var/www/html/k/kasscaffolding/templates/themes/theme/common/site-header.html.twig");
  163. }
  164. }