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

/* templates/page-home.twig */
class __TwigTemplate_4ac2104b5d5f5ab361abbbe8eb5c58de extends Template
{
    private $source;
    private $macros = [];

    public function __construct(Environment $env)
    {
        parent::__construct($env);

        $this->source = $this->getSourceContext();

        $this->blocks = [
            'content' => [$this, 'block_content'],
        ];
    }

    protected function doGetParent(array $context)
    {
        // line 3
        return "layouts/main.twig";
    }

    protected function doDisplay(array $context, array $blocks = [])
    {
        $macros = $this->macros;
        $this->parent = $this->loadTemplate("layouts/main.twig", "templates/page-home.twig", 3);
        $this->parent->display($context, array_merge($this->blocks, $blocks));
    }

    // line 5
    public function block_content($context, array $blocks = [])
    {
        $macros = $this->macros;
        // line 6
        echo "
";
        // line 7
        $this->loadTemplate("parts/home-hero.twig", "templates/page-home.twig", 7)->display(twig_to_array(($context["hero"] ?? null)));
        // line 8
        echo "
<section class=\"c-intro-text\">
    <div class=\"o-wrapper\">
        <h2>";
        // line 11
        echo ($context["intro"] ?? null);
        echo "</h2>
    </div>
</section>

";
        // line 18
        echo "
";
        // line 19
        $this->loadTemplate("parts/featured-properties.twig", "templates/page-home.twig", 19)->display(twig_to_array(($context["properties"] ?? null)));
        // line 20
        echo "
";
        // line 21
        $this->loadTemplate("parts/image-text.twig", "templates/page-home.twig", 21)->display(twig_to_array(($context["about"] ?? null)));
        // line 22
        echo "
";
        // line 23
        $this->loadTemplate("parts/journey.twig", "templates/page-home.twig", 23)->display(twig_to_array(($context["how"] ?? null)));
        // line 24
        echo "
";
        // line 25
        if (twig_get_attribute($this->env, $this->source, ($context["difference"] ?? null), "active", [], "any", false, false, false, 25)) {
            // line 26
            echo "    ";
            $this->loadTemplate("parts/difference.twig", "templates/page-home.twig", 26)->display(twig_to_array(($context["difference"] ?? null)));
        }
        // line 28
        echo "
";
    }

    public function getTemplateName()
    {
        return "templates/page-home.twig";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  91 => 28,  87 => 26,  85 => 25,  82 => 24,  80 => 23,  77 => 22,  75 => 21,  72 => 20,  70 => 19,  67 => 18,  60 => 11,  55 => 8,  53 => 7,  50 => 6,  46 => 5,  35 => 3,);
    }

    public function getSourceContext()
    {
        return new Source("{# Template Name: Home page #}

{% extends \"layouts/main.twig\" %}

{% block content %}

{% include \"parts/home-hero.twig\" with hero only %}

<section class=\"c-intro-text\">
    <div class=\"o-wrapper\">
        <h2>{{ intro|raw }}</h2>
    </div>
</section>

{# <pre>
    {{ dump(properties) }}
</pre> #}

{% include \"parts/featured-properties.twig\" with properties only %}

{% include \"parts/image-text.twig\" with about only %}

{% include \"parts/journey.twig\" with how only %}

{% if difference.active %}
    {% include \"parts/difference.twig\" with difference only %}
{% endif %}

{% endblock %}", "templates/page-home.twig", "/var/www/htdocs/content/themes/speck/views/templates/page-home.twig");
    }
}
