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
+4 -4
View File
@@ -5,14 +5,14 @@
{ {
"title": "🌐 Web & Contact", "title": "🌐 Web & Contact",
"links": [ "links": [
{ "text": "kontak@o-k-i.net", "url": "mailto:kontak@o-k-i.net" }, { "text": "kontak@o-k-i.net", "url": "mailto:kontak@o-k-i.net" }
{ "text": "WhatsApp +262 692 22 974 0", "url": "https://wa.me/262692229740" }
] ]
}, },
{ {
"title": "💬 Social networks", "title": "📢 PAWOL.NU channels",
"links": [ "links": [
{ "text": "Telegram", "url": "https://t.me/OrganisationKA" } { "text": "WhatsApp channel", "url": "https://whatsapp.com/channel/0029VbCv7N9AjPXTxygrRu1w" },
{ "text": "Telegram channel", "url": "https://t.me/OrganisationKA" }
] ]
}, },
{ {
+4 -4
View File
@@ -5,14 +5,14 @@
{ {
"title": "🌐 Web & Contact", "title": "🌐 Web & Contact",
"links": [ "links": [
{ "text": "kontak@o-k-i.net", "url": "mailto:kontak@o-k-i.net" }, { "text": "kontak@o-k-i.net", "url": "mailto:kontak@o-k-i.net" }
{ "text": "WhatsApp +262 692 22 974 0", "url": "https://wa.me/262692229740" }
] ]
}, },
{ {
"title": "💬 Réseaux sociaux", "title": "📢 Chaînes PAWOL.NU",
"links": [ "links": [
{ "text": "Telegram", "url": "https://t.me/OrganisationKA" } { "text": "WhatsApp channel", "url": "https://whatsapp.com/channel/0029VbCv7N9AjPXTxygrRu1w" },
{ "text": "Telegram channel", "url": "https://t.me/OrganisationKA" }
] ]
}, },
{ {
+21 -16
View File
@@ -7,22 +7,27 @@
</div> </div>
<div class="contact-socials"> <div class="contact-socials">
{% for section in t.contact.sections %} {% for section in t.contact.sections %}
{% for link in section.links %} <div class="contact-socials-group">
{% set lname = link.text.toLowerCase() %} <h3 class="contact-socials-title">{{ section.title }}</h3>
<a href="{{ link.url }}" title="{{ link.text }}"{% if link.url.startsWith('http') %} target="_blank" rel="noopener noreferrer"{% endif %} class="contact-social-link"> <div class="contact-socials-row">
{% if 'kontak' in lname or 'mail' in lname %} {% for link in section.links %}
{% include "icons/email.svg" %} {% set lname = link.text.toLowerCase() %}
{% elif 'whatsapp' in lname %} <a href="{{ link.url }}" title="{{ link.text }}"{% if link.url.startsWith('http') %} target="_blank" rel="noopener noreferrer"{% endif %} class="contact-social-link">
{% include "icons/whatsapp.svg" %} {% if 'kontak' in lname or 'mail' in lname %}
{% elif 'telegram' in lname %} {% include "icons/email.svg" %}
{% include "icons/telegram.svg" %} {% elif 'whatsapp' in lname %}
{% elif 'discord' in lname %} {% include "icons/whatsapp.svg" %}
{% include "icons/discord.svg" %} {% elif 'telegram' in lname %}
{% elif 'labola' in lname or 'gitea' in lname %} {% include "icons/telegram.svg" %}
{% include "icons/gitea.svg" %} {% elif 'discord' in lname %}
{% endif %} {% include "icons/discord.svg" %}
</a> {% elif 'labola' in lname or 'gitea' in lname %}
{% endfor %} {% include "icons/gitea.svg" %}
{% endif %}
</a>
{% endfor %}
</div>
</div>
{% endfor %} {% endfor %}
</div> </div>
</section> </section>
+2 -2
View File
@@ -16,10 +16,10 @@
<a href="mailto:kontak@o-k-i.net" title="Email" class="social-link"> <a href="mailto:kontak@o-k-i.net" title="Email" class="social-link">
{% include "icons/email.svg" %} {% include "icons/email.svg" %}
</a> </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" %} {% include "icons/whatsapp.svg" %}
</a> </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" %} {% include "icons/telegram.svg" %}
</a> </a>
<a href="https://discord.gg/DPvUCA8dD" target="_blank" rel="noopener noreferrer" title="Discord" class="social-link"> <a href="https://discord.gg/DPvUCA8dD" target="_blank" rel="noopener noreferrer" title="Discord" class="social-link">
+28 -2
View File
@@ -1197,13 +1197,32 @@ html.light-theme .hero::before {
} }
.contact-socials { .contact-socials {
display: flex;
flex-direction: column;
align-items: center;
gap: 2rem;
max-width: 1200px;
margin: 0 auto;
}
.contact-socials-group {
text-align: center;
}
.contact-socials-title {
font-size: 0.85rem;
font-weight: 600;
color: var(--or-oki);
margin-bottom: 0.75rem;
opacity: 0.9;
}
.contact-socials-row {
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
gap: 1.5rem; gap: 1.5rem;
flex-wrap: wrap; flex-wrap: wrap;
max-width: 1200px;
margin: 0 auto;
} }
.contact-social-link { .contact-social-link {
@@ -1231,6 +1250,13 @@ html.light-theme .hero::before {
@media (min-width: 768px) { @media (min-width: 768px) {
.contact-socials { .contact-socials {
flex-direction: row;
align-items: flex-start;
justify-content: center;
gap: 3rem;
}
.contact-socials-row {
gap: 2rem; gap: 2rem;
} }