<?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;
/* public/index.html.twig */
class __TwigTemplate_cd250ddb62e126e672f824d1bbed9d9309e4e3d11d5ad1d0ae5aea7ccf8b2176 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'pageCSS' => [$this, 'block_pageCSS'],
'content' => [$this, 'block_content'],
'modal' => [$this, 'block_modal'],
'pageJS' => [$this, 'block_pageJS'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "public/base.html.twig";
}
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", "public/index.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "public/index.html.twig"));
$this->parent = $this->loadTemplate("public/base.html.twig", "public/index.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 3
public function block_pageCSS($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", "pageCSS"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "pageCSS"));
// line 4
echo " <style>
.partage-fb {
bottom: 40px;
right: 50px;
top: auto;
font-size: 13px;
/* font-weight: 700; */
padding: 14px 26px;
color: #4C97FD;
background: white;
transition: all 0.3s linear;
}
.partage-fb:hover {
bottom: 40px;
right: 50px;
top: auto;
font-size: 13px;
/* font-weight: 700; */
padding: 14px 26px;
background: #4C97FD;
color: white;
}
</style>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 29
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 30
echo " <!--section -->
";
// line 32
echo " ";
// line 33
echo " ";
// line 34
echo " ";
// line 35
echo " ";
// line 36
echo " ";
// line 37
echo " ";
// line 38
echo " ";
// line 39
echo " ";
// line 40
echo " ";
// line 41
echo " ";
// line 42
echo " ";
// line 43
echo " ";
// line 44
echo " ";
// line 45
echo " ";
// line 46
echo " ";
// line 47
echo " ";
// line 48
echo " ";
// line 49
echo " ";
// line 50
echo " ";
// line 51
echo " ";
// line 52
echo " ";
// line 53
echo " ";
// line 54
echo " ";
// line 55
echo " <!--section end-->
<div class=\"hero-map-wrap\">
<div class=\"hero-map\">
<!-- Map -->
<div class=\"map-container fw-map big_map\">
<div id=\"map-main\"></div>
<ul class=\"mapnavigation no-list-style\">
<li><a href=\"#\" class=\"prevmap-nav mapnavbtn\"><span><i class=\"fas fa-caret-left\"></i></span></a>
</li>
<li><a href=\"#\" class=\"nextmap-nav mapnavbtn\"><span><i class=\"fas fa-caret-right\"></i></span></a>
</li>
</ul>
<div class=\"scrollContorl mapnavbtn tolt\" data-microtip-position=\"top-left\"
data-tooltip=\"Enable Scrolling\"><span><i class=\"fal fa-unlock\"></i></span></div>
<div class=\"location-btn geoLocation tolt\" data-microtip-position=\"top-left\"
data-tooltip=\"Your location\"><span><i class=\"fal fa-location\"></i></span></div>
</div>
<!-- Map end -->
<div class=\"header-sec-link\">
<a href=\"#sec1\" class=\"custom-scroll-link\"><i class=\"fal fa-angle-double-down\"></i></a>
</div>
</div>
</div>
<!--section -->
<section class=\"slw-sec\" id=\"sec1\">
<div class=\"section-title\">
<h2>Les Dernières Prières</h2>
<span class=\"section-separator\"></span>
</div>
<div class=\"listing-slider-wrap fl-wrap\">
<div class=\"listing-slider fl-wrap\">
<div class=\"swiper-container\">
<div class=\"swiper-wrapper\">
";
// line 90
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["lastPrayers"]) || array_key_exists("lastPrayers", $context) ? $context["lastPrayers"] : (function () { throw new RuntimeError('Variable "lastPrayers" does not exist.', 90, $this->source); })()));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["prayer"]) {
// line 91
echo " ";
echo twig_include($this->env, $context, "public/common/_prayer_slide_item.html.twig");
echo "
";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['prayer'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 93
echo " </div>
</div>
<div class=\"listing-carousel-button listing-carousel-button-next2\"><i
class=\"fas fa-caret-right\"></i></div>
<div class=\"listing-carousel-button listing-carousel-button-prev2\"><i
class=\"fas fa-caret-left\"></i></div>
</div>
<div class=\"tc-pagination_wrap\">
<div class=\"tc-pagination2\"></div>
</div>
</div>
</section>
<!--section end-->
<div class=\"sec-circle fl-wrap\"></div>
<!--section -->
<section class=\"gray-bg hidden-section particles-wrapper\" id=\"sec2\">
<div class=\"container\">
<div class=\"section-title\">
<h2>Participants par localisation</h2>
<span class=\"section-separator\"></span>
</div>
<div class=\"listing-item-grid_container fl-wrap\">
<div class=\"row\">
<!-- listing-item-grid -->
";
// line 119
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_slice($this->env, twig_get_attribute($this->env, $this->source, (isset($context["stat"]) || array_key_exists("stat", $context) ? $context["stat"] : (function () { throw new RuntimeError('Variable "stat" does not exist.', 119, $this->source); })()), "cities", [], "any", false, false, false, 119), 0, 6));
foreach ($context['_seq'] as $context["_key"] => $context["city"]) {
// line 120
echo " <a href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("prayer", ["prayer" => ["city" => twig_get_attribute($this->env, $this->source, $context["city"], "name", [], "any", false, false, false, 120)]]), "html", null, true);
echo "\">
<div class=\"col-sm-4 city-item\" data-city-name=\"";
// line 121
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["city"], "name", [], "any", false, false, false, 121), "html", null, true);
echo "\">
<div class=\"listing-item-grid\">
";
// line 123
$context["cityImagePath"] = ((twig_get_attribute($this->env, $this->source, $context["city"], "image", [], "any", false, false, false, 123)) ? (($this->extensions['App\Twig\Extension\Utils']->getParameter("image_city_directory_prefix") . twig_get_attribute($this->env, $this->source, $context["city"], "image", [], "any", false, false, false, 123))) : ("images/localisation.jpg"));
// line 124
echo " <div class=\"bg\"
data-bg=\"";
// line 125
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("asset_url", ["path" => (isset($context["cityImagePath"]) || array_key_exists("cityImagePath", $context) ? $context["cityImagePath"] : (function () { throw new RuntimeError('Variable "cityImagePath" does not exist.', 125, $this->source); })()), "h" => "530"]), "html", null, true);
echo "\"></div>
<div class=\"d-gr-sec\"></div>
<div class=\"listing-counter color2-bg\"><span>";
// line 127
echo twig_escape_filter($this->env, twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, $context["city"], "participants", [], "any", false, false, false, 127)), "html", null, true);
echo " </span>
Participant";
// line 128
echo (((1 === twig_compare(twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, $context["city"], "participants", [], "any", false, false, false, 128)), 1))) ? ("s") : (""));
echo "</div>
<div class=\"listing-item-grid_title\">
<h3>
<a href=\"";
// line 131
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("prayer", ["prayer" => ["city" => twig_get_attribute($this->env, $this->source, $context["city"], "name", [], "any", false, false, false, 131)]]), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["city"], "name", [], "any", false, false, false, 131), "html", null, true);
echo "</a>
</h3>
";
// line 134
echo " </div>
</div>
</div>
</a>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['city'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 139
echo " <!-- listing-item-grid end -->
</div>
</div>
<a href=\"";
// line 142
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("city");
echo "\" class=\"btn dec_btn color2-bg\">Voir toutes les localisations
<i class=\"fal fa-arrow-alt-right\" style=\"color:#fff;\"></i></a>
</div>
</section>
<!--section end-->
<!-- section -->
<section class=\"parallax-section small-par\" data-scrollax-parent=\"true\">
<div class=\"bg par-elem \" data-bg=\"";
// line 150
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/bg.jpg"), "html", null, true);
echo "\"
data-scrollax=\"properties: { translateY: '30%' }\"></div>
<div class=\"overlay op7\"></div>
<div class=\"container\">
<div class=\" single-facts single-facts_2 fl-wrap\">
<!-- inline-facts -->
<div class=\"inline-facts-wrap\" style=\"width: 33.3% !important;\">
<div class=\"inline-facts\">
<div class=\"milestone-counter\">
<div class=\"stats animaper\">
<div class=\"num\" data-content=\"0\"
data-num=\"";
// line 161
echo twig_escape_filter($this->env, twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["stat"]) || array_key_exists("stat", $context) ? $context["stat"] : (function () { throw new RuntimeError('Variable "stat" does not exist.', 161, $this->source); })()), "prayingCities", [], "any", false, false, false, 161)), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["stat"]) || array_key_exists("stat", $context) ? $context["stat"] : (function () { throw new RuntimeError('Variable "stat" does not exist.', 161, $this->source); })()), "prayingCities", [], "any", false, false, false, 161)), "html", null, true);
echo "</div>
</div>
</div>
<h6>Nombre de villes priant pour madagascar</h6>
</div>
</div>
<!-- inline-facts end -->
<!-- inline-facts -->
<div class=\"inline-facts-wrap\" style=\"width: 33.3% !important;\">
<div class=\"inline-facts\">
<div class=\"milestone-counter\">
<div class=\"stats animaper\">
<div class=\"num\" data-content=\"0\"
data-num=\"";
// line 174
echo twig_escape_filter($this->env, twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["stat"]) || array_key_exists("stat", $context) ? $context["stat"] : (function () { throw new RuntimeError('Variable "stat" does not exist.', 174, $this->source); })()), "prayers", [], "any", false, false, false, 174)), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["stat"]) || array_key_exists("stat", $context) ? $context["stat"] : (function () { throw new RuntimeError('Variable "stat" does not exist.', 174, $this->source); })()), "prayers", [], "any", false, false, false, 174)), "html", null, true);
echo "</div>
</div>
</div>
<h6>Nombre total de sujet de prières</h6>
</div>
</div>
<!-- inline-facts end -->
<!-- inline-facts -->
<div class=\"inline-facts-wrap\" style=\"width: 33.3% !important;\">
<div class=\"inline-facts\">
<div class=\"milestone-counter\">
<div class=\"stats animaper\">
<div class=\"num\" data-content=\"0\"
data-num=\"";
// line 187
echo twig_escape_filter($this->env, twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["stat"]) || array_key_exists("stat", $context) ? $context["stat"] : (function () { throw new RuntimeError('Variable "stat" does not exist.', 187, $this->source); })()), "religious", [], "any", false, false, false, 187)), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["stat"]) || array_key_exists("stat", $context) ? $context["stat"] : (function () { throw new RuntimeError('Variable "stat" does not exist.', 187, $this->source); })()), "religious", [], "any", false, false, false, 187)), "html", null, true);
echo "</div>
</div>
</div>
<h6>Nombre total de personne ayant prié pour Madagascar</h6>
</div>
</div>
<!-- inline-facts end -->
</div>
</div>
</section>
<!--section end-->
<!--section -->
<section class=\"process-section\" data-scrollax-parent=\"true\">
<div class=\"container\">
<div class=\"section-title\">
<h2>Comment Ça Marche</h2>
";
// line 205
echo " <span class=\"section-separator\"></span>
";
// line 207
echo " ";
// line 208
echo " ";
// line 209
echo " </div>
<div class=\"process-wrap fl-wrap\">
<ul class=\"no-list-style\">
<li>
<div class=\"process-item\">
<span class=\"process-count\">01 </span>
<div class=\"time-line-icon\"><i class=\"fal fa-user-plus\"></i></div>
<h4> S'inscrire</h4>
</div>
<span class=\"pr-dec\"></span>
</li>
<li>
<div class=\"process-item\">
<span class=\"process-count\">03</span>
<div class=\"time-line-icon\"><i class=\"fal fa-praying-hands\"></i></div>
<h4> Prier pour Madagascar</h4>
</div>
</li>
<li>
<div class=\"process-item\">
<span class=\"process-count\">02</span>
<div class=\"time-line-icon\"><i class=\"fal fa-mail-bulk\"></i></div>
<h4> Soumettre un sujet de prière pour le pays</h4>
</div>
<span class=\"pr-dec\"></span>
</li>
</ul>
<div class=\"process-end\"><i class=\"fal fa-check\"></i></div>
</div>
</div>
</section>
<!--section end-->
";
// line 270
echo "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 273
public function block_modal($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", "modal"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "modal"));
// line 274
echo " ";
$this->displayParentBlock("modal", $context, $blocks);
echo "
";
// line 275
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["lastPrayers"]) || array_key_exists("lastPrayers", $context) ? $context["lastPrayers"] : (function () { throw new RuntimeError('Variable "lastPrayers" does not exist.', 275, $this->source); })()));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["prayer"]) {
// line 276
echo " ";
echo twig_include($this->env, $context, "public/prayer/_listing_item_modal.html.twig");
echo "
";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['prayer'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 281
public function block_pageJS($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", "pageJS"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "pageJS"));
// line 282
echo " ";
$this->displayParentBlock("pageJS", $context, $blocks);
echo "
<script>
\$(document).on(\"click\", \".praying-btn\", function () {
let element = this;
let \$element = \$(element);
let url = \$element.data('url') ? \$element.data('url') : null;
let dataMethod = \$element.data('method') ? \$element.data('method') : 'POST';
let args = {
element: `#\${element.id}`,
url,
dataMethod,
}
sendPraying(args)
});
</script>
<script src=\"";
// line 298
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("townhub/js/map-plugins.js"), "html", null, true);
echo "\"></script>
<script>
";
// line 300
echo twig_include($this->env, $context, "public/prayer/_map.js.twig");
echo "
</script>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "public/index.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 546 => 300, 541 => 298, 521 => 282, 511 => 281, 486 => 276, 469 => 275, 464 => 274, 454 => 273, 443 => 270, 408 => 209, 406 => 208, 404 => 207, 401 => 205, 379 => 187, 361 => 174, 343 => 161, 329 => 150, 318 => 142, 313 => 139, 303 => 134, 296 => 131, 290 => 128, 286 => 127, 281 => 125, 278 => 124, 276 => 123, 271 => 121, 266 => 120, 262 => 119, 234 => 93, 217 => 91, 200 => 90, 163 => 55, 161 => 54, 159 => 53, 157 => 52, 155 => 51, 153 => 50, 151 => 49, 149 => 48, 147 => 47, 145 => 46, 143 => 45, 141 => 44, 139 => 43, 137 => 42, 135 => 41, 133 => 40, 131 => 39, 129 => 38, 127 => 37, 125 => 36, 123 => 35, 121 => 34, 119 => 33, 117 => 32, 114 => 30, 104 => 29, 71 => 4, 61 => 3, 38 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends 'public/base.html.twig' %}
{% block pageCSS %}
<style>
.partage-fb {
bottom: 40px;
right: 50px;
top: auto;
font-size: 13px;
/* font-weight: 700; */
padding: 14px 26px;
color: #4C97FD;
background: white;
transition: all 0.3s linear;
}
.partage-fb:hover {
bottom: 40px;
right: 50px;
top: auto;
font-size: 13px;
/* font-weight: 700; */
padding: 14px 26px;
background: #4C97FD;
color: white;
}
</style>
{% endblock %}
{% block content %}
<!--section -->
{# <section class=\"hero-section\" data-scrollax-parent=\"true\"> #}
{# <div class=\"bg-tabs-wrap\"> #}
{# <video class=\"h-full w-full object-cover home-slide-video\" autoplay=\"\" loop=\"\" muted=\"\" playsinline=\"\"> #}
{# <source src=\"{{ asset('videos/bg.mp4') }}\" type=\"video/mp4\"> #}
{# </video> #}
{# <div class=\"bg-parallax-wrap home-slide-image\" data-scrollax=\"properties: { translateY: '200px' }\"> #}
{# <div class=\"bg bg_tabs\" data-bg=\"{{ asset('images/bg.jpg') }}\"></div> #}
{# #}
{# <div class=\"overlay op7\"></div> #}
{# </div> #}
{# </div> #}
{# <div class=\"container small-container\" style=\"min-height: calc( 100vh - 279px ); display: grid\"> #}
{# <div class=\"intro-item fl-wrap\"> #}
{# <span class=\"section-separator\"></span> #}
{# <div class=\"bubbles\"> #}
{# <h1>JE PRIE POUR MADAGASCAR</h1> #}
{# <h3>Un mouvement d'unité pour Madagascar</h3> #}
{# </div> #}
{# </div> #}
{# </div> #}
{# <div class=\"header-sec-link\"> #}
{# <a href=\"#sec1\" class=\"custom-scroll-link\"><i class=\"fal fa-angle-double-down\"></i></a> #}
{# </div> #}
{# </section> #}
<!--section end-->
<div class=\"hero-map-wrap\">
<div class=\"hero-map\">
<!-- Map -->
<div class=\"map-container fw-map big_map\">
<div id=\"map-main\"></div>
<ul class=\"mapnavigation no-list-style\">
<li><a href=\"#\" class=\"prevmap-nav mapnavbtn\"><span><i class=\"fas fa-caret-left\"></i></span></a>
</li>
<li><a href=\"#\" class=\"nextmap-nav mapnavbtn\"><span><i class=\"fas fa-caret-right\"></i></span></a>
</li>
</ul>
<div class=\"scrollContorl mapnavbtn tolt\" data-microtip-position=\"top-left\"
data-tooltip=\"Enable Scrolling\"><span><i class=\"fal fa-unlock\"></i></span></div>
<div class=\"location-btn geoLocation tolt\" data-microtip-position=\"top-left\"
data-tooltip=\"Your location\"><span><i class=\"fal fa-location\"></i></span></div>
</div>
<!-- Map end -->
<div class=\"header-sec-link\">
<a href=\"#sec1\" class=\"custom-scroll-link\"><i class=\"fal fa-angle-double-down\"></i></a>
</div>
</div>
</div>
<!--section -->
<section class=\"slw-sec\" id=\"sec1\">
<div class=\"section-title\">
<h2>Les Dernières Prières</h2>
<span class=\"section-separator\"></span>
</div>
<div class=\"listing-slider-wrap fl-wrap\">
<div class=\"listing-slider fl-wrap\">
<div class=\"swiper-container\">
<div class=\"swiper-wrapper\">
{% for prayer in lastPrayers %}
{{ include('public/common/_prayer_slide_item.html.twig') }}
{% endfor %}
</div>
</div>
<div class=\"listing-carousel-button listing-carousel-button-next2\"><i
class=\"fas fa-caret-right\"></i></div>
<div class=\"listing-carousel-button listing-carousel-button-prev2\"><i
class=\"fas fa-caret-left\"></i></div>
</div>
<div class=\"tc-pagination_wrap\">
<div class=\"tc-pagination2\"></div>
</div>
</div>
</section>
<!--section end-->
<div class=\"sec-circle fl-wrap\"></div>
<!--section -->
<section class=\"gray-bg hidden-section particles-wrapper\" id=\"sec2\">
<div class=\"container\">
<div class=\"section-title\">
<h2>Participants par localisation</h2>
<span class=\"section-separator\"></span>
</div>
<div class=\"listing-item-grid_container fl-wrap\">
<div class=\"row\">
<!-- listing-item-grid -->
{% for city in stat.cities|slice(0,6) %}
<a href=\"{{ path('prayer', { \"prayer\": {\"city\" : city.name}}) }}\">
<div class=\"col-sm-4 city-item\" data-city-name=\"{{ city.name }}\">
<div class=\"listing-item-grid\">
{% set cityImagePath = city.image ? get_parameter('image_city_directory_prefix') ~ city.image : 'images/localisation.jpg' %}
<div class=\"bg\"
data-bg=\"{{ url('asset_url', {'path': cityImagePath, 'h':'530' }) }}\"></div>
<div class=\"d-gr-sec\"></div>
<div class=\"listing-counter color2-bg\"><span>{{ city.participants|length }} </span>
Participant{{ city.participants|length > 1 ? \"s\" : \"\" }}</div>
<div class=\"listing-item-grid_title\">
<h3>
<a href=\"{{ path('prayer', { \"prayer\": {\"city\" : city.name}}) }}\">{{ city.name }}</a>
</h3>
{# <p>Constant care and attention to the patients makes good record</p> #}
</div>
</div>
</div>
</a>
{% endfor %}
<!-- listing-item-grid end -->
</div>
</div>
<a href=\"{{ path('city') }}\" class=\"btn dec_btn color2-bg\">Voir toutes les localisations
<i class=\"fal fa-arrow-alt-right\" style=\"color:#fff;\"></i></a>
</div>
</section>
<!--section end-->
<!-- section -->
<section class=\"parallax-section small-par\" data-scrollax-parent=\"true\">
<div class=\"bg par-elem \" data-bg=\"{{ asset('images/bg.jpg') }}\"
data-scrollax=\"properties: { translateY: '30%' }\"></div>
<div class=\"overlay op7\"></div>
<div class=\"container\">
<div class=\" single-facts single-facts_2 fl-wrap\">
<!-- inline-facts -->
<div class=\"inline-facts-wrap\" style=\"width: 33.3% !important;\">
<div class=\"inline-facts\">
<div class=\"milestone-counter\">
<div class=\"stats animaper\">
<div class=\"num\" data-content=\"0\"
data-num=\"{{ stat.prayingCities|length }}\">{{ stat.prayingCities|length }}</div>
</div>
</div>
<h6>Nombre de villes priant pour madagascar</h6>
</div>
</div>
<!-- inline-facts end -->
<!-- inline-facts -->
<div class=\"inline-facts-wrap\" style=\"width: 33.3% !important;\">
<div class=\"inline-facts\">
<div class=\"milestone-counter\">
<div class=\"stats animaper\">
<div class=\"num\" data-content=\"0\"
data-num=\"{{ stat.prayers|length }}\">{{ stat.prayers|length }}</div>
</div>
</div>
<h6>Nombre total de sujet de prières</h6>
</div>
</div>
<!-- inline-facts end -->
<!-- inline-facts -->
<div class=\"inline-facts-wrap\" style=\"width: 33.3% !important;\">
<div class=\"inline-facts\">
<div class=\"milestone-counter\">
<div class=\"stats animaper\">
<div class=\"num\" data-content=\"0\"
data-num=\"{{ stat.religious|length }}\">{{ stat.religious|length }}</div>
</div>
</div>
<h6>Nombre total de personne ayant prié pour Madagascar</h6>
</div>
</div>
<!-- inline-facts end -->
</div>
</div>
</section>
<!--section end-->
<!--section -->
<section class=\"process-section\" data-scrollax-parent=\"true\">
<div class=\"container\">
<div class=\"section-title\">
<h2>Comment Ça Marche</h2>
{# <div class=\"section-subtitle\">Discover & Connect</div> #}
<span class=\"section-separator\"></span>
{# <p>Morbi varius, nulla sit amet rutrum elementum, est elit finibus tellus, ut tristique #}
{# elit #}
{# risus at metus.</p> #}
</div>
<div class=\"process-wrap fl-wrap\">
<ul class=\"no-list-style\">
<li>
<div class=\"process-item\">
<span class=\"process-count\">01 </span>
<div class=\"time-line-icon\"><i class=\"fal fa-user-plus\"></i></div>
<h4> S'inscrire</h4>
</div>
<span class=\"pr-dec\"></span>
</li>
<li>
<div class=\"process-item\">
<span class=\"process-count\">03</span>
<div class=\"time-line-icon\"><i class=\"fal fa-praying-hands\"></i></div>
<h4> Prier pour Madagascar</h4>
</div>
</li>
<li>
<div class=\"process-item\">
<span class=\"process-count\">02</span>
<div class=\"time-line-icon\"><i class=\"fal fa-mail-bulk\"></i></div>
<h4> Soumettre un sujet de prière pour le pays</h4>
</div>
<span class=\"pr-dec\"></span>
</li>
</ul>
<div class=\"process-end\"><i class=\"fal fa-check\"></i></div>
</div>
</div>
</section>
<!--section end-->
{#{% if postsFb %}
<!--section -->
<section class=\"slw-sec\" id=\"sec1\">
<div class=\"section-title\">
<h2>Les Dernières Publications</h2>
<span class=\"section-separator\"></span>
</div>
<div class=\"listing-slider-wrap fl-wrap\">
<div class=\"listing-slider fl-wrap\">
<div class=\"swiper-container\">
<div class=\"swiper-wrapper\">
{% for postFb in postsFb.data %}
{{ include('public/common/_facebook_post_slide_item.html.twig') }}
{% endfor %}
</div>
</div>
<div class=\"listing-carousel-button listing-carousel-button-next2\"><i
class=\"fas fa-caret-right\"></i></div>
<div class=\"listing-carousel-button listing-carousel-button-prev2\"><i
class=\"fas fa-caret-left\"></i></div>
</div>
<div class=\"tc-pagination_wrap\">
<div class=\"tc-pagination2\"></div>
</div>
</div>
</section>
<!--section end-->
{% endif %}#}
{% endblock %}
{% block modal %}
{{ parent() }}
{% for prayer in lastPrayers %}
{{ include('public/prayer/_listing_item_modal.html.twig') }}
{% endfor %}
{% endblock %}
{% block pageJS %}
{{ parent() }}
<script>
\$(document).on(\"click\", \".praying-btn\", function () {
let element = this;
let \$element = \$(element);
let url = \$element.data('url') ? \$element.data('url') : null;
let dataMethod = \$element.data('method') ? \$element.data('method') : 'POST';
let args = {
element: `#\${element.id}`,
url,
dataMethod,
}
sendPraying(args)
});
</script>
<script src=\"{{ asset('townhub/js/map-plugins.js') }}\"></script>
<script>
{{ include('public/prayer/_map.js.twig') }}
</script>
{% endblock %}
", "public/index.html.twig", "/var/www/my-preprod/php74/jppmada/srcs/templates/public/index.html.twig");
}
}