add view profile, and create edit profile route

This commit is contained in:
Olivier PARPAILLON
2024-11-19 16:55:21 +01:00
parent 59c2d1445a
commit 4cf7ec14a9
4 changed files with 96 additions and 4 deletions

View File

@@ -23,10 +23,10 @@
<img alt="burger-menu" src="{{ asset('img/burger-menu.svg') }}">
</button>
<ul id="navbar" class="hidden absolute top-12 right-0 w-48 bg-white shadow-md p-4 flex-col space-y-4">
<li><a href="/" class="text-gray-700 font-bold hover:text-blue-500">Accueil</a></li>
<li><a href="/" class="text-gray-700 font-bold hover:text-blue-500">Sortie</a></li>
<li><a href="/" class="text-gray-700 font-bold hover:text-blue-500">ToDo</a></li>
<li><a href="/" class="text-gray-700 font-bold hover:text-blue-500">À propos</a></li>
<li><a href="{{ path('home') }}" class="text-gray-700 font-bold hover:text-blue-500">Accueil</a></li>
<li><a href="{{ path('profile_view', {'uuid': app.user.idParticipant}) }}" class="text-gray-700 font-bold hover:text-blue-500">Mon profile</a></li>
<li><a href="{{ path('home') }}" class="text-gray-700 font-bold hover:text-blue-500">ToDo</a></li>
<li><a href="{{ path('home') }}" class="text-gray-700 font-bold hover:text-blue-500">À propos</a></li>
{% if app.user %}
<li><a href="{{ path('app_logout') }}" class="text-gray-700 font-bold hover:text-blue-500">Se déconnecter</a></li>
{% else %}