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:
@@ -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>
|
||||
|
||||
@@ -16,10 +16,10 @@
|
||||
<a href="mailto:kontak@o-k-i.net" title="Email" class="social-link">
|
||||
{% include "icons/email.svg" %}
|
||||
</a>
|
||||
<a href="https://wa.me/262692229740" target="_blank" rel="noopener noreferrer" title="WhatsApp" class="social-link">
|
||||
<a href="https://whatsapp.com/channel/0029VbCv7N9AjPXTxygrRu1w" target="_blank" rel="noopener noreferrer" title="WhatsApp channel (PAWOL.NU)" class="social-link">
|
||||
{% include "icons/whatsapp.svg" %}
|
||||
</a>
|
||||
<a href="https://t.me/OrganisationKA" target="_blank" rel="noopener noreferrer" title="Telegram" class="social-link">
|
||||
<a href="https://t.me/OrganisationKA" target="_blank" rel="noopener noreferrer" title="Telegram channel (PAWOL.NU)" class="social-link">
|
||||
{% include "icons/telegram.svg" %}
|
||||
</a>
|
||||
<a href="https://discord.gg/DPvUCA8dD" target="_blank" rel="noopener noreferrer" title="Discord" class="social-link">
|
||||
|
||||
Reference in New Issue
Block a user