fix(contact/footer): distingue les chaînes PAWOL.NU et met à jour WhatsApp

- Met à jour le lien WhatsApp vers la chaîne publique
- Regroupe WhatsApp et Telegram sous une section Chaînes PAWOL.NU
- Affiche les titres de section dans la page contact pour distinguer les chaînes
- Met à jour les tooltips du footer pour indiquer les chaînes PAWOL.NU
This commit is contained in:
2026-07-09 02:38:30 +04:00
parent e2df9c0501
commit 1189141937
5 changed files with 59 additions and 28 deletions
+21 -16
View File
@@ -7,22 +7,27 @@
</div>
<div class="contact-socials">
{% for section in t.contact.sections %}
{% for link in section.links %}
{% set lname = link.text.toLowerCase() %}
<a href="{{ link.url }}" title="{{ link.text }}"{% if link.url.startsWith('http') %} target="_blank" rel="noopener noreferrer"{% endif %} class="contact-social-link">
{% if 'kontak' in lname or 'mail' in lname %}
{% include "icons/email.svg" %}
{% elif 'whatsapp' in lname %}
{% include "icons/whatsapp.svg" %}
{% elif 'telegram' in lname %}
{% include "icons/telegram.svg" %}
{% elif 'discord' in lname %}
{% include "icons/discord.svg" %}
{% elif 'labola' in lname or 'gitea' in lname %}
{% include "icons/gitea.svg" %}
{% endif %}
</a>
{% endfor %}
<div class="contact-socials-group">
<h3 class="contact-socials-title">{{ section.title }}</h3>
<div class="contact-socials-row">
{% for link in section.links %}
{% set lname = link.text.toLowerCase() %}
<a href="{{ link.url }}" title="{{ link.text }}"{% if link.url.startsWith('http') %} target="_blank" rel="noopener noreferrer"{% endif %} class="contact-social-link">
{% if 'kontak' in lname or 'mail' in lname %}
{% include "icons/email.svg" %}
{% elif 'whatsapp' in lname %}
{% include "icons/whatsapp.svg" %}
{% elif 'telegram' in lname %}
{% include "icons/telegram.svg" %}
{% elif 'discord' in lname %}
{% include "icons/discord.svg" %}
{% elif 'labola' in lname or 'gitea' in lname %}
{% include "icons/gitea.svg" %}
{% endif %}
</a>
{% endfor %}
</div>
</div>
{% endfor %}
</div>
</section>