<?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;
/* components/newsletter.html.twig */
class __TwigTemplate_8181c3401c2eec70d0e5147a200ef1c7 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->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = []): iterable
{
$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", "components/newsletter.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "components/newsletter.html.twig"));
// line 1
yield "\t<!-- Newsletter Section -->
\t<section class=\"bg-white dark:bg-gray-900\">
\t\t<div class=\"py-8 px-4 mx-auto max-w-screen-xl lg:py-16\">
\t\t\t<div class=\"mx-auto max-w-screen-md text-center\">
\t\t\t\t<h2 class=\"mb-4 text-3xl font-extrabold tracking-tight text-gray-900 md:text-4xl dark:text-white\">
\t\t\t\t\tS'abonner à la newsletter
\t\t\t\t</h2>
\t\t\t\t<p class=\"mb-8 text-lg font-normal text-gray-500 lg:text-xl dark:text-gray-400\">
\t\t\t\t\tRestez au courant des progrès de la feuille de route, des annonces et des réductions exclusives, n'hésitez pas à vous inscrire avec votre email. 🙂
\t\t\t\t</p>
\t\t\t\t";
// line 12
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["formNewsletter"]) || array_key_exists("formNewsletter", $context) ? $context["formNewsletter"] : (function () { throw new RuntimeError('Variable "formNewsletter" does not exist.', 12, $this->source); })()), 'form_start', ["attr" => ["class" => "space-y-4"]]);
yield "
\t\t\t\t<div class=\"flex flex-col sm:flex-row sm:space-x-3 sm:space-y-0 space-y-3\">
\t\t\t\t\t<div class=\"flex-1\">
\t\t\t\t\t\t";
// line 15
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["formNewsletter"]) || array_key_exists("formNewsletter", $context) ? $context["formNewsletter"] : (function () { throw new RuntimeError('Variable "formNewsletter" does not exist.', 15, $this->source); })()), "email", [], "any", false, false, false, 15), 'widget', ["attr" => ["class" => "bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-primary-500 focus:border-primary-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-primary-500 dark:focus:border-primary-500", "placeholder" => "Votre adresse email"]]);
// line 20
yield "
\t\t\t\t\t</div>
\t\t\t\t\t";
// line 22
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["formNewsletter"]) || array_key_exists("formNewsletter", $context) ? $context["formNewsletter"] : (function () { throw new RuntimeError('Variable "formNewsletter" does not exist.', 22, $this->source); })()), "submit", [], "any", false, false, false, 22), 'widget', ["attr" => ["class" => "py-2.5 px-5 text-sm font-medium text-white bg-primary-700 rounded-lg border border-primary-700 hover:bg-primary-800 focus:ring-4 focus:outline-none focus:ring-primary-300 dark:bg-primary-600 dark:hover:bg-primary-700 dark:focus:ring-primary-800"]]);
// line 26
yield "
\t\t\t\t</div>
\t\t\t\t";
// line 28
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["formNewsletter"]) || array_key_exists("formNewsletter", $context) ? $context["formNewsletter"] : (function () { throw new RuntimeError('Variable "formNewsletter" does not exist.', 28, $this->source); })()), 'form_end');
yield "
\t\t\t</div>
\t\t</div>
\t</section>
\t<!-- Newsletter Section -->";
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
yield from [];
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName(): string
{
return "components/newsletter.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable(): bool
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo(): array
{
return array ( 79 => 28, 75 => 26, 73 => 22, 69 => 20, 67 => 15, 61 => 12, 48 => 1,);
}
public function getSourceContext(): Source
{
return new Source("\t<!-- Newsletter Section -->
\t<section class=\"bg-white dark:bg-gray-900\">
\t\t<div class=\"py-8 px-4 mx-auto max-w-screen-xl lg:py-16\">
\t\t\t<div class=\"mx-auto max-w-screen-md text-center\">
\t\t\t\t<h2 class=\"mb-4 text-3xl font-extrabold tracking-tight text-gray-900 md:text-4xl dark:text-white\">
\t\t\t\t\tS'abonner à la newsletter
\t\t\t\t</h2>
\t\t\t\t<p class=\"mb-8 text-lg font-normal text-gray-500 lg:text-xl dark:text-gray-400\">
\t\t\t\t\tRestez au courant des progrès de la feuille de route, des annonces et des réductions exclusives, n'hésitez pas à vous inscrire avec votre email. 🙂
\t\t\t\t</p>
\t\t\t\t{{ form_start(formNewsletter, {'attr': {'class': 'space-y-4'}}) }}
\t\t\t\t<div class=\"flex flex-col sm:flex-row sm:space-x-3 sm:space-y-0 space-y-3\">
\t\t\t\t\t<div class=\"flex-1\">
\t\t\t\t\t\t{{ form_widget(formNewsletter.email, {
'attr': {
'class': 'bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-primary-500 focus:border-primary-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-primary-500 dark:focus:border-primary-500',
'placeholder': 'Votre adresse email'
}
}) }}
\t\t\t\t\t</div>
\t\t\t\t\t{{ form_widget(formNewsletter.submit, {
'attr': {
'class': 'py-2.5 px-5 text-sm font-medium text-white bg-primary-700 rounded-lg border border-primary-700 hover:bg-primary-800 focus:ring-4 focus:outline-none focus:ring-primary-300 dark:bg-primary-600 dark:hover:bg-primary-700 dark:focus:ring-primary-800'
}
}) }}
\t\t\t\t</div>
\t\t\t\t{{ form_end(formNewsletter) }}
\t\t\t</div>
\t\t</div>
\t</section>
\t<!-- Newsletter Section -->", "components/newsletter.html.twig", "/home/u956140113/domains/sassify.fr/public_html/match-meuble/templates/components/newsletter.html.twig");
}
}