<?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;
/* pages/blocks/featured_list_buy_section.html.twig */
class __TwigTemplate_6a5979cd4f208290c7dedd1bade15439273f9e4204b8c4d54b5f8fc8a5913489 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_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "pages/blocks/featured_list_buy_section.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "pages/blocks/featured_list_buy_section.html.twig"));
// line 1
$macros["buttons"] = $this->macros["buttons"] = $this->loadTemplate("elements2024/macros/buttons.html.twig", "pages/blocks/featured_list_buy_section.html.twig", 1)->unwrap();
// line 2
$macros["blocks"] = $this->macros["blocks"] = $this->loadTemplate("elements2024/macros/title-block.html.twig", "pages/blocks/featured_list_buy_section.html.twig", 2)->unwrap();
// line 3
echo "
";
// line 4
$context["carouselProperty"] = $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("App\\Controller\\Website\\LayoutController::carouselBuy"));
// line 5
$context["hasCarouselProperty"] = $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("App\\Controller\\Website\\LayoutController::hasCarouselBuy"));
// line 6
echo "
";
// line 7
if (((($context["carouselProperty"] ?? null) != "") && (($context["hasCarouselProperty"] ?? null) == "true"))) {
// line 8
echo "\t<section class=\"py-8 lg:py-16 bg-light overflow-hidden\">
\t\t<div class=\"container\">
\t\t\t<div class=\"\">
\t\t\t\t";
// line 11
echo twig_call_macro($macros["blocks"], "macro_titleBlock", [["title" => twig_get_attribute($this->env, $this->source, // line 12
($context["content"] ?? null), "title", [], "any", false, false, false, 12), "description" => twig_get_attribute($this->env, $this->source, // line 13
($context["content"] ?? null), "description", [], "any", false, false, false, 13), "link" => ["text" => twig_get_attribute($this->env, $this->source, // line 15
($context["content"] ?? null), "link_text", [], "any", false, false, false, 15), "href" => twig_get_attribute($this->env, $this->source, // line 16
($context["content"] ?? null), "link", [], "any", false, false, false, 16)]]], 11, $context, $this->getSourceContext());
// line 18
echo "
\t\t\t</div>
\t\t\t";
// line 20
echo ($context["carouselProperty"] ?? null);
echo "
\t\t</div>
\t</section>
";
}
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
public function getTemplateName()
{
return "pages/blocks/featured_list_buy_section.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 74 => 20, 70 => 18, 68 => 16, 67 => 15, 66 => 13, 65 => 12, 64 => 11, 59 => 8, 57 => 7, 54 => 6, 52 => 5, 50 => 4, 47 => 3, 45 => 2, 43 => 1,);
}
public function getSourceContext()
{
return new Source("{% import 'elements2024/macros/buttons.html.twig' as buttons %}
{% import 'elements2024/macros/title-block.html.twig' as blocks %}
{% set carouselProperty = render(controller('App\\\\Controller\\\\Website\\\\LayoutController::carouselBuy')) %}
{% set hasCarouselProperty = render(controller('App\\\\Controller\\\\Website\\\\LayoutController::hasCarouselBuy')) %}
{% if carouselProperty != \"\" and hasCarouselProperty == \"true\" %}
\t<section class=\"py-8 lg:py-16 bg-light overflow-hidden\">
\t\t<div class=\"container\">
\t\t\t<div class=\"\">
\t\t\t\t{{ blocks.titleBlock({
\t\ttitle: content.title,
\t\tdescription: content.description,
\t\tlink: {
\t\t text: content.link_text,
\t\t href: content.link,
\t\t}
}) }}
\t\t\t</div>
\t\t\t{{carouselProperty|raw}}
\t\t</div>
\t</section>
{% endif %}
", "pages/blocks/featured_list_buy_section.html.twig", "/home/clients/6069f7d890ad1893915d376cf7e5b903/var/www/bn-invest-commercial/templates/pages/blocks/featured_list_buy_section.html.twig");
}
}