<?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/contact.html.twig */
class __TwigTemplate_3ac1b7e5c2a6a6ba236a5eca145a701837fce843b1089b7e610a88f06cd17d03 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/contact.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/contact.html.twig"));
// line 1
$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 2
echo " ";
if (((isset($context["published"]) || array_key_exists("published", $context) ? $context["published"] : (function () { throw new RuntimeError('Variable "published" does not exist.', 2, $this->source); })()) == true)) {
// line 3
echo "
";
// line 4
$this->loadTemplate("common/_breadcrumb.html.twig", "bundles/BitBagSyliusCmsPlugin/Shop/Page/contact.html.twig", 4)->display($context);
// line 5
echo "
<div class=\"contact\">
<div class=\"contact__intro\">";
// line 7
echo 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.', 7, $this->source); })()), "content", [], "any", false, false, false, 7);
echo "</div>
<div class=\"contact__columns\">
<div class=\"contact__form\">
";
// line 10
echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("App\\Controller\\Shop\\ContactController::requestAction"));
echo "
</div>
<div class=\"contact__infos\">
<div class=\"contact__logo\">
<img src=\"";
// line 14
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=\"Mons Fromages logo\" />
</div>
<div class=\"contact__content\">
<strong>
<i class=\"fas fa-map-marker-alt\"></i>91, allée de l'Auvergnat<br/>
<i class=\"fas\"></i>Les Caves du Pré Normand<br/>
<i class=\"fas\"></i>42370 St Haon le Châtel
</strong>
<br>
<br>
<strong>
<i class=\"fas fa-phone\"></i>Tél. +33 (0)4 77 64 40 79<br/>
<i class=\"fas fa-fax\"></i>Fax. +33 (0)4 77 66 46 79<br/>
<i class=\"fas fa-envelope\"></i><a href=\"mailto:mons@mons-fromagerie.fr\">mons@mons-fromagerie.fr</a><br/>
</strong>
</div>
<div class=\"contact__map\">
<div id='map'></div>
</div>
</div>
</div>
</div>
<div class=\"citation\" data-aos=\"fade-up\">
<div class=\"container\">
<p>";
// line 38
echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("sylius.contact.follow_us");
echo "</p>
<div class=\"social\">
<a target=\"_blank\" href=\"https://www.facebook.com/fromagermons42\" title=\"";
// line 40
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.footer.facebook_page"), "html", null, true);
echo "\"><i class=\"fab fa-facebook-f\"></i></a>
<a target=\"_blank\" href=\"https://www.instagram.com/mons_fromager_affineur/\" title=\"";
// line 41
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.footer.instagram_page"), "html", null, true);
echo "\"><i class=\"fab fa-instagram\"></i></a>
</div>
</div>
</div>
";
} else {
// line 47
echo " ";
$this->loadTemplate("@BitBagSyliusCmsPlugin/Shop/Page/Error/_notPublished.html.twig", "bundles/BitBagSyliusCmsPlugin/Shop/Page/contact.html.twig", 47)->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.', 47, $this->source); })()), "publishAt", [], "any", false, false, false, 47)]));
// line 48
echo " ";
}
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "bundles/BitBagSyliusCmsPlugin/Shop/Page/contact.html.twig";
}
public function getDebugInfo()
{
return array ( 136 => 48, 133 => 47, 124 => 41, 120 => 40, 115 => 38, 88 => 14, 81 => 10, 75 => 7, 71 => 5, 69 => 4, 66 => 3, 63 => 2, 44 => 1,);
}
public function getSourceContext()
{
return new Source("{% block content %}
{% if published == true %}
{% include 'common/_breadcrumb.html.twig' %}
<div class=\"contact\">
<div class=\"contact__intro\">{{ page.content|raw }}</div>
<div class=\"contact__columns\">
<div class=\"contact__form\">
{{ render(controller('App\\\\Controller\\\\Shop\\\\ContactController::requestAction')) }}
</div>
<div class=\"contact__infos\">
<div class=\"contact__logo\">
<img src=\"{{ asset('assets/shop/img/logo-mons-fromages.svg') }}\" alt=\"Mons Fromages logo\" />
</div>
<div class=\"contact__content\">
<strong>
<i class=\"fas fa-map-marker-alt\"></i>91, allée de l'Auvergnat<br/>
<i class=\"fas\"></i>Les Caves du Pré Normand<br/>
<i class=\"fas\"></i>42370 St Haon le Châtel
</strong>
<br>
<br>
<strong>
<i class=\"fas fa-phone\"></i>Tél. +33 (0)4 77 64 40 79<br/>
<i class=\"fas fa-fax\"></i>Fax. +33 (0)4 77 66 46 79<br/>
<i class=\"fas fa-envelope\"></i><a href=\"mailto:mons@mons-fromagerie.fr\">mons@mons-fromagerie.fr</a><br/>
</strong>
</div>
<div class=\"contact__map\">
<div id='map'></div>
</div>
</div>
</div>
</div>
<div class=\"citation\" data-aos=\"fade-up\">
<div class=\"container\">
<p>{{ 'sylius.contact.follow_us'|trans|raw }}</p>
<div class=\"social\">
<a target=\"_blank\" href=\"https://www.facebook.com/fromagermons42\" title=\"{{ 'app.footer.facebook_page'|trans }}\"><i class=\"fab fa-facebook-f\"></i></a>
<a target=\"_blank\" href=\"https://www.instagram.com/mons_fromager_affineur/\" title=\"{{ 'app.footer.instagram_page'|trans }}\"><i class=\"fab fa-instagram\"></i></a>
</div>
</div>
</div>
{% else %}
{% include '@BitBagSyliusCmsPlugin/Shop/Page/Error/_notPublished.html.twig' with {'publishAt': page.publishAt} %}
{% endif %}
{% endblock %}
", "bundles/BitBagSyliusCmsPlugin/Shop/Page/contact.html.twig", "/home/mons/site/www/templates/bundles/BitBagSyliusCmsPlugin/Shop/Page/contact.html.twig");
}
}