<?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;
/* base-split.html.twig */
class __TwigTemplate_c04c913528faa83c323e1c1706db6595 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'header' => [$this, 'block_header'],
'bottom' => [$this, 'block_bottom'],
'footer' => [$this, 'block_footer'],
'body' => [$this, 'block_body'],
'right' => [$this, 'block_right'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "base.html.twig";
}
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", "base-split.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "base-split.html.twig"));
$this->parent = $this->loadTemplate("base.html.twig", "base-split.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 3
public function block_header($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(), "block", "header"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "header"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 4
public function block_bottom($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(), "block", "bottom"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "bottom"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 5
public function block_footer($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(), "block", "footer"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "footer"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 8
public function block_body($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(), "block", "body"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
// line 9
echo "<div>
<div class=\"d-table w-100 position-absolute bg-red\" style=\"height: 100vh;\">
<div class=\"split-left\" style=\"background: white;\">
\t\t";
// line 12
if (((isset($context["site_code"]) || array_key_exists("site_code", $context) ? $context["site_code"] : (function () { throw new RuntimeError('Variable "site_code" does not exist.', 12, $this->source); })()) == twig_constant("App\\Entity\\Content::SITE_AAR"))) {
// line 13
echo "\t\t\t<a
\t\t\t\thref=\"/\"
\t\t\t\ttitle=\"AskARoofer\"
\t\t\t><img
\t\t\t\talt=\"AskARoofer\"
\t\t\t\ttitle=\"AskARoofer\"
\t\t\t\tsrc=\"";
// line 19
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/AAR-logo-sm.png"), "html", null, true);
echo "\"
\t\t\t\tloading='lazy'
\t\t\t/></a>
\t\t";
} elseif (( // line 22
(isset($context["site_code"]) || array_key_exists("site_code", $context) ? $context["site_code"] : (function () { throw new RuntimeError('Variable "site_code" does not exist.', 22, $this->source); })()) == twig_constant("App\\Entity\\Content::SITE_MCS"))) {
// line 23
echo " \t\t\t<a
\t\t\t\thref=\"/\"
\t\t\t\ttitle=\"MetalCoffeeShop\"
\t\t\t><img
\t\t\t\talt=\"MetalCoffeeShop\"
\t\t\t\ttitle=\"MetalCoffeeShop\"
\t\t\t\tsrc=\"";
// line 29
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/MCS-Logo.png"), "html", null, true);
echo "\"
\t\t\t\tloading='lazy'
\t\t\t/></a>
\t\t";
} elseif (( // line 32
(isset($context["site_code"]) || array_key_exists("site_code", $context) ? $context["site_code"] : (function () { throw new RuntimeError('Variable "site_code" does not exist.', 32, $this->source); })()) == twig_constant("App\\Entity\\Content::SITE_CCS"))) {
// line 33
echo " \t\t\t<a
\t\t\t\thref=\"/\"
\t\t\t\ttitle=\"CoatingsCoffeeShop\"
\t\t\t><img
\t\t\t\talt=\"CoatingsCoffeeShop\"
\t\t\t\ttitle=\"CoatingsCoffeeShop\"
\t\t\t\tsrc=\"";
// line 39
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/CCS-Logo.png"), "html", null, true);
echo "\"
\t\t\t\tloading='lazy'
\t\t\t/></a>
\t\t";
} else {
// line 43
echo "\t\t\t<a
\t\t\t\thref=\"/\"
\t\t\t\ttitle=\"RoofersCoffeeShop - Where The Industry Meets!\"
\t\t\t><img
\t\t\t\talt=\"RoofersCoffeeShop - Where The Industry Meets!\"
\t\t\t\ttitle=\"RoofersCoffeeShop - Where The Industry Meets!\"
\t\t\t\tsrc=\"";
// line 49
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/Roofers-Coffee-Shop-Logo-R.png"), "html", null, true);
echo "\"
\t\t\t\tloading='lazy'
\t\t\t/></a>
\t\t";
}
// line 53
echo " </div>
<div class=\"split-right bg-red\">
<div class=\"container-fluid\">
<div class=\"row justify-content-center\">
<div class=\"col-md-";
// line 57
((array_key_exists("right_col_width", $context)) ? (print (twig_escape_filter($this->env, (isset($context["right_col_width"]) || array_key_exists("right_col_width", $context) ? $context["right_col_width"] : (function () { throw new RuntimeError('Variable "right_col_width" does not exist.', 57, $this->source); })()), "html", null, true))) : (print (5)));
echo " text-left\">
";
// line 58
$this->displayBlock('right', $context, $blocks);
// line 59
echo "
</div>
</div>
</div>
</div>
</div>
</div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 58
public function block_right($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(), "block", "right"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "right"));
// line 59
echo " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "base-split.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 234 => 59, 224 => 58, 207 => 59, 205 => 58, 201 => 57, 195 => 53, 188 => 49, 180 => 43, 173 => 39, 165 => 33, 163 => 32, 157 => 29, 149 => 23, 147 => 22, 141 => 19, 133 => 13, 131 => 12, 126 => 9, 116 => 8, 98 => 5, 80 => 4, 62 => 3, 39 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends \"base.html.twig\" %}
{% block header %}{% endblock %}
{% block bottom %}{% endblock %}
{% block footer %}{% endblock %}
{% block body %}
<div>
<div class=\"d-table w-100 position-absolute bg-red\" style=\"height: 100vh;\">
<div class=\"split-left\" style=\"background: white;\">
\t\t{% if site_code == constant(\"App\\\\Entity\\\\Content::SITE_AAR\") %}
\t\t\t<a
\t\t\t\thref=\"/\"
\t\t\t\ttitle=\"AskARoofer\"
\t\t\t><img
\t\t\t\talt=\"AskARoofer\"
\t\t\t\ttitle=\"AskARoofer\"
\t\t\t\tsrc=\"{{ asset(\"assets/img/AAR-logo-sm.png\") }}\"
\t\t\t\tloading='lazy'
\t\t\t/></a>
\t\t{% elseif site_code == constant(\"App\\\\Entity\\\\Content::SITE_MCS\") %}
\t\t\t<a
\t\t\t\thref=\"/\"
\t\t\t\ttitle=\"MetalCoffeeShop\"
\t\t\t><img
\t\t\t\talt=\"MetalCoffeeShop\"
\t\t\t\ttitle=\"MetalCoffeeShop\"
\t\t\t\tsrc=\"{{ asset(\"assets/img/MCS-Logo.png\") }}\"
\t\t\t\tloading='lazy'
\t\t\t/></a>
\t\t{% elseif site_code == constant(\"App\\\\Entity\\\\Content::SITE_CCS\") %}
\t\t\t<a
\t\t\t\thref=\"/\"
\t\t\t\ttitle=\"CoatingsCoffeeShop\"
\t\t\t><img
\t\t\t\talt=\"CoatingsCoffeeShop\"
\t\t\t\ttitle=\"CoatingsCoffeeShop\"
\t\t\t\tsrc=\"{{ asset(\"assets/img/CCS-Logo.png\") }}\"
\t\t\t\tloading='lazy'
\t\t\t/></a>
\t\t{% else %}
\t\t\t<a
\t\t\t\thref=\"/\"
\t\t\t\ttitle=\"RoofersCoffeeShop - Where The Industry Meets!\"
\t\t\t><img
\t\t\t\talt=\"RoofersCoffeeShop - Where The Industry Meets!\"
\t\t\t\ttitle=\"RoofersCoffeeShop - Where The Industry Meets!\"
\t\t\t\tsrc=\"{{ asset(\"assets/img/Roofers-Coffee-Shop-Logo-R.png\") }}\"
\t\t\t\tloading='lazy'
\t\t\t/></a>
\t\t{% endif %}
</div>
<div class=\"split-right bg-red\">
<div class=\"container-fluid\">
<div class=\"row justify-content-center\">
<div class=\"col-md-{{right_col_width is defined ? right_col_width : 5}} text-left\">
{% block right %}
{% endblock %}
</div>
</div>
</div>
</div>
</div>
</div>
{% endblock %}", "base-split.html.twig", "/var/www/vhosts/rooferscoffeeshop.com/staging.rooferscoffeeshop.com/rcs-website/templates/base-split.html.twig");
}
}