var/cache/website/dev/twig/2c/2ca5fd02c1793cd3256c4b228206bb38d4eb1a388ac1dbf1d934397a60b783e1.php line 33

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. /* pages/blocks/featured_list_buy_section.html.twig */
  14. class __TwigTemplate_6a5979cd4f208290c7dedd1bade15439273f9e4204b8c4d54b5f8fc8a5913489 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->parent false;
  23.         $this->blocks = [
  24.         ];
  25.     }
  26.     protected function doDisplay(array $context, array $blocks = [])
  27.     {
  28.         $macros $this->macros;
  29.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  30.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""pages/blocks/featured_list_buy_section.html.twig"));
  31.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  32.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""pages/blocks/featured_list_buy_section.html.twig"));
  33.         // line 1
  34.         $macros["buttons"] = $this->macros["buttons"] = $this->loadTemplate("elements2024/macros/buttons.html.twig""pages/blocks/featured_list_buy_section.html.twig"1)->unwrap();
  35.         // line 2
  36.         $macros["blocks"] = $this->macros["blocks"] = $this->loadTemplate("elements2024/macros/title-block.html.twig""pages/blocks/featured_list_buy_section.html.twig"2)->unwrap();
  37.         // line 3
  38.         echo "
  39. ";
  40.         // line 4
  41.         $context["carouselProperty"] = $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("App\\Controller\\Website\\LayoutController::carouselBuy"));
  42.         // line 5
  43.         $context["hasCarouselProperty"] = $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("App\\Controller\\Website\\LayoutController::hasCarouselBuy"));
  44.         // line 6
  45.         echo "
  46. ";
  47.         // line 7
  48.         if (((($context["carouselProperty"] ?? null) != "") && (($context["hasCarouselProperty"] ?? null) == "true"))) {
  49.             // line 8
  50.             echo "\t<section class=\"py-8 lg:py-16 bg-light overflow-hidden\">
  51. \t\t<div class=\"container\">
  52. \t\t\t<div class=\"\">
  53. \t\t\t\t";
  54.             // line 11
  55.             echo twig_call_macro($macros["blocks"], "macro_titleBlock", [["title" => twig_get_attribute($this->env$this->source,             // line 12
  56. ($context["content"] ?? null), "title", [], "any"falsefalsefalse12), "description" => twig_get_attribute($this->env$this->source,             // line 13
  57. ($context["content"] ?? null), "description", [], "any"falsefalsefalse13), "link" => ["text" => twig_get_attribute($this->env$this->source,             // line 15
  58. ($context["content"] ?? null), "link_text", [], "any"falsefalsefalse15), "href" => twig_get_attribute($this->env$this->source,             // line 16
  59. ($context["content"] ?? null), "link", [], "any"falsefalsefalse16)]]], 11$context$this->getSourceContext());
  60.             // line 18
  61.             echo "
  62. \t\t\t</div>
  63. \t\t\t";
  64.             // line 20
  65.             echo ($context["carouselProperty"] ?? null);
  66.             echo "
  67. \t\t</div>
  68. \t</section>
  69. ";
  70.         }
  71.         
  72.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  73.         
  74.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  75.     }
  76.     public function getTemplateName()
  77.     {
  78.         return "pages/blocks/featured_list_buy_section.html.twig";
  79.     }
  80.     public function isTraitable()
  81.     {
  82.         return false;
  83.     }
  84.     public function getDebugInfo()
  85.     {
  86.         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,);
  87.     }
  88.     public function getSourceContext()
  89.     {
  90.         return new Source("{% import 'elements2024/macros/buttons.html.twig' as buttons %}
  91. {% import 'elements2024/macros/title-block.html.twig' as blocks %}
  92. {% set carouselProperty = render(controller('App\\\\Controller\\\\Website\\\\LayoutController::carouselBuy')) %}
  93. {% set hasCarouselProperty = render(controller('App\\\\Controller\\\\Website\\\\LayoutController::hasCarouselBuy')) %}
  94. {% if carouselProperty != \"\" and hasCarouselProperty == \"true\"  %}
  95. \t<section class=\"py-8 lg:py-16 bg-light overflow-hidden\">
  96. \t\t<div class=\"container\">
  97. \t\t\t<div class=\"\">
  98. \t\t\t\t{{ blocks.titleBlock({
  99.     \t\ttitle: content.title,
  100.     \t\tdescription: content.description,
  101.     \t\tlink: {
  102.     \t\t  text: content.link_text,
  103.     \t\t  href: content.link,
  104.     \t\t}
  105.       }) }}
  106. \t\t\t</div>
  107. \t\t\t{{carouselProperty|raw}}
  108. \t\t</div>
  109. \t</section>
  110. {% endif %}
  111. ""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");
  112.     }
  113. }