diff --git a/src/pages/soutenir.astro b/src/pages/soutenir.astro index d28eec9..87a117a 100644 --- a/src/pages/soutenir.astro +++ b/src/pages/soutenir.astro @@ -2,6 +2,12 @@ import Base from '../layouts/Base.astro'; export const prerender = false; + +const goalLabel = "Location d'un nom de domaine dédié"; +const goalTarget = 10; +const goalRaised = 0; +const goalCurrency = '€'; +const goalPercent = Math.min(100, Math.round((goalRaised / goalTarget) * 100)); --- + + + + + + Objectif de don en cours + + {goalLabel} + + + {goalRaised} {goalCurrency} + / {goalTarget} {goalCurrency} + + + + + + + + + + {goalPercent}% atteint — une fois l'objectif rempli, le nom de domaine dédié sera réservé + pour un an. + + + + Don libre via Ko-fi
+ Objectif de don en cours +
{goalLabel}
+ {goalRaised} {goalCurrency} + / {goalTarget} {goalCurrency} +
+ {goalPercent}% atteint — une fois l'objectif rempli, le nom de domaine dédié sera réservé + pour un an. +