feat: page de dons bilingue et retrait de la section de l'accueil
This commit is contained in:
@@ -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": [
|
||||
|
||||
@@ -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": [
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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" %}
|
||||
@@ -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" %}
|
||||
@@ -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" %}
|
||||
|
||||
@@ -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" %}
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user