<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
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;
use Twig\TemplateWrapper;
/* content/home.html.twig */
class __TwigTemplate_33b817a6faa9b3e845e96343b1d59eb8c8999c524d7611cb24c63ba2745c004f extends Template
{
private Source $source;
/**
* @var array<string, Template>
*/
private array $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'content' => [$this, 'block_content'],
];
$this->sandbox = $this->extensions[SandboxExtension::class];
$this->checkSecurity();
}
protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
{
// line 1
return "app/layout.html.twig";
}
protected function doDisplay(array $context, array $blocks = []): iterable
{
$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", "content/home.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "content/home.html.twig"));
$this->parent = $this->loadTemplate("app/layout.html.twig", "content/home.html.twig", 1);
yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 3
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_content(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
// line 4
yield "
";
// line 6
yield "
";
// line 7
yield $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "area", "hero-large", ["type" => "hero-large-brick", "params" => ["hero-large-brick" => ["brickBackgroundColor" => "bg-blue-200"]]]);
// line 14
yield "
";
// line 16
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]]]);
// line 24
yield "
";
// line 29
yield " ";
yield $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "area", "content-brick-1", ["type" => "content-brick", "params" => ["content-brick" => ["brickBackgroundColor" => "bg-white", "defaultInverted" => true]]]);
// line 37
yield "
";
// line 39
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"]]]);
// line 46
yield "
";
// line 48
yield $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "area", "hero-projects-with-text-and-button", ["type" => "hero-projects-with-text-and-button-brick"]);
// line 50
yield "
";
// line 52
yield $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "area", "content-brick-2", ["type" => "content-brick", "params" => ["content-brick" => ["brickBackgroundColor" => "bg-blue-200"]]]);
// line 60
yield "
";
// line 62
yield $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "area", "testimonial", ["type" => "testimonial-brick", "params" => ["testimonial-brick" => ["brickBackgroundColor" => "bg-white"]]]);
// line 69
yield "
";
// line 71
yield $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "area", "content-brick-3", ["type" => "content-brick", "params" => ["content-brick" => ["brickBackgroundColor" => "bg-blue-200"]]]);
// line 78
yield "
";
// line 80
yield $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "area", "contact-side-widget", ["type" => "contact-side-widget-brick"]);
// line 82
yield "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
yield from [];
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName(): string
{
return "content/home.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable(): bool
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo(): array
{
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,);
}
public function getSourceContext(): Source
{
return new Source("{% extends 'app/layout.html.twig' %}
{% block content %}
{# template design: https://projects.invisionapp.com/d/main#/console/21605959/457034521/preview #}
{{ pimcore_area('hero-large', {
type: 'hero-large-brick',
params: {
'hero-large-brick': {
brickBackgroundColor: 'bg-blue-200',
}
}
}) }}
{{ pimcore_area('product-trending-1', {
type: 'product-trending-brick',
params: {
'product-trending-brick': {
brickBackgroundColor: 'bg-blue-200',
defaultInverted: true,
}
}
}) }}
{# Loading the first text-image block with a specific layout type using defaultInverted.
This functions as a default for the layout option.
Can be overriden in the editor itself. #}
{{ pimcore_area('content-brick-1', {
type: 'content-brick',
params: {
'content-brick': {
brickBackgroundColor: 'bg-white',
defaultInverted: true,
}
}
}) }}
{{ pimcore_area('sector-solutions', {
type: 'sector-solutions-cards-brick',
params: {
'sector-solutions-cards-brick': {
brickBackgroundColor: 'bg-blue-200',
}
}
}) }}
{{ pimcore_area('hero-projects-with-text-and-button', {
type: 'hero-projects-with-text-and-button-brick',
}) }}
{{ pimcore_area('content-brick-2',{
type: 'content-brick',
params: {
'content-brick':{
brickBackgroundColor: 'bg-blue-200',
}
}
})
}}
{{ pimcore_area('testimonial', {
type: 'testimonial-brick',
params: {
'testimonial-brick': {
brickBackgroundColor: 'bg-white',
}
}
}) }}
{{ pimcore_area('content-brick-3', {
type: 'content-brick',
params: {
'content-brick': {
brickBackgroundColor: 'bg-blue-200',
}
}
}) }}
{{ pimcore_area('contact-side-widget', {
type: 'contact-side-widget-brick'
}) }}
{% endblock %}
", "content/home.html.twig", "/home/forge/testing.coolworld.ptchr.dev/templates/content/home.html.twig");
}
public function checkSecurity()
{
static $tags = ["extends" => 1];
static $filters = [];
static $functions = ["pimcore_area" => 7];
try {
$this->sandbox->checkSecurity(
['extends'],
[],
['pimcore_area'],
$this->source
);
} catch (SecurityError $e) {
$e->setSourceContext($this->source);
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}