<?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;

/* layouts/navbar.html.twig */
class __TwigTemplate_b530ee5fa46eb280e1cd75919cb5d85e 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", "layouts/navbar.html.twig"));

        $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "layouts/navbar.html.twig"));

        // line 1
        yield "<link rel=\"stylesheet\" href=\"";
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("css/navbar.css"), "html", null, true);
        yield "\">
<nav class=\"navbar\">
\t<div class=\"logo\">
\t\t<a href=\"";
        // line 4
        yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_base");
        yield "\"><img src=\"";
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("img/logo.png"), "html", null, true);
        yield "\" alt=\"Logo\" width=\"150px\"></a>
\t</div>
\t<div
\t\tclass=\"nav-links\">
\t\t";
        // line 17
        yield "\t\t<a href=\"#\">Animaux</a>
\t\t<a href=\"#\">Réservation</a>
\t\t<a href=\"#\">Boutique</a>
\t\t<a href=\"#\">Parrainage</a>
\t\t<a href=\"#\">Contact</a>
\t\t";
        // line 22
        if ( !CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 22, $this->source); })()), "user", [], "any", false, false, false, 22)) {
            // line 23
            yield "\t\t<a href=\"";
            yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_login");
            yield "\">Connexion</a>
\t\t";
        }
        // line 25
        yield "\t\t";
        if (CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 25, $this->source); })()), "user", [], "any", false, false, false, 25)) {
            // line 26
            yield "\t\t\t<a href=\"#\" class=\"navbar-admin\">
\t\t\t\tProfil
\t\t\t</a>
\t\t\t";
            // line 30
            yield "\t\t";
        }
        // line 31
        yield "\t</div>
\t";
        // line 32
        if (CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 32, $this->source); })()), "user", [], "any", false, false, false, 32)) {
            // line 33
            yield "\t\t<div
\t\t\tclass=\"nav-account\">
\t\t\t";
            // line 36
            yield "\t\t\t<a href=\"";
            yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_logout");
            yield "\">Déconnexion</a>
\t\t\t<a href=\"#\">Profil</a>
\t\t</div>
\t";
        }
        // line 40
        yield "\t<button class=\"menu-toggle\" onclick=\"toggleMenu()\">☰</button>

\t<script src=\"";
        // line 42
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("js/navbar.js"), "html", null, true);
        yield "\"></script>

</nav>
";
        
        $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);

        
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);

        yield from [];
    }

    /**
     * @codeCoverageIgnore
     */
    public function getTemplateName(): string
    {
        return "layouts/navbar.html.twig";
    }

    /**
     * @codeCoverageIgnore
     */
    public function isTraitable(): bool
    {
        return false;
    }

    /**
     * @codeCoverageIgnore
     */
    public function getDebugInfo(): array
    {
        return array (  111 => 42,  107 => 40,  99 => 36,  95 => 33,  93 => 32,  90 => 31,  87 => 30,  82 => 26,  79 => 25,  73 => 23,  71 => 22,  64 => 17,  55 => 4,  48 => 1,);
    }

    public function getSourceContext(): Source
    {
        return new Source("<link rel=\"stylesheet\" href=\"{{ asset('css/navbar.css') }}\">
<nav class=\"navbar\">
\t<div class=\"logo\">
\t\t<a href=\"{{ path('app_base') }}\"><img src=\"{{ asset('img/logo.png') }}\" alt=\"Logo\" width=\"150px\"></a>
\t</div>
\t<div
\t\tclass=\"nav-links\">
\t\t{#<div class=\"dropdown-nav\">
\t\t\t\t\t<a href=\"#\">Patch Notes</a>
\t\t\t\t\t<i class='bx bx-chevron-down'></i>
\t\t\t\t\t<div class=\"dropdown-menu-nav\">
\t\t\t\t\t\t<a href=\"#\">1</a>
\t\t\t\t\t\t<a href=\"#\">2</a>
\t\t\t\t\t\t<a href=\"#\">3</a>
\t\t\t\t\t</div>
\t\t\t\t</div>#}
\t\t<a href=\"#\">Animaux</a>
\t\t<a href=\"#\">Réservation</a>
\t\t<a href=\"#\">Boutique</a>
\t\t<a href=\"#\">Parrainage</a>
\t\t<a href=\"#\">Contact</a>
\t\t{% if not app.user %}
\t\t<a href=\"{{ path('app_login') }}\">Connexion</a>
\t\t{% endif %}
\t\t{% if app.user %}
\t\t\t<a href=\"#\" class=\"navbar-admin\">
\t\t\t\tProfil
\t\t\t</a>
\t\t\t{#<a href=\"{{ path('app_logout') }}\" class=\"navbar-admin\">Déconnexion</a> #}
\t\t{% endif %}
\t</div>
\t{% if app.user %}
\t\t<div
\t\t\tclass=\"nav-account\">
\t\t\t{# <button class=\"navbar-button\">#}
\t\t\t<a href=\"{{ path('app_logout') }}\">Déconnexion</a>
\t\t\t<a href=\"#\">Profil</a>
\t\t</div>
\t{% endif %}
\t<button class=\"menu-toggle\" onclick=\"toggleMenu()\">☰</button>

\t<script src=\"{{ asset('js/navbar.js') }}\"></script>

</nav>
", "layouts/navbar.html.twig", "/var/www/html/testjsp/LamaZoo/templates/layouts/navbar.html.twig");
    }
}
