<?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;

/* parts/home-hero.twig */
class __TwigTemplate_c53330f63bd47446f0ea4c6b0a19d05b 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;
        // line 1
        echo "<section class=\"c-hero\">
    <div class=\"c-hero__body\">        
        <div class=\"c-hero__logo\"  data-aos=\"fade-up\">
            ";
        // line 4
        $context["logo"] = twig_get_attribute($this->env, $this->source, ($context["fn"] ?? null), "get_attached_file", [($context["logo"] ?? null)], "method", false, false, false, 4);
        // line 5
        echo "            ";
        echo twig_get_attribute($this->env, $this->source, ($context["fn"] ?? null), "file_get_contents", [($context["logo"] ?? null)], "method", false, false, false, 5);
        echo "
        </div>
        <div class=\"c-hero__poster\">
                ";
        // line 8
        echo twig_get_attribute($this->env, $this->source, ($context["fn"] ?? null), "wp_get_attachment_image", [($context["image"] ?? null), "full", false, ["class" => "c-hero__poster-img u-object-image u-hide-mobile", "data-lazyload" => false, "data-aos" => "fade-up", "data-aos-delay" => "200"]], "method", false, false, false, 8);
        echo "
                ";
        // line 9
        if (($context["image_mobile"] ?? null)) {
            // line 10
            echo "                    ";
            echo twig_get_attribute($this->env, $this->source, ($context["fn"] ?? null), "wp_get_attachment_image", [($context["image_mobile"] ?? null), "hero_mobile", false, ["class" => "c-hero__poster-img u-object-image u-hide-tablet", "data-lazyload" => false, "data-aos" => "fade-up", "data-aos-delay" => "200"]], "method", false, false, false, 10);
            echo "
                ";
        } else {
            // line 12
            echo "                    ";
            echo twig_get_attribute($this->env, $this->source, ($context["fn"] ?? null), "wp_get_attachment_image", [($context["image"] ?? null), "hero_mobile", false, ["class" => "c-hero__poster-img u-object-image u-hide-tablet", "data-lazyload" => false, "data-aos" => "fade-up", "data-aos-delay" => "200"]], "method", false, false, false, 12);
            echo "
                ";
        }
        // line 14
        echo "                <div class=\"c-hero__cue\" data-aos=\"fade-in\" data-aos-delay=\"800\"><a href=\"#design\" class=\"c-hero__cue-action\"><svg width=\"48\" height=\"48\" viewBox=\"0 0 48 48\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"> <path d=\"M24 36L12 24L14.8 21.2L22 28.4V10H26V28.4L33.2 21.2L36 24L24 36Z\" fill=\"white\"/> </svg></a></div>
        </div>


        <div class=\"c-hero__sponsor\" data-aos=\"fade-up\" data-aos-delay=\"200\">
            ";
        // line 19
        echo twig_escape_filter($this->env, ($context["sponsor_text"] ?? null), "html", null, true);
        echo "
            ";
        // line 20
        $context["sponsor_logo"] = twig_get_attribute($this->env, $this->source, ($context["fn"] ?? null), "get_attached_file", [($context["sponsor_logo"] ?? null)], "method", false, false, false, 20);
        // line 21
        echo "            ";
        echo twig_get_attribute($this->env, $this->source, ($context["fn"] ?? null), "file_get_contents", [($context["sponsor_logo"] ?? null)], "method", false, false, false, 21);
        echo "
        </div>
    </div>
</section>";
    }

    public function getTemplateName()
    {
        return "parts/home-hero.twig";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  82 => 21,  80 => 20,  76 => 19,  69 => 14,  63 => 12,  57 => 10,  55 => 9,  51 => 8,  44 => 5,  42 => 4,  37 => 1,);
    }

    public function getSourceContext()
    {
        return new Source("", "parts/home-hero.twig", "/home/caramelstaging/public_html/coburgindustries/htdocs/content/themes/coburg-industries/views/parts/home-hero.twig");
    }
}
