<?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;
/* menu/menucontainer.html.twig */
class __TwigTemplate_689dd0e00979b5a5b5bc08049cb4d98c extends Template
{
private $source;
private $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 = [])
{
$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", "menu/menucontainer.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "menu/menucontainer.html.twig"));
// line 1
echo "<!--topline section visible only on small screens|-->
<section class=\"page_topline ds ms c-gutter-0 s-py-15 s-borderbottom d-xl-none\">
<div class=\"container-fluid\">
<div class=\"row align-items-center\">
<div class=\"col-6 text-left\">
<ul class=\"top-includes\">
";
// line 7
if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("IS_AUTHENTICATED_FULLY")) {
// line 8
echo " <li>
<a class=\"\" href=\"";
// line 9
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("account", [], false);
echo "\">
<i class=\"far fa-address-card\"></i>
</a>
</li>
<li>
<a class=\"color-danger\" href=\"";
// line 14
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_logout", [], false);
echo "\">
<i class=\"fas fa-user-times color-danger\"></i>
</a>
</li>
";
} else {
// line 19
echo " <li>
<a class=\"\" href=\"";
// line 20
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_login", [], false);
echo "\">
<i class=\"far fa-user\"></i>
</a>
</li>
";
}
// line 25
echo " <li>
<a class=\"\" href=\"";
// line 26
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("contact", [], false);
echo "\"><i
class=\"far fa-envelope\"></i></a>
</li>
</ul>
</div>
<div class=\"col-6 text-right\">
";
// line 32
if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_WRITER")) {
// line 33
echo " <a href=\"";
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("my_articles", [], false);
echo "\"
class=\"btn btn-outline-maincolor\">Mes Articles</a>
";
} else {
// line 36
echo " <a href=\"";
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("home_tournois", [], false);
echo "\"
class=\"btn btn-outline-maincolor\">Jouer</a>
";
}
// line 39
echo " </div>
</div>
</div>
</section>
<div class=\"header_absolute \">
<!-- header with two Bootstrap columns - left for logo and right for navigation -->
<header class=\"page_header ds ms bg-transparent justify-nav-center s-overlay s-py-10 \">
<div class=\"container-fluid\">
<div class=\"row align-items-center\">
<div class=\"col-xl-2 col-lg-3 col-md-7 col-8\">
<a href=\"./\" class=\"logo\">
<img src=\"";
// line 52
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\HttpFoundationExtension']->generateAbsoluteUrl($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/cbrc/logo.jpg")), "html", null, true);
echo "\" alt=\"\">
</a>
</div>
<div class=\"col-xl-10 col-lg-9 col-md-5 col-1\">
<div class=\"nav-wrap\">
<nav class=\"top-nav justify-nav-center\">
<ul class=\"nav sf-menu\">
<li class=\"\">
<a href=\"";
// line 60
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("home", [], false);
echo "\">Accueil</a>
</li>
<li>
<a href=\"#\">Menu</a>
<div class=\"mega-menu\">
<ul class=\"mega-menu-row\">
<li class=\"mega-menu-col\">
<a href=\"#\">Le Club</a>
<ul>
<li>
<a href=\"";
// line 70
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("about", [], false);
echo "\">Informations</a>
</li>
<li>
<a href=\"";
// line 73
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("home_tournois", [], false);
echo "\">Tournois</a>
</li>
<li>
<a href=\"";
// line 76
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("home_cours", [], false);
echo "\">Cours</a>
</li>
</ul>
</li>
<li class=\"mega-menu-col\">
<a href=\"\">Autre</a>
<ul>
<li>
<a href=\"";
// line 84
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("home_competitions", [], false);
echo "\">Compétitions</a>
</li>
<li>
<a href=\"";
// line 87
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("home_utilitaires", [], false);
echo "\">Utilitaires</a>
</li>
<li>
<a href=\"";
// line 90
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("home_partenaires", [], false);
echo "\">Partenaires</a>
</li>
</ul>
</li>
</ul>
</div>
</li>
<li>
<a href=\"";
// line 98
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("home_festival", [], false);
echo "\">Le Festival</a>
</li>
<li>
<a href=\"";
// line 101
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("contact", [], false);
echo "\">Contact</a>
</li>
</ul>
</nav>
<span class=\" text-left text-md-right d-none d-xl-block\">
";
// line 106
if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_WRITER")) {
// line 107
echo " <a href=\"";
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("my_articles", [], false);
echo "\"
class=\"btn btn-outline-maincolor\">Mes Articles</a>
";
} else {
// line 110
echo " <a href=\"";
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("home_tournois", [], false);
echo "\"
class=\"btn btn-outline-maincolor\">Jouer</a>
";
}
// line 113
echo " </span>
<ul class=\"top-includes d-none d-xl-block text-right\">
";
// line 115
if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("IS_AUTHENTICATED_FULLY")) {
// line 116
echo " <li>
<a class=\"\" href=\"";
// line 117
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("account", [], false);
echo "\">
<i class=\"far fa-address-card\"></i>
</a>
</li>
<li>
<a class=\"color-danger\" href=\"";
// line 122
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_logout", [], false);
echo "\">
<i class=\"fas fa-user-times color-danger\"></i>
</a>
</li>
";
} else {
// line 127
echo " <li>
<a class=\"\" href=\"";
// line 128
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_login", [], false);
echo "\">
<i class=\"far fa-user\"></i>
</a>
</li>
";
}
// line 133
echo " <li>
<a class=\"\" href=\"";
// line 134
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("contact", [], false);
echo "\"><i
class=\"far fa-envelope\"></i></a>
</li>
</ul>
</div>
</div>
</div>
</div>
<!-- header toggler -->
<span class=\"toggle_menu\"><span></span></span>
</header>
</div>
";
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
public function getTemplateName()
{
return "menu/menucontainer.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 265 => 134, 262 => 133, 254 => 128, 251 => 127, 243 => 122, 235 => 117, 232 => 116, 230 => 115, 226 => 113, 219 => 110, 212 => 107, 210 => 106, 202 => 101, 196 => 98, 185 => 90, 179 => 87, 173 => 84, 162 => 76, 156 => 73, 150 => 70, 137 => 60, 126 => 52, 111 => 39, 104 => 36, 97 => 33, 95 => 32, 86 => 26, 83 => 25, 75 => 20, 72 => 19, 64 => 14, 56 => 9, 53 => 8, 51 => 7, 43 => 1,);
}
public function getSourceContext()
{
return new Source("<!--topline section visible only on small screens|-->
<section class=\"page_topline ds ms c-gutter-0 s-py-15 s-borderbottom d-xl-none\">
<div class=\"container-fluid\">
<div class=\"row align-items-center\">
<div class=\"col-6 text-left\">
<ul class=\"top-includes\">
{% if is_granted('IS_AUTHENTICATED_FULLY') %}
<li>
<a class=\"\" href=\"{{ path('account', {}, relative = false) }}\">
<i class=\"far fa-address-card\"></i>
</a>
</li>
<li>
<a class=\"color-danger\" href=\"{{ path('app_logout', {}, relative = false) }}\">
<i class=\"fas fa-user-times color-danger\"></i>
</a>
</li>
{% else %}
<li>
<a class=\"\" href=\"{{ path('app_login', {}, relative = false) }}\">
<i class=\"far fa-user\"></i>
</a>
</li>
{% endif %}
<li>
<a class=\"\" href=\"{{ path('contact', {}, relative = false) }}\"><i
class=\"far fa-envelope\"></i></a>
</li>
</ul>
</div>
<div class=\"col-6 text-right\">
{% if is_granted('ROLE_WRITER') %}
<a href=\"{{ path('my_articles', {}, relative = false) }}\"
class=\"btn btn-outline-maincolor\">Mes Articles</a>
{% else %}
<a href=\"{{ path('home_tournois', {}, relative = false) }}\"
class=\"btn btn-outline-maincolor\">Jouer</a>
{% endif %}
</div>
</div>
</div>
</section>
<div class=\"header_absolute \">
<!-- header with two Bootstrap columns - left for logo and right for navigation -->
<header class=\"page_header ds ms bg-transparent justify-nav-center s-overlay s-py-10 \">
<div class=\"container-fluid\">
<div class=\"row align-items-center\">
<div class=\"col-xl-2 col-lg-3 col-md-7 col-8\">
<a href=\"./\" class=\"logo\">
<img src=\"{{ absolute_url(asset('assets/images/cbrc/logo.jpg')) }}\" alt=\"\">
</a>
</div>
<div class=\"col-xl-10 col-lg-9 col-md-5 col-1\">
<div class=\"nav-wrap\">
<nav class=\"top-nav justify-nav-center\">
<ul class=\"nav sf-menu\">
<li class=\"\">
<a href=\"{{ path('home', {}, relative = false) }}\">Accueil</a>
</li>
<li>
<a href=\"#\">Menu</a>
<div class=\"mega-menu\">
<ul class=\"mega-menu-row\">
<li class=\"mega-menu-col\">
<a href=\"#\">Le Club</a>
<ul>
<li>
<a href=\"{{ path('about', {}, relative = false) }}\">Informations</a>
</li>
<li>
<a href=\"{{ path('home_tournois', {}, relative = false) }}\">Tournois</a>
</li>
<li>
<a href=\"{{ path('home_cours', {}, relative = false) }}\">Cours</a>
</li>
</ul>
</li>
<li class=\"mega-menu-col\">
<a href=\"\">Autre</a>
<ul>
<li>
<a href=\"{{ path('home_competitions', {}, relative = false) }}\">Compétitions</a>
</li>
<li>
<a href=\"{{ path('home_utilitaires', {}, relative = false) }}\">Utilitaires</a>
</li>
<li>
<a href=\"{{ path('home_partenaires', {}, relative = false) }}\">Partenaires</a>
</li>
</ul>
</li>
</ul>
</div>
</li>
<li>
<a href=\"{{ path('home_festival', {}, relative = false) }}\">Le Festival</a>
</li>
<li>
<a href=\"{{ path('contact', {}, relative = false) }}\">Contact</a>
</li>
</ul>
</nav>
<span class=\" text-left text-md-right d-none d-xl-block\">
{% if is_granted('ROLE_WRITER') %}
<a href=\"{{ path('my_articles', {}, relative = false) }}\"
class=\"btn btn-outline-maincolor\">Mes Articles</a>
{% else %}
<a href=\"{{ path('home_tournois', {}, relative = false) }}\"
class=\"btn btn-outline-maincolor\">Jouer</a>
{% endif %}
</span>
<ul class=\"top-includes d-none d-xl-block text-right\">
{% if is_granted('IS_AUTHENTICATED_FULLY') %}
<li>
<a class=\"\" href=\"{{ path('account', {}, relative = false) }}\">
<i class=\"far fa-address-card\"></i>
</a>
</li>
<li>
<a class=\"color-danger\" href=\"{{ path('app_logout', {}, relative = false) }}\">
<i class=\"fas fa-user-times color-danger\"></i>
</a>
</li>
{% else %}
<li>
<a class=\"\" href=\"{{ path('app_login', {}, relative = false) }}\">
<i class=\"far fa-user\"></i>
</a>
</li>
{% endif %}
<li>
<a class=\"\" href=\"{{ path('contact', {}, relative = false) }}\"><i
class=\"far fa-envelope\"></i></a>
</li>
</ul>
</div>
</div>
</div>
</div>
<!-- header toggler -->
<span class=\"toggle_menu\"><span></span></span>
</header>
</div>
", "menu/menucontainer.html.twig", "/home/maixmebouz/www/dev/cbrc/templates/menu/menucontainer.html.twig");
}
}