var/cache/dev/twig/78/788fe5d70c0b29910d019a28596ed3fe6ac561616e2c3eb933367492f2a93c3d.php line 55

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\CoreExtension;
  6. use Twig\Extension\SandboxExtension;
  7. use Twig\Markup;
  8. use Twig\Sandbox\SecurityError;
  9. use Twig\Sandbox\SecurityNotAllowedTagError;
  10. use Twig\Sandbox\SecurityNotAllowedFilterError;
  11. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  12. use Twig\Source;
  13. use Twig\Template;
  14. use Twig\TemplateWrapper;
  15. /* content/home.html.twig */
  16. class __TwigTemplate_33b817a6faa9b3e845e96343b1d59eb8c8999c524d7611cb24c63ba2745c004f extends Template
  17. {
  18.     private Source $source;
  19.     /**
  20.      * @var array<string, Template>
  21.      */
  22.     private array $macros = [];
  23.     public function __construct(Environment $env)
  24.     {
  25.         parent::__construct($env);
  26.         $this->source $this->getSourceContext();
  27.         $this->blocks = [
  28.             'content' => [$this'block_content'],
  29.         ];
  30.         $this->sandbox $this->extensions[SandboxExtension::class];
  31.         $this->checkSecurity();
  32.     }
  33.     protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
  34.     {
  35.         // line 1
  36.         return "app/layout.html.twig";
  37.     }
  38.     protected function doDisplay(array $context, array $blocks = []): iterable
  39.     {
  40.         $macros $this->macros;
  41.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  42.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""content/home.html.twig"));
  43.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  44.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""content/home.html.twig"));
  45.         $this->parent $this->loadTemplate("app/layout.html.twig""content/home.html.twig"1);
  46.         yield from $this->parent->unwrap()->yield($contextarray_merge($this->blocks$blocks));
  47.         
  48.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  49.         
  50.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  51.     }
  52.     // line 3
  53.     /**
  54.      * @return iterable<null|scalar|\Stringable>
  55.      */
  56.     public function block_content(array $context, array $blocks = []): iterable
  57.     {
  58.         $macros $this->macros;
  59.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  60.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  61.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  62.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  63.         // line 4
  64.         yield "
  65.     ";
  66.         // line 6
  67.         yield "
  68.     ";
  69.         // line 7
  70.         yield $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"area""hero-large", ["type" => "hero-large-brick""params" => ["hero-large-brick" => ["brickBackgroundColor" => "bg-blue-200"]]]);
  71.         // line 14
  72.         yield "
  73.     ";
  74.         // line 16
  75.         yield $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"area""product-trending-1", ["type" => "product-trending-brick""params" => ["product-trending-brick" => ["brickBackgroundColor" => "bg-blue-200""defaultInverted" => true]]]);
  76.         // line 24
  77.         yield "
  78.     ";
  79.         // line 29
  80.         yield "    ";
  81.         yield $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"area""content-brick-1", ["type" => "content-brick""params" => ["content-brick" => ["brickBackgroundColor" => "bg-white""defaultInverted" => true]]]);
  82.         // line 37
  83.         yield "
  84.     ";
  85.         // line 39
  86.         yield $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"area""sector-solutions", ["type" => "sector-solutions-cards-brick""params" => ["sector-solutions-cards-brick" => ["brickBackgroundColor" => "bg-blue-200"]]]);
  87.         // line 46
  88.         yield "
  89.     ";
  90.         // line 48
  91.         yield $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"area""hero-projects-with-text-and-button", ["type" => "hero-projects-with-text-and-button-brick"]);
  92.         // line 50
  93.         yield "
  94.     ";
  95.         // line 52
  96.         yield $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"area""content-brick-2", ["type" => "content-brick""params" => ["content-brick" => ["brickBackgroundColor" => "bg-blue-200"]]]);
  97.         // line 60
  98.         yield "
  99.     ";
  100.         // line 62
  101.         yield $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"area""testimonial", ["type" => "testimonial-brick""params" => ["testimonial-brick" => ["brickBackgroundColor" => "bg-white"]]]);
  102.         // line 69
  103.         yield "
  104.     ";
  105.         // line 71
  106.         yield $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"area""content-brick-3", ["type" => "content-brick""params" => ["content-brick" => ["brickBackgroundColor" => "bg-blue-200"]]]);
  107.         // line 78
  108.         yield "
  109.     ";
  110.         // line 80
  111.         yield $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"area""contact-side-widget", ["type" => "contact-side-widget-brick"]);
  112.         // line 82
  113.         yield "
  114. ";
  115.         
  116.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  117.         
  118.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  119.         yield from [];
  120.     }
  121.     /**
  122.      * @codeCoverageIgnore
  123.      */
  124.     public function getTemplateName(): string
  125.     {
  126.         return "content/home.html.twig";
  127.     }
  128.     /**
  129.      * @codeCoverageIgnore
  130.      */
  131.     public function isTraitable(): bool
  132.     {
  133.         return false;
  134.     }
  135.     /**
  136.      * @codeCoverageIgnore
  137.      */
  138.     public function getDebugInfo(): array
  139.     {
  140.         return array (  135 => 82,  133 => 80,  129 => 78,  127 => 71,  123 => 69,  121 => 62,  117 => 60,  115 => 52,  111 => 50,  109 => 48,  105 => 46,  103 => 39,  99 => 37,  96 => 29,  92 => 24,  90 => 16,  86 => 14,  84 => 7,  81 => 6,  78 => 4,  65 => 3,  42 => 1,);
  141.     }
  142.     public function getSourceContext(): Source
  143.     {
  144.         return new Source("{% extends 'app/layout.html.twig' %}
  145. {% block content %}
  146.     {# template design: https://projects.invisionapp.com/d/main#/console/21605959/457034521/preview #}
  147.     {{ pimcore_area('hero-large', {
  148.         type: 'hero-large-brick',
  149.         params: {
  150.             'hero-large-brick': {
  151.                 brickBackgroundColor: 'bg-blue-200',
  152.             }
  153.         }
  154.     }) }}
  155.     {{ pimcore_area('product-trending-1', {
  156.         type: 'product-trending-brick',
  157.         params: {
  158.             'product-trending-brick': {
  159.                 brickBackgroundColor: 'bg-blue-200',
  160.                 defaultInverted: true,
  161.             }
  162.         }
  163.     }) }}
  164.     {# Loading the first text-image block with a specific layout type using defaultInverted.
  165.        This functions as a default for the layout option.
  166.        Can be overriden in the editor itself. #}
  167.     {{ pimcore_area('content-brick-1', {
  168.         type: 'content-brick',
  169.         params: {
  170.             'content-brick': {
  171.                 brickBackgroundColor: 'bg-white',
  172.                 defaultInverted: true,
  173.             }
  174.         }
  175.     }) }}
  176.     {{ pimcore_area('sector-solutions', {
  177.         type: 'sector-solutions-cards-brick',
  178.         params: {
  179.             'sector-solutions-cards-brick': {
  180.                 brickBackgroundColor: 'bg-blue-200',
  181.             }
  182.         }
  183.     }) }}
  184.     {{ pimcore_area('hero-projects-with-text-and-button', {
  185.         type: 'hero-projects-with-text-and-button-brick',
  186.     }) }}
  187.     {{ pimcore_area('content-brick-2',{
  188.         type: 'content-brick',
  189.         params: {
  190.             'content-brick':{
  191.                 brickBackgroundColor: 'bg-blue-200',
  192.             }
  193.         }
  194.     })
  195.     }}
  196.     {{ pimcore_area('testimonial', {
  197.         type: 'testimonial-brick',
  198.         params: {
  199.             'testimonial-brick': {
  200.                 brickBackgroundColor: 'bg-white',
  201.             }
  202.         }
  203.     }) }}
  204.     {{ pimcore_area('content-brick-3', {
  205.         type: 'content-brick',
  206.         params: {
  207.             'content-brick': {
  208.                 brickBackgroundColor: 'bg-blue-200',
  209.             }
  210.         }
  211.     }) }}
  212.     {{ pimcore_area('contact-side-widget', {
  213.         type: 'contact-side-widget-brick'
  214.     }) }}
  215. {% endblock %}
  216. ""content/home.html.twig""/home/forge/testing.coolworld.ptchr.dev/templates/content/home.html.twig");
  217.     }
  218.     
  219.     public function checkSecurity()
  220.     {
  221.         static $tags = ["extends" => 1];
  222.         static $filters = [];
  223.         static $functions = ["pimcore_area" => 7];
  224.         try {
  225.             $this->sandbox->checkSecurity(
  226.                 ['extends'],
  227.                 [],
  228.                 ['pimcore_area'],
  229.                 $this->source
  230.             );
  231.         } catch (SecurityError $e) {
  232.             $e->setSourceContext($this->source);
  233.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  234.                 $e->setTemplateLine($tags[$e->getTagName()]);
  235.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  236.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  237.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  238.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  239.             }
  240.             throw $e;
  241.         }
  242.     }
  243. }