🎨 style(templates/base.twig): Met à jour la couleur du texte actif et au survol dans la navbar

This commit is contained in:
Serreau Jovann
2025-11-21 21:43:28 +01:00
parent 4211b5b026
commit 3d2c4e71f4

View File

@@ -148,7 +148,7 @@
{% set is_active = (app.request.get('_route') == link.route) %}
<a href="{{ path(link.route) }}"
class="{% if is_active %}bg-gray-100 text-red-600{% else %}text-gray-700 hover:bg-gray-100 hover:text-red-600{% endif %} px-3 py-2 rounded-md text-sm font-medium">
class="{% if is_active %}bg-gray-100 text-red-800{% else %}text-gray-700 hover:bg-gray-100 hover:text-red-800{% endif %} px-3 py-2 rounded-md text-sm font-medium">
{{ link.name }}
</a>
{% endfor %}