<?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 "<div class=\"header-wrapper\">
<header class=\"site-header\">
<div class=\"container\">
<div class=\"site-navbar\">
<a class=\"header-logo\" href=\"/\">
<img src=\"";
// line 6
echo twig_escape_filter($this->env, $this->env->getFunction('imageCache')->getCallable()($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/images/logo.png"), "cropResize", 520, 176), "html", null, true);
echo "\" alt=\"Logo\" width=\"260\" height=\"88\" />
</a>
<div>
<div class=\"header-phone\">
<a href=\"tel:";
// line 10
echo twig_escape_filter($this->env, twig_replace_filter($this->env->getFunction('renderSetting')->getCallable()(2, "content"), [" " => ""]), "html", null, true);
echo "\">
<i class=\"fa-regular fa-mobile mr-2\"></i> ";
// line 11
echo $this->env->getFunction('renderSetting')->getCallable()(2, "content");
echo "
</a>
</div>
";
// line 19
echo " <div class=\"header-email\">
<a href=\"mailto:";
// line 20
echo $this->env->getFunction('renderSetting')->getCallable()(3, "content");
echo "\">
<i class=\"fa-regular fa-envelope mr-2\"></i><span class=\"hidden sm:inline-block\"> ";
// line 21
echo $this->env->getFunction('renderSetting')->getCallable()(3, "content");
echo "</span><span class=\"sm:hidden\">Email Stable</span>
</a>
</div>
</div>
<button class=\"site-navbar__toggler\" 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>
</div>
<nav class=\"site-navbar__list\" id=\"top_menu\">
";
// line 32
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.', 32, $this->source); })()), "request", [], "any", false, false, false, 32), "pathinfo", [], "any", false, false, false, 32)]));
echo "
</nav>
</div>
</header>
</div>
";
$__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 ( 88 => 32, 74 => 21, 70 => 20, 67 => 19, 61 => 11, 57 => 10, 50 => 6, 43 => 1,);
}
public function getSourceContext()
{
return new Source("<div class=\"header-wrapper\">
<header class=\"site-header\">
<div class=\"container\">
<div class=\"site-navbar\">
<a class=\"header-logo\" href=\"/\">
<img src=\"{{ imageCache(asset('build/images/logo.png'), 'cropResize', 520, 176) }}\" alt=\"Logo\" width=\"260\" height=\"88\" />
</a>
<div>
<div class=\"header-phone\">
<a href=\"tel:{{ renderSetting(2, 'content')|replace({' ': ''}) }}\">
<i class=\"fa-regular fa-mobile mr-2\"></i> {{ renderSetting(2, 'content') }}
</a>
</div>
{# <div class=\"header-phone\">
<a href=\"tel:{{ renderSetting(15, 'content')|replace({' ': ''}) }}\">
<i class=\"fa-regular fa-mobile mr-2\"></i> {{ renderSetting(15, 'content') }}
</a>
</div> #}
<div class=\"header-email\">
<a href=\"mailto:{{ renderSetting(3, 'content') }}\">
<i class=\"fa-regular fa-envelope mr-2\"></i><span class=\"hidden sm:inline-block\"> {{ renderSetting(3, 'content') }}</span><span class=\"sm:hidden\">Email Stable</span>
</a>
</div>
</div>
<button class=\"site-navbar__toggler\" 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>
</div>
<nav class=\"site-navbar__list\" id=\"top_menu\">
{{ render(controller('App\\\\Controller\\\\MenuDefaultController::fetchMenu', { 'identifier':'Top', 'currentUrl': app.request.pathinfo })) }}
</nav>
</div>
</header>
</div>
", "@theme/common/site-header.html.twig", "/var/www/html/s/stablescaffolding/templates/themes/theme/common/site-header.html.twig");
}
}