<?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;
/* bundles/BitBagSyliusCmsPlugin/Shop/Page/pour-les-pros.html.twig */
class __TwigTemplate_81e3ec4691c69c530d67395735f20dc51e2122544ce3dd07723e63f672b6b747 extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
'content' => [$this, 'block_content'],
];
}
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", "bundles/BitBagSyliusCmsPlugin/Shop/Page/pour-les-pros.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "bundles/BitBagSyliusCmsPlugin/Shop/Page/pour-les-pros.html.twig"));
// line 1
echo "
";
// line 2
$this->displayBlock('content', $context, $blocks);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
public function block_content($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(), "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 3
echo " ";
if (((isset($context["published"]) || array_key_exists("published", $context) ? $context["published"] : (function () { throw new RuntimeError('Variable "published" does not exist.', 3, $this->source); })()) == true)) {
// line 4
echo "
<div class=\"pour-les-pros\">
<div class=\"container\">
";
// line 7
$this->loadTemplate("common/_breadcrumb.html.twig", "bundles/BitBagSyliusCmsPlugin/Shop/Page/pour-les-pros.html.twig", 7)->display($context);
// line 8
echo "
<div class=\"pour-les-pros__intro\">
";
// line 10
echo $this->env->getRuntime('BitBag\SyliusCmsPlugin\Twig\Runtime\RenderContentRuntime')->renderContent((isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 10, $this->source); })()));
echo "
</div>
<div class=\"pour-les-pros__columns\">
<div>
";
// line 14
echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("bitbag_sylius_cms_plugin_shop_media_render", ["code" => "pour-toutes-vos-reunions-professionnelles", "template" => "bundles/BitBagSyliusCmsPlugin/Shop/Page/blocks/_pro.html.twig"]));
echo "
</div>
<div>
";
// line 17
echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("bitbag_sylius_cms_plugin_shop_media_render", ["code" => "des-fromages-de-tres-grande-qualite", "template" => "bundles/BitBagSyliusCmsPlugin/Shop/Page/blocks/_training_2.html.twig"]));
echo "
<div class=\"pour-les-pros__social-infos\" data-aos=\"fade-up\">
<img class=\"pour-les-pros__logo-mons\" src=\"";
// line 19
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/shop/img/logo-mons-fromages.svg"), "html", null, true);
echo "\" alt=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sylius.services.pro.for_the_pros"), "html_attr");
echo "\">
<div>
<span class=\"pour-les-pros__social-title\">Maison Mons</span>
";
// line 22
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sylius.services.pro.for_any_inquiry"), "html", null, true);
echo "
<a class=\"pour-les-pros__button button button--secondary button--small\" href=\"";
// line 23
echo twig_escape_filter($this->env, $this->env->getRuntime('BitBag\SyliusCmsPlugin\Twig\Runtime\RenderLinkRuntime')->getLinkForCode("contact"), "html", null, true);
echo "\" title=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sylius.ui.contact"), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sylius.services.pro.contact_us"), "html", null, true);
echo "</a>
</div>
</div>
</div>
</div>
</div>
<div class=\"banner banner--image-and-text\" style=\"background-image: linear-gradient(to right, #453A36 50%, transparent), url('";
// line 30
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/shop/images/pros/pour-les-pros-banniere.jpeg"), "html", null, true);
echo "');\">
<div class=\"container\">
<div class=\"deco-event\" data-aos=\"fade-up\"></div>
<div class=\"banner__columns\" data-aos=\"fade-up\">
<div>
<span class=\"banner__tagline\">";
// line 35
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sylius.services.pro.for_the_pros"), "html", null, true);
echo "...</span>
<h3 class=\"banner__title\">";
// line 36
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sylius.services.pro.looking_for_a_unique_place_for_pro_events"), "html", null, true);
echo "</h3>
</div>
<div class=\"banner__description\">
";
// line 39
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sylius.services.pro.the_collonge_tunnel_is_made_for_you"), "html", null, true);
echo "
</div>
<div>
<a href=\"";
// line 42
echo twig_escape_filter($this->env, $this->env->getRuntime('BitBag\SyliusCmsPlugin\Twig\Runtime\RenderLinkRuntime')->getLinkForCode("contact"), "html", null, true);
echo "\" title=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sylius.ui.contact"), "html_attr");
echo "\" class=\"button button--white button--medium\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sylius.ui.contact"), "html", null, true);
echo "</a>
</div>
</div>
</div>
</div>
<div class=\"citation\" data-aos=\"fade-up\">
<div class=\"container\">
<p>";
// line 50
echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sylius.services.pro.you_are_pro_and_want_to_offer_high_end_cheeses");
echo "</p>
<a href=\"";
// line 51
echo twig_escape_filter($this->env, $this->env->getRuntime('BitBag\SyliusCmsPlugin\Twig\Runtime\RenderLinkRuntime')->getLinkForCode("fromagers-evenementiels"), "html", null, true);
echo "\" class=\"button button--secondary\" title=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sylius.services.pro.events_services"), "html_attr");
echo "\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sylius.services.pro.events_services"), "html", null, true);
echo "</a>
</div>
</div>
</div>
";
} else {
// line 57
echo " ";
$this->loadTemplate("@BitBagSyliusCmsPlugin/Shop/Page/Error/_notPublished.html.twig", "bundles/BitBagSyliusCmsPlugin/Shop/Page/pour-les-pros.html.twig", 57)->display(twig_array_merge($context, ["publishAt" => twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 57, $this->source); })()), "publishAt", [], "any", false, false, false, 57)]));
// line 58
echo " ";
}
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "bundles/BitBagSyliusCmsPlugin/Shop/Page/pour-les-pros.html.twig";
}
public function getDebugInfo()
{
return array ( 183 => 58, 180 => 57, 167 => 51, 163 => 50, 148 => 42, 142 => 39, 136 => 36, 132 => 35, 124 => 30, 110 => 23, 106 => 22, 98 => 19, 93 => 17, 87 => 14, 80 => 10, 76 => 8, 74 => 7, 69 => 4, 66 => 3, 47 => 2, 44 => 1,);
}
public function getSourceContext()
{
return new Source("
{% block content %}
{% if published == true %}
<div class=\"pour-les-pros\">
<div class=\"container\">
{% include 'common/_breadcrumb.html.twig' %}
<div class=\"pour-les-pros__intro\">
{{ bitbag_cms_render_content(page) }}
</div>
<div class=\"pour-les-pros__columns\">
<div>
{{ render(path('bitbag_sylius_cms_plugin_shop_media_render', {'code' : 'pour-toutes-vos-reunions-professionnelles', 'template' : 'bundles/BitBagSyliusCmsPlugin/Shop/Page/blocks/_pro.html.twig'})) }}
</div>
<div>
{{ render(path('bitbag_sylius_cms_plugin_shop_media_render', {'code' : 'des-fromages-de-tres-grande-qualite', 'template' : 'bundles/BitBagSyliusCmsPlugin/Shop/Page/blocks/_training_2.html.twig'})) }}
<div class=\"pour-les-pros__social-infos\" data-aos=\"fade-up\">
<img class=\"pour-les-pros__logo-mons\" src=\"{{ asset('assets/shop/img/logo-mons-fromages.svg') }}\" alt=\"{{ 'sylius.services.pro.for_the_pros'|trans|e('html_attr') }}\">
<div>
<span class=\"pour-les-pros__social-title\">Maison Mons</span>
{{ 'sylius.services.pro.for_any_inquiry'|trans }}
<a class=\"pour-les-pros__button button button--secondary button--small\" href=\"{{ bitbag_cms_get_link_for_code('contact') }}\" title=\"{{ 'sylius.ui.contact'|trans }}\">{{ 'sylius.services.pro.contact_us'|trans }}</a>
</div>
</div>
</div>
</div>
</div>
<div class=\"banner banner--image-and-text\" style=\"background-image: linear-gradient(to right, #453A36 50%, transparent), url('{{ asset('assets/shop/images/pros/pour-les-pros-banniere.jpeg') }}');\">
<div class=\"container\">
<div class=\"deco-event\" data-aos=\"fade-up\"></div>
<div class=\"banner__columns\" data-aos=\"fade-up\">
<div>
<span class=\"banner__tagline\">{{ 'sylius.services.pro.for_the_pros'|trans }}...</span>
<h3 class=\"banner__title\">{{ 'sylius.services.pro.looking_for_a_unique_place_for_pro_events'|trans }}</h3>
</div>
<div class=\"banner__description\">
{{ 'sylius.services.pro.the_collonge_tunnel_is_made_for_you'|trans }}
</div>
<div>
<a href=\"{{ bitbag_cms_get_link_for_code('contact') }}\" title=\"{{ 'sylius.ui.contact'|trans|e('html_attr') }}\" class=\"button button--white button--medium\">{{ 'sylius.ui.contact'|trans }}</a>
</div>
</div>
</div>
</div>
<div class=\"citation\" data-aos=\"fade-up\">
<div class=\"container\">
<p>{{ 'sylius.services.pro.you_are_pro_and_want_to_offer_high_end_cheeses'|trans|raw }}</p>
<a href=\"{{ bitbag_cms_get_link_for_code('fromagers-evenementiels') }}\" class=\"button button--secondary\" title=\"{{ 'sylius.services.pro.events_services'|trans|e('html_attr') }}\">{{ 'sylius.services.pro.events_services'|trans }}</a>
</div>
</div>
</div>
{% else %}
{% include '@BitBagSyliusCmsPlugin/Shop/Page/Error/_notPublished.html.twig' with {'publishAt': page.publishAt} %}
{% endif %}
{% endblock %}
", "bundles/BitBagSyliusCmsPlugin/Shop/Page/pour-les-pros.html.twig", "/home/mons/site/www/templates/bundles/BitBagSyliusCmsPlugin/Shop/Page/pour-les-pros.html.twig");
}
}