- Création lib/platformCommissions.ts : configuration centralisée des commissions - Articles : 800 sats (700 auteur, 100 plateforme) - Avis : 70 sats (49 lecteur, 21 plateforme) - Sponsoring : 0.046 BTC (0.042 auteur, 0.004 plateforme) - Validation des montants à chaque étape : - Publication : vérification du montant avant publication - Paiement : vérification du montant avant acceptation - Erreurs explicites si montant incorrect - Tracking des commissions sur Nostr : - Tags author_amount et platform_commission dans événements - Interface ContentDeliveryTracking étendue - Traçabilité complète pour audit - Logs structurés avec informations de commission - Documentation complète du système Les commissions sont maintenant systématiques, validées et traçables.
38 lines
793 B
CSS
38 lines
793 B
CSS
@tailwind base;
|
|
@tailwind components;
|
|
@tailwind utilities;
|
|
|
|
:root {
|
|
--foreground-rgb: 200, 220, 255;
|
|
--background-start-rgb: 10, 14, 39;
|
|
--background-end-rgb: 5, 5, 8;
|
|
}
|
|
|
|
body {
|
|
color: rgb(var(--foreground-rgb));
|
|
background: linear-gradient(
|
|
to bottom,
|
|
rgb(var(--background-start-rgb)),
|
|
rgb(var(--background-end-rgb))
|
|
);
|
|
min-height: 100vh;
|
|
}
|
|
|
|
@layer utilities {
|
|
.text-glow-cyan {
|
|
text-shadow: 0 0 10px #00ffff, 0 0 20px #00ffff, 0 0 30px #00ffff;
|
|
}
|
|
|
|
.text-glow-green {
|
|
text-shadow: 0 0 10px #00ff41, 0 0 20px #00ff41, 0 0 30px #00ff41;
|
|
}
|
|
|
|
.border-glow-cyan {
|
|
box-shadow: 0 0 5px #00ffff, 0 0 10px #00ffff, inset 0 0 5px #00ffff;
|
|
}
|
|
|
|
.border-glow-green {
|
|
box-shadow: 0 0 5px #00ff41, 0 0 10px #00ff41, inset 0 0 5px #00ff41;
|
|
}
|
|
}
|