<?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;
/* frontend/registration/step_1.html.twig */
class __TwigTemplate_309e19aa66641c494dbbd14aef791cd3 extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'meta_title' => [$this, 'block_meta_title'],
'meta_desc' => [$this, 'block_meta_desc'],
'body_content' => [$this, 'block_body_content'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "frontend/frontend.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "frontend/registration/step_1.html.twig"));
$__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "frontend/registration/step_1.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "frontend/registration/step_1.html.twig"));
$this->parent = $this->loadTemplate("frontend/frontend.html.twig", "frontend/registration/step_1.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 3
public function block_meta_title($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "meta_title"));
$__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "meta_title"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "meta_title"));
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.page.register.step_1.title", [], "seo"), "html", null, true);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 4
public function block_meta_desc($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "meta_desc"));
$__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "meta_desc"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "meta_desc"));
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.page.register.step_1.desc", [], "seo"), "html", null, true);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 6
public function block_body_content($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body_content"));
$__internal_b91a4435ea3baf1e2b6bfda56133dace = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body_content"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body_content"));
// line 7
echo " <div class=\"registration-form\">
<div class=\"landing-header\">
<h1 class=\"titre05\">
";
// line 10
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Inscrivez-vous"), "html", null, true);
echo "
<span>";
// line 11
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("pour gagner du temps"), "html", null, true);
echo "</span>
</h1>
</div>
<div class=\"register_step\" id=\"register_step_1\">
<div class=\"grid-60 tab-p-100 m-100\">
<h2 class=\"titre01 paddingB20 txtcenter bold\">";
// line 16
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.page.register.step_1.header"), "html", null, true);
echo "</h2>
<div id=\"choose_type\">
<a href=\"";
// line 19
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("registration_step", ["step" => 2]);
echo "\" class=\"grid-45 grid-mgleft-5\">
<div class=\"icon\">";
// line 20
echo twig_source($this->env, "svg/register/private.svg");
echo "</div>
<div>";
// line 21
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.page.register.step_1.choose_type.b2c"), "html", null, true);
echo "</div>
</a>
<a href=\"";
// line 23
echo twig_escape_filter($this->env, $this->extensions['App\Twig\Extension\ADExtension']->generateADUrl(), "html", null, true);
echo "\" class=\"grid-45\">
<div class=\"icon\">";
// line 24
echo twig_source($this->env, "svg/register/pro.svg");
echo "</div>
<div>";
// line 25
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.page.register.step_1.choose_type.b2b"), "html", null, true);
echo "</div>
</a>
</div>
</div>
<div id=\"benefits\" class=\"grid-40 tab-p-100 m-100\">
<h3 class=\"titre02 bold marginT10\">";
// line 31
echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("frontend.page.register.step_1.benefits.title");
echo "</h3>
";
// line 33
$this->loadTemplate("frontend/registration/_benefits.html.twig", "frontend/registration/step_1.html.twig", 33)->display($context);
// line 34
echo " </div>
</div>
</div>
<!--Footer -->
";
// line 38
if ((( !(null === twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 38, $this->source); })()), "user", [], "any", false, false, false, 38)) && $this->env->getTest('pro')->getCallable()(twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 38, $this->source); })()), "user", [], "any", false, false, false, 38))) || ("pro" == twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 38, $this->source); })()), "session", [], "any", false, false, false, 38), "get", [0 => "dimension"], "method", false, false, false, 38)))) {
// line 39
echo " ";
$this->loadTemplate("frontend/footer_pro.html.twig", "frontend/registration/step_1.html.twig", 39)->display($context);
// line 40
echo " ";
} else {
// line 41
echo " ";
$this->loadTemplate("frontend/footer.html.twig", "frontend/registration/step_1.html.twig", 41)->display($context);
// line 42
echo " ";
}
// line 43
echo " <!-- FIN Footer -->
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "frontend/registration/step_1.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 209 => 43, 206 => 42, 203 => 41, 200 => 40, 197 => 39, 195 => 38, 189 => 34, 187 => 33, 182 => 31, 173 => 25, 169 => 24, 165 => 23, 160 => 21, 156 => 20, 152 => 19, 146 => 16, 138 => 11, 134 => 10, 129 => 7, 116 => 6, 91 => 4, 66 => 3, 37 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends \"frontend/frontend.html.twig\" %}
{% block meta_title %}{{ 'frontend.page.register.step_1.title'|trans({}, \"seo\") }}{% endblock %}
{% block meta_desc %}{{ 'frontend.page.register.step_1.desc'|trans({}, \"seo\") }}{% endblock %}
{% block body_content %}
<div class=\"registration-form\">
<div class=\"landing-header\">
<h1 class=\"titre05\">
{{ 'Inscrivez-vous'|trans }}
<span>{{ 'pour gagner du temps' | trans }}</span>
</h1>
</div>
<div class=\"register_step\" id=\"register_step_1\">
<div class=\"grid-60 tab-p-100 m-100\">
<h2 class=\"titre01 paddingB20 txtcenter bold\">{{ 'frontend.page.register.step_1.header'|trans }}</h2>
<div id=\"choose_type\">
<a href=\"{{ path('registration_step', {step: 2}) }}\" class=\"grid-45 grid-mgleft-5\">
<div class=\"icon\">{{ source('svg/register/private.svg') }}</div>
<div>{{ 'frontend.page.register.step_1.choose_type.b2c'|trans }}</div>
</a>
<a href=\"{{ getADUrl() }}\" class=\"grid-45\">
<div class=\"icon\">{{ source('svg/register/pro.svg') }}</div>
<div>{{ 'frontend.page.register.step_1.choose_type.b2b'|trans }}</div>
</a>
</div>
</div>
<div id=\"benefits\" class=\"grid-40 tab-p-100 m-100\">
<h3 class=\"titre02 bold marginT10\">{{ 'frontend.page.register.step_1.benefits.title'|trans|raw }}</h3>
{% include('frontend/registration/_benefits.html.twig') %}
</div>
</div>
</div>
<!--Footer -->
{% if (app.user is not null and app.user is pro) or 'pro' == app.session.get('dimension') %}
{% include 'frontend/footer_pro.html.twig' %}
{% else %}
{% include 'frontend/footer.html.twig' %}
{% endif %}
<!-- FIN Footer -->
{% endblock body_content %}
", "frontend/registration/step_1.html.twig", "/srv/templates/frontend/registration/step_1.html.twig");
}
}