feat: page de dons bilingue et retrait de la section de l'accueil

This commit is contained in:
2026-07-07 11:13:47 +04:00
parent 9425f25442
commit 8dac00d692
8 changed files with 40 additions and 4 deletions
+1 -1
View File
@@ -3,7 +3,7 @@
{ "text": "Our projects", "url": "/en/#projets" },
{ "text": "DJANGOKAM", "url": "/en/#djangokam" },
{ "text": "Services", "url": "/en/#hebergement" },
{ "text": "Donate", "url": "/en/#dons" },
{ "text": "Donate", "url": "/en/donate/" },
{
"text": "Resources",
"children": [
+1 -1
View File
@@ -3,7 +3,7 @@
{ "text": "Nos projets", "url": "/#projets" },
{ "text": "DJANGOKAM", "url": "/#djangokam" },
{ "text": "Services", "url": "/#hebergement" },
{ "text": "Dons", "url": "/#dons" },
{ "text": "Dons", "url": "/dons/" },
{
"text": "Ressources",
"children": [
+2
View File
@@ -83,6 +83,7 @@ function switchLanguage(lang) {
}
newPath = newPath.replace('/press/', '/presse/');
newPath = newPath.replace('/legal-notice/', '/mentions-legales/');
newPath = newPath.replace('/donate/', '/dons/');
} else {
// Switch to English
if (!currentPath.startsWith('/en/')) {
@@ -92,6 +93,7 @@ function switchLanguage(lang) {
}
newPath = newPath.replace('/presse/', '/press/');
newPath = newPath.replace('/mentions-legales/', '/legal-notice/');
newPath = newPath.replace('/dons/', '/donate/');
}
window.location.href = newPath;
+12
View File
@@ -0,0 +1,12 @@
---
layout: layouts/base.njk
title: Dons
description: Soutenez ORGANISATION KA INTERNATIONALE par un don ponctuel ou mensuel via Stripe, Liberapay ou Ko-fi.
---
<section class="press-hero">
<h1>{{ t.support.section_title }} <span class="accent-text">{{ t.support.section_title_accent }}</span></h1>
<p class="press-lede">{{ t.support.lede }}</p>
</section>
{% include "partials/support.njk" %}
+12
View File
@@ -0,0 +1,12 @@
---
layout: layouts/base.njk
title: Donate
description: Support ORGANISATION KA INTERNATIONALE with a one-time or monthly donation through Stripe, Liberapay or Ko-fi.
---
<section class="press-hero">
<h1>{{ t.support.section_title }} <span class="accent-text">{{ t.support.section_title_accent }}</span></h1>
<p class="press-lede">{{ t.support.lede }}</p>
</section>
{% include "partials/support.njk" %}
-1
View File
@@ -10,7 +10,6 @@ layout: layouts/base.njk
{% include "partials/hosting.njk" %}
{% include "partials/clients.njk" %}
{% include "partials/fediverse.njk" %}
{% include "partials/support.njk" %}
{% include "partials/faq.njk" %}
{% include "partials/engagement.njk" %}
{% include "partials/contact.njk" %}
-1
View File
@@ -10,7 +10,6 @@ layout: layouts/base.njk
{% include "partials/hosting.njk" %}
{% include "partials/clients.njk" %}
{% include "partials/fediverse.njk" %}
{% include "partials/support.njk" %}
{% include "partials/faq.njk" %}
{% include "partials/engagement.njk" %}
{% include "partials/contact.njk" %}
+12
View File
@@ -24,6 +24,18 @@
<changefreq>monthly</changefreq>
<priority>0.5</priority>
</url>
<url>
<loc>https://o-k-i.net/dons/</loc>
<lastmod>2026-07-07</lastmod>
<changefreq>monthly</changefreq>
<priority>0.6</priority>
</url>
<url>
<loc>https://o-k-i.net/en/donate/</loc>
<lastmod>2026-07-07</lastmod>
<changefreq>monthly</changefreq>
<priority>0.6</priority>
</url>
<url>
<loc>https://o-k-i.net/mentions-legales/</loc>
<lastmod>2025-01-05</lastmod>