<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8">
<title>{% block title %}Bienvenue{% endblock %}</title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
{# Run `composer require symfony/webpack-encore-bundle` to start using Symfony UX #}
{% block stylesheets %}
<script src="https://kit.fontawesome.com/4b6533d6ff.js" crossorigin="anonymous"></script>
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
{{ encore_entry_link_tags(color()) }}
{% endblock %}
{% block javascripts %}
{{ encore_entry_script_tags('app') }}
{% endblock %}
</head>
<body>
<header>
{% block nav %}
{% include '_nav.html.twig' %}
{% endblock %}
</header>
<main>
<div class="section">
<div class="row">
<div class="col s12">
<h1 class="pl-10 d-flex flex-items-center flex-content-center">
{% if params('logoFileName') %}
<img src="/uploads/logo/{{ params('logoFileName') }}" alt="" width="100" class="mr-20">
{% endif %}
Rendez-vous
</h1>
</div>
</div>
</div>
{% block body %}{% endblock %}
</main>
<footer>
</footer>
{% for type, messages in app.session.flashbag.all() %}
{% if messages %}
{% for message in messages %}
<div
class="flash {{ type }}" data-type="{{ type }}"
data-controller="eflash"
>
<div class="flash-content">
{{ message | raw }}
</div>
<div class="flash-icon success">
<i class="fa-solid fa-thumbs-up text-primary"></i>
</div>
<div class="flash-icon error">
<i class="fa-solid fa-circle-exclamation red-text"></i>
</div>
</div>
{% endfor %}
{% endif %}
{% endfor %}
</body>
</html>