var/cache/dev/twig/c3/c3425a0cd112cc8c317f02db6799e1d4.php line 52

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. /* base-split.html.twig */
  14. class __TwigTemplate_c04c913528faa83c323e1c1706db6595 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->blocks = [
  23.             'header' => [$this'block_header'],
  24.             'bottom' => [$this'block_bottom'],
  25.             'footer' => [$this'block_footer'],
  26.             'body' => [$this'block_body'],
  27.             'right' => [$this'block_right'],
  28.         ];
  29.     }
  30.     protected function doGetParent(array $context)
  31.     {
  32.         // line 1
  33.         return "base.html.twig";
  34.     }
  35.     protected function doDisplay(array $context, array $blocks = [])
  36.     {
  37.         $macros $this->macros;
  38.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  39.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""base-split.html.twig"));
  40.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  41.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""base-split.html.twig"));
  42.         $this->parent $this->loadTemplate("base.html.twig""base-split.html.twig"1);
  43.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  44.         
  45.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  46.         
  47.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  48.     }
  49.     // line 3
  50.     public function block_header($context, array $blocks = [])
  51.     {
  52.         $macros $this->macros;
  53.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  54.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""header"));
  55.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  56.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""header"));
  57.         
  58.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  59.         
  60.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  61.     }
  62.     // line 4
  63.     public function block_bottom($context, array $blocks = [])
  64.     {
  65.         $macros $this->macros;
  66.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  67.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""bottom"));
  68.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  69.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""bottom"));
  70.         
  71.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  72.         
  73.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  74.     }
  75.     // line 5
  76.     public function block_footer($context, array $blocks = [])
  77.     {
  78.         $macros $this->macros;
  79.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  80.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""footer"));
  81.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  82.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""footer"));
  83.         
  84.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  85.         
  86.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  87.     }
  88.     // line 8
  89.     public function block_body($context, array $blocks = [])
  90.     {
  91.         $macros $this->macros;
  92.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  93.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  94.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  95.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  96.         // line 9
  97.         echo "<div>
  98. <div class=\"d-table w-100 position-absolute bg-red\" style=\"height: 100vh;\">
  99.     <div class=\"split-left\" style=\"background: white;\">
  100. \t\t";
  101.         // line 12
  102.         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"))) {
  103.             // line 13
  104.             echo "\t\t\t<a 
  105. \t\t\t\thref=\"/\"
  106. \t\t\t\ttitle=\"AskARoofer\"
  107. \t\t\t><img 
  108. \t\t\t\talt=\"AskARoofer\"
  109. \t\t\t\ttitle=\"AskARoofer\"
  110. \t\t\t\tsrc=\"";
  111.             // line 19
  112.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/AAR-logo-sm.png"), "html"nulltrue);
  113.             echo "\"
  114. \t\t\t\tloading='lazy'
  115. \t\t\t/></a>
  116.    \t\t";
  117.         } elseif ((        // line 22
  118. (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"))) {
  119.             // line 23
  120.             echo "  \t\t\t<a 
  121.   \t\t\t\thref=\"/\"
  122.   \t\t\t\ttitle=\"MetalCoffeeShop\"
  123.   \t\t\t><img 
  124.   \t\t\t\talt=\"MetalCoffeeShop\"
  125.   \t\t\t\ttitle=\"MetalCoffeeShop\"
  126.   \t\t\t\tsrc=\"";
  127.             // line 29
  128.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/MCS-Logo.png"), "html"nulltrue);
  129.             echo "\"
  130.   \t\t\t\tloading='lazy'
  131.   \t\t\t/></a>
  132. \t\t";
  133.         } elseif ((        // line 32
  134. (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"))) {
  135.             // line 33
  136.             echo "  \t\t\t<a 
  137.   \t\t\t\thref=\"/\"
  138.   \t\t\t\ttitle=\"CoatingsCoffeeShop\"
  139.   \t\t\t><img 
  140.   \t\t\t\talt=\"CoatingsCoffeeShop\"
  141.   \t\t\t\ttitle=\"CoatingsCoffeeShop\"
  142.   \t\t\t\tsrc=\"";
  143.             // line 39
  144.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/CCS-Logo.png"), "html"nulltrue);
  145.             echo "\"
  146.   \t\t\t\tloading='lazy'
  147.   \t\t\t/></a>
  148. \t\t";
  149.         } else {
  150.             // line 43
  151.             echo "\t\t\t<a 
  152. \t\t\t\thref=\"/\"
  153. \t\t\t\ttitle=\"RoofersCoffeeShop - Where The Industry Meets!\"
  154. \t\t\t><img 
  155. \t\t\t\talt=\"RoofersCoffeeShop - Where The Industry Meets!\"
  156. \t\t\t\ttitle=\"RoofersCoffeeShop - Where The Industry Meets!\"
  157. \t\t\t\tsrc=\"";
  158.             // line 49
  159.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/Roofers-Coffee-Shop-Logo-R.png"), "html"nulltrue);
  160.             echo "\"
  161. \t\t\t\tloading='lazy'
  162. \t\t\t/></a>
  163. \t\t";
  164.         }
  165.         // line 53
  166.         echo "    </div>
  167.     <div class=\"split-right bg-red\">
  168.         <div class=\"container-fluid\">
  169.             <div class=\"row justify-content-center\">
  170.                 <div class=\"col-md-";
  171.         // line 57
  172.         ((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"nulltrue))) : (print (5)));
  173.         echo " text-left\">
  174.                 ";
  175.         // line 58
  176.         $this->displayBlock('right'$context$blocks);
  177.         // line 59
  178.         echo "   
  179.                 </div>
  180.             </div>
  181.         </div>
  182.     </div>
  183. </div>
  184. </div>
  185. ";
  186.         
  187.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  188.         
  189.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  190.     }
  191.     // line 58
  192.     public function block_right($context, array $blocks = [])
  193.     {
  194.         $macros $this->macros;
  195.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  196.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""right"));
  197.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  198.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""right"));
  199.         // line 59
  200.         echo "                ";
  201.         
  202.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  203.         
  204.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  205.     }
  206.     public function getTemplateName()
  207.     {
  208.         return "base-split.html.twig";
  209.     }
  210.     public function isTraitable()
  211.     {
  212.         return false;
  213.     }
  214.     public function getDebugInfo()
  215.     {
  216.         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,);
  217.     }
  218.     public function getSourceContext()
  219.     {
  220.         return new Source("{% extends \"base.html.twig\" %}
  221. {% block header %}{% endblock %}
  222. {% block bottom %}{% endblock %}
  223. {% block footer %}{% endblock %}
  224. {% block body %}
  225. <div>
  226. <div class=\"d-table w-100 position-absolute bg-red\" style=\"height: 100vh;\">
  227.     <div class=\"split-left\" style=\"background: white;\">
  228. \t\t{% if site_code == constant(\"App\\\\Entity\\\\Content::SITE_AAR\") %}
  229. \t\t\t<a 
  230. \t\t\t\thref=\"/\"
  231. \t\t\t\ttitle=\"AskARoofer\"
  232. \t\t\t><img 
  233. \t\t\t\talt=\"AskARoofer\"
  234. \t\t\t\ttitle=\"AskARoofer\"
  235. \t\t\t\tsrc=\"{{ asset(\"assets/img/AAR-logo-sm.png\") }}\"
  236. \t\t\t\tloading='lazy'
  237. \t\t\t/></a>
  238.    \t\t{% elseif site_code == constant(\"App\\\\Entity\\\\Content::SITE_MCS\") %}
  239.   \t\t\t<a 
  240.   \t\t\t\thref=\"/\"
  241.   \t\t\t\ttitle=\"MetalCoffeeShop\"
  242.   \t\t\t><img 
  243.   \t\t\t\talt=\"MetalCoffeeShop\"
  244.   \t\t\t\ttitle=\"MetalCoffeeShop\"
  245.   \t\t\t\tsrc=\"{{ asset(\"assets/img/MCS-Logo.png\") }}\"
  246.   \t\t\t\tloading='lazy'
  247.   \t\t\t/></a>
  248. \t\t{% elseif site_code == constant(\"App\\\\Entity\\\\Content::SITE_CCS\") %}
  249.   \t\t\t<a 
  250.   \t\t\t\thref=\"/\"
  251.   \t\t\t\ttitle=\"CoatingsCoffeeShop\"
  252.   \t\t\t><img 
  253.   \t\t\t\talt=\"CoatingsCoffeeShop\"
  254.   \t\t\t\ttitle=\"CoatingsCoffeeShop\"
  255.   \t\t\t\tsrc=\"{{ asset(\"assets/img/CCS-Logo.png\") }}\"
  256.   \t\t\t\tloading='lazy'
  257.   \t\t\t/></a>
  258. \t\t{% else %}
  259. \t\t\t<a 
  260. \t\t\t\thref=\"/\"
  261. \t\t\t\ttitle=\"RoofersCoffeeShop - Where The Industry Meets!\"
  262. \t\t\t><img 
  263. \t\t\t\talt=\"RoofersCoffeeShop - Where The Industry Meets!\"
  264. \t\t\t\ttitle=\"RoofersCoffeeShop - Where The Industry Meets!\"
  265. \t\t\t\tsrc=\"{{ asset(\"assets/img/Roofers-Coffee-Shop-Logo-R.png\") }}\"
  266. \t\t\t\tloading='lazy'
  267. \t\t\t/></a>
  268. \t\t{% endif %}
  269.     </div>
  270.     <div class=\"split-right bg-red\">
  271.         <div class=\"container-fluid\">
  272.             <div class=\"row justify-content-center\">
  273.                 <div class=\"col-md-{{right_col_width is defined ? right_col_width : 5}} text-left\">
  274.                 {% block right %}
  275.                 {% endblock %}   
  276.                 </div>
  277.             </div>
  278.         </div>
  279.     </div>
  280. </div>
  281. </div>
  282. {% endblock %}""base-split.html.twig""/var/www/vhosts/rooferscoffeeshop.com/staging.rooferscoffeeshop.com/rcs-website/templates/base-split.html.twig");
  283.     }
  284. }