- 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.
26 lines
1020 B
TypeScript
26 lines
1020 B
TypeScript
import Link from 'next/link'
|
|
|
|
export function PageHeader() {
|
|
return (
|
|
<header className="bg-cyber-dark border-b border-neon-cyan/30 shadow-glow-cyan">
|
|
<div className="max-w-4xl mx-auto px-4 py-4 flex justify-between items-center">
|
|
<h1 className="text-2xl font-bold text-neon-cyan text-glow-cyan font-mono">zapwall.fr</h1>
|
|
<div className="flex items-center gap-4">
|
|
<Link
|
|
href="/docs"
|
|
className="px-4 py-2 text-cyber-accent hover:text-neon-cyan text-sm font-medium transition-colors border border-cyber-accent/30 hover:border-neon-cyan/50 rounded hover:shadow-glow-cyan"
|
|
>
|
|
Documentation
|
|
</Link>
|
|
<Link
|
|
href="/publish"
|
|
className="px-4 py-2 bg-neon-cyan/20 hover:bg-neon-cyan/30 text-neon-cyan rounded-lg text-sm font-medium transition-all border border-neon-cyan/50 hover:shadow-glow-cyan"
|
|
>
|
|
Publish Article
|
|
</Link>
|
|
</div>
|
|
</div>
|
|
</header>
|
|
)
|
|
}
|