<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* @theme/common/site-header.html.twig */
class __TwigTemplate_7c0e0b5aa2868a3a0bfbf11421b90540 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@theme/common/site-header.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@theme/common/site-header.html.twig"));
// line 1
echo "<header class=\"site-header\" id=\"site-header\">
<div class=\"container\">
<nav class=\"site-navbar items-stretch\">
<a class=\"logo flex-0\" href=\"/\">
<img class=\"hidden md:inline-block logo-1\" src=\"";
// line 5
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", 600, 232), "html", null, true);
echo "\" alt=\"Logo\" width=\"300\" height=\"116\" loading=\"lazy\" />
<img class=\"inline-block md:hidden logo-2\" src=\"";
// line 6
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", 232, 232), "html", null, true);
echo "\" alt=\"Logo\" width=\"80\" height=\"80\" loading=\"lazy\" />
</a>
<div class=\"lg:text-right flex-1 pl-[70px] flex flex-col justify-center lg:justify-end\">
<div class=\"flex justify-end items-center lg:mb-6 header-hide\">
<a class=\"text-white font-black text-3xl lg:text-4xl xl:text-lg contact-deets\" title=\"phone\" href=\"tel:";
// line 11
echo $this->env->getFunction('renderSetting')->getCallable()(2, "content");
echo "\">
<i class=\"fa-solid fa-circle-phone mr-2\"></i><span class=\"hidden xl:inline-block\">";
// line 12
echo $this->env->getFunction('renderSetting')->getCallable()(2, "content");
echo "</span>
</a>
<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:";
// line 14
echo $this->env->getFunction('renderSetting')->getCallable()(3, "content");
echo "\">
<i class=\"fa-solid fa-circle-envelope mr-2\"></i><span class=\"hidden xl:inline-block\">";
// line 15
echo $this->env->getFunction('renderSetting')->getCallable()(3, "content");
echo "</span>
</a>
<div class=\"relative ml-4 md:ml-6 lg:ml-10 search-box\">
<form action=\"/search\" method=\"get\">
<label class=\"sr-only\" for=\"search\">Site Search</label>
<input class=\"search-input mr-4 xl:mr-6 hidden lg:block\" type=\"text\" id=\"search\" name=\"search-terms\">
<button type=\"submit\" title=\"search\"><i class=\"fa-regular fa-magnifying-glass text-2xl md:text-3xl lg:text-lg font-bold\"></i></button>
</form>
</div>
</div>
<div class=\"site-navbar__list lg:text-right\" id=\"top_menu\">
<div class=\"container lg:p-0\">
";
// line 27
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->source, twig_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", false, false, false, 27), "pathinfo", [], "any", false, false, false, 27)]));
echo "
</div>
</div>
</div>
<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\">
<span class=\"site-navbar__toggler--line\"></span>
<span class=\"site-navbar__toggler--line\"></span>
<span class=\"site-navbar__toggler--line\"></span>
</button>
</nav>
</div>
</header>
";
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "@theme/common/site-header.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 89 => 27, 74 => 15, 70 => 14, 65 => 12, 61 => 11, 53 => 6, 49 => 5, 43 => 1,);
}
public function getSourceContext()
{
return new Source("<header class=\"site-header\" id=\"site-header\">
<div class=\"container\">
<nav class=\"site-navbar items-stretch\">
<a class=\"logo flex-0\" href=\"/\">
<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\" />
<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\" />
</a>
<div class=\"lg:text-right flex-1 pl-[70px] flex flex-col justify-center lg:justify-end\">
<div class=\"flex justify-end items-center lg:mb-6 header-hide\">
<a class=\"text-white font-black text-3xl lg:text-4xl xl:text-lg contact-deets\" title=\"phone\" href=\"tel:{{ renderSetting(2, 'content') }}\">
<i class=\"fa-solid fa-circle-phone mr-2\"></i><span class=\"hidden xl:inline-block\">{{ renderSetting(2, 'content') }}</span>
</a>
<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') }}\">
<i class=\"fa-solid fa-circle-envelope mr-2\"></i><span class=\"hidden xl:inline-block\">{{ renderSetting(3, 'content') }}</span>
</a>
<div class=\"relative ml-4 md:ml-6 lg:ml-10 search-box\">
<form action=\"/search\" method=\"get\">
<label class=\"sr-only\" for=\"search\">Site Search</label>
<input class=\"search-input mr-4 xl:mr-6 hidden lg:block\" type=\"text\" id=\"search\" name=\"search-terms\">
<button type=\"submit\" title=\"search\"><i class=\"fa-regular fa-magnifying-glass text-2xl md:text-3xl lg:text-lg font-bold\"></i></button>
</form>
</div>
</div>
<div class=\"site-navbar__list lg:text-right\" id=\"top_menu\">
<div class=\"container lg:p-0\">
{{ render(controller('App\\\\Controller\\\\MenuDefaultController::fetchMenu', { 'identifier':'Top', 'currentUrl': app.request.pathinfo })) }}
</div>
</div>
</div>
<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\">
<span class=\"site-navbar__toggler--line\"></span>
<span class=\"site-navbar__toggler--line\"></span>
<span class=\"site-navbar__toggler--line\"></span>
</button>
</nav>
</div>
</header>
", "@theme/common/site-header.html.twig", "/var/www/html/k/kasscaffolding/templates/themes/theme/common/site-header.html.twig");
}
}