<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>{% block title %}Welcome!{% endblock %}</title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="icon" type="image/png" sizes="32x32" href="{{ asset('assets/img/favicon.png') }}">
<link rel="stylesheet" href="{{ asset('assets/css/opentip.css') }}">
<link rel="stylesheet" href="{{ asset('assets/css/styles.css') }}">
<script src="https://cdn.tailwindcss.com"></script>
{% block stylesheets %}
{{ encore_entry_link_tags('app') }}
{% endblock %}
{% block javascripts %}
{{ encore_entry_script_tags('app') }}
{% endblock %}
</head>
<body>
<div class="min-h-screen p-1 md:p-8 bg-gray-200">
<div class="container mx-auto max-w-screen-lg min-h-max b">
<div class="synapse-topbar text-white flex justify-between">
<h1 class=" text-xl"><a href="{{ path('front_homepage') }}">Synapse</a></h1>
{% if app.user %}
<!-- Icône utilisateur avec menu déroulant -->
<div class="md:float-right group relative">
<div id="user-icon-hover-JS" class="cursor-pointer">
<svg class="w-6 h-6 text-gray-600" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512">
<path fill="#ffffff" d="M224 256A128 128 0 1 0 224 0a128 128 0 1 0 0 256zm-45.7 48C79.8 304 0 383.8 0 482.3C0 498.7 13.3 512 29.7 512H418.3c16.4 0 29.7-13.3 29.7-29.7C448 383.8 368.2 304 269.7 304H178.3z"/>
</svg>
</div>
<div id="user-menu-hover-JS" class="absolute right-0 mt-2 w-48 bg-white rounded-lg shadow-2xl z-20 text-sm text-gray-700 hidden">
<a href="{{ path('user_info_show') }}" class="block px-4 py-2 rounded-t-lg hover:bg-gray-100">Mes informations professionnelles</a>
<a href="{{ path('user_mes_marches') }}" class="block px-4 py-2 rounded-b-lg hover:bg-gray-100">Mes marchés</a>
</div>
</div>
{% endif %}
</div>
<div>
<div>
<p>{% block sousTitre %}{% endblock %}</p>
<p>{% block sousSousTitre %}{% endblock %}</p>
</div>
</div>
<div class="mb-8"></div>
{% include '_partials/flash.html.twig' %}
<!-- Carte Principale -->
{% block body %}{% endblock %}
</div>
</div>
<script src="{{ asset('assets/js/script.js') }}"></script>
</body>
</html>