diff --git a/css/donations.css b/css/donations.css index cbb63da..17988db 100644 --- a/css/donations.css +++ b/css/donations.css @@ -315,6 +315,151 @@ } } +/* Plateformes de don externes */ +.donation-platforms { + background: var(--card-bg); + border-radius: 12px; + padding: 30px; + box-shadow: var(--card-shadow); + border: 1px solid var(--border-color); + margin-bottom: 30px; +} + +.donation-platforms h3 { + color: var(--primary-red); + margin-bottom: 24px; + font-size: 1.5rem; + text-align: center; +} + +.platforms-grid { + display: grid; + grid-template-columns: repeat(2, 1fr); + gap: 16px; +} + +.platform-btn { + display: flex; + align-items: center; + gap: 16px; + padding: 20px; + background: var(--card-bg); + border: 2px solid var(--border-color); + border-radius: 12px; + text-decoration: none; + color: var(--text-color); + transition: all 0.3s ease; +} + +.platform-btn:hover { + transform: translateY(-4px); + box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15); +} + +.platform-btn.liberapay { + border-color: #f6c915; +} + +.platform-btn.liberapay:hover { + background: rgba(246, 201, 21, 0.1); + border-color: #f6c915; +} + +.platform-btn.kofi { + border-color: #13C3FF; +} + +.platform-btn.kofi:hover { + background: rgba(19, 195, 255, 0.1); + border-color: #13C3FF; +} + +.platform-icon { + width: 60px; + height: 60px; + flex-shrink: 0; + display: flex; + align-items: center; + justify-content: center; +} + +.platform-icon svg { + width: 100%; + height: 100%; +} + +.platform-info { + display: flex; + flex-direction: column; + gap: 4px; +} + +.platform-name { + font-size: 1.2rem; + font-weight: bold; + color: var(--text-color); +} + +.platform-desc { + font-size: 0.9rem; + color: var(--text-secondary); +} + +/* Onglets don ponctuel / mensuel */ +.donation-tabs { + display: flex; + gap: 8px; + margin-bottom: 24px; + background: var(--main-bg); + padding: 4px; + border-radius: 8px; +} + +.tab-btn { + flex: 1; + padding: 12px 16px; + background: transparent; + border: none; + border-radius: 6px; + font-weight: 600; + color: var(--text-secondary); + cursor: pointer; + transition: all 0.3s ease; + display: flex; + align-items: center; + justify-content: center; + gap: 8px; +} + +.tab-btn:hover { + background: var(--hover-bg); + color: var(--text-color); +} + +.tab-btn.active { + background: var(--primary-red); + color: white; +} + +.tab-btn i { + font-size: 0.9rem; +} + +.tab-content { + display: none; +} + +.tab-content.active { + display: block; +} + +.donation-btn-custom { + display: flex; + align-items: center; + justify-content: center; + gap: 8px; +} + /* Dark theme adjustments */ [data-theme="dark"] .donation-security { background: var(--card-bg); @@ -328,4 +473,19 @@ [data-theme="dark"] .donation-btn:hover { background: rgba(255, 0, 0, 0.1); +} + +[data-theme="dark"] .platform-btn { + background: var(--main-bg); +} + +/* Responsive pour les plateformes */ +@media (max-width: 768px) { + .platforms-grid { + grid-template-columns: 1fr; + } + + .donation-tabs { + flex-direction: column; + } } \ No newline at end of file diff --git a/dons.php.sample b/dons.php.sample new file mode 100644 index 0000000..7f568d5 --- /dev/null +++ b/dons.php.sample @@ -0,0 +1,295 @@ + + + + + + + + + + Soutenir <?php echo ORGANIZATION_NAME; ?> - Dons + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+ +
+
+

Soutenir

+

Votre soutien est essentiel pour maintenir notre plateforme indépendante

+
+
+ + +
+
+
+ +

Pourquoi nous soutenir ?

+

est une plateforme multimédia indépendante. + Vos dons nous permettent de :

+
    + +
  • Maintenir nos serveurs et notre infrastructure
  • +
  • Préserver notre indépendance et notre souveraineté numérique
  • +
  • Développer de nouvelles fonctionnalités
  • +
  • Soutenir la création de contenu libre et accessible
  • +
+

Chaque don, même petit, fait la différence !

+
+ + + + + + +
+

Don via Stripe

+ + +
+ + +
+ + +
+
+ + + + + + + + + + + Autre montant + + +
+
+ + +
+
+ + + + /mois + + + +
+
+ +
+

+ Paiement 100% sécurisé via Stripe. Aucune donnée bancaire n'est stockée sur ce site.

+
+
+ +
+
+ + +
+
+
+ +

Hébergement & Infrastructure

+

Maintenir nos serveurs, notre plateforme et nos outils numériques représente des coûts mensuels importants.

+
+
+ +

Maintenance & Développement

+

Assurer la sécurité, les mises à jour et l'évolution de nos outils technologiques demande un investissement constant.

+
+
+ +

Indépendance Numérique

+

Vos dons nous permettent de rester indépendants des plateformes commerciales et de préserver notre souveraineté numérique.

+
+
+
+
+
+ + + + + + + + + + diff --git a/dons.sample.php b/dons.sample.php deleted file mode 100644 index 4430a4a..0000000 --- a/dons.sample.php +++ /dev/null @@ -1,235 +0,0 @@ - - - - - - - - - Soutenir [VOTRE ORGANISATION] - Dons - - - - - - - - - - - - - - - - - - - - - - -
-
- -
-
-

Soutenir [VOTRE ORGANISATION]

-

Votre soutien est essentiel pour [VOTRE CAUSE]

-
-
- - -
-
-
- -

Pourquoi nous soutenir ?

-

[VOTRE ORGANISATION] est [DESCRIPTION]. - Vos dons nous permettent de :

-
    - -
  • [OBJECTIF 1]
  • -
  • [OBJECTIF 2]
  • -
  • [OBJECTIF 3]
  • -
  • [OBJECTIF 4]
  • -
-

Chaque don, même petit, fait la différence !

-
- - -
-

Choisissez votre montant

- -
- - - -
- -
- -
- - - -
-
- -
-

- Paiement sécurisé via PayPal. Aucune donnée bancaire n'est stockée sur ce site.

-
-
-
-
- - -
-
-
- -

Hébergement & Infrastructure

-

Maintenir nos serveurs, notre plateforme et nos outils numériques, représente des coûts mensuels importants.

-
-
- -

Maintenance & Développement

-

Assurer la sécurité, les mises à jour et l'évolution de nos outils technologiques demande un investissement constant.

-
-
- -

Indépendance Numérique

-

Vos dons nous permettent de rester indépendants des plateformes commerciales et de préserver notre souveraineté numérique.

-
-
-
-
-
- - - - - - - \ No newline at end of file