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
+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;