<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{% block title %}{% endblock %} | VEEKING</title>
<link rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 128 128%22><text y=%221.2em%22 font-size=%2296%22>⚫️</text></svg>">
<link href="/assets/style.css" rel="stylesheet">
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.2/dist/js/bootstrap.bundle.min.js" integrity="sha384-OERcA2EqjJCMA+/3y+gxIOqMEjwtxJY7qPCqsdltbNJuaOe923+mo//f6V8Qbsw3" crossorigin="anonymous"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.3.0/css/all.min.css" integrity="sha512-xh6O/CkQoPOWDdYTDqeRdPCVd1SpvCA9XXcUnZS2FmJNp1coAFzvtCN9BmamE+4aHK8yyUHUSCcJHgXloTyT2A==" crossorigin="anonymous" referrerpolicy="no-referrer" />
{# Run `composer require symfony/webpack-encore-bundle` to start using Symfony UX #}
{% block stylesheets %}
{{ encore_entry_link_tags('app') }}
{% endblock %}
{% block javascripts %}
{{ encore_entry_script_tags('app') }}
{% endblock %}
</head>
<body id="top {% block body_id %}{% endblock %}" class="{% block body_class %}{% endblock %}">
<div id="svg-sprite" style="display: none;"></div>
<div id="svg-solid" style="display: none;"></div>
<div id="svg-brands" style="display: none;"></div>
{% if is_granted('ROLE_ADMIN') and 'admin' not in app.request.pathinfo %}
<div class="admin-bar bg-dark p-2">
<div class="container d-flex justify-content-between">
<a class="text-decoration-none" href="{{ path('app_admin_index') }}">
<span class="fas fa-fw fa-user"></span>
Retourner sur l'admin
</a>
<a class="text-decoration-none" href="{{ path('app_logout') }}">Déconnexion</a>
</div>
</div>
{% endif %}
{% block header %}
{% include "front/include/_header.html.twig" %}
{% endblock %}
{% block body %}
{{ include('default/_flash_messages.html.twig') }}
{# {% include "front/include/_breadcrumb.html.twig" with {'request': app.request} %} #}
{% block main %}{% endblock %}
{% endblock %}
{% block footer %}
{% if 'admin' not in app.request.pathinfo %}
{% include "front/include/_footer.html.twig" %}
{% else %}
<div class="mb-4"></div>
{% endif %}
{% endblock %}
</body>
</html>