sonicpayjam / donate.html
kanaille's picture
est possible d'intégrer un moyen de paiement comme paypal
9f4f362 verified
Raw History Blame Contribute Delete
5.78 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Support ColorVoid</title>
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://unpkg.com/feather-icons"></script>
<script src="https://cdn.jsdelivr.net/npm/vanta@latest/dist/vanta.net.min.js"></script>
<style>
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&display=swap');
body {
font-family: 'Space Grotesk', sans-serif;
overflow-x: hidden;
}
</style>
</head>
<body class="min-h-screen bg-gray-900 text-white">
<div id="vanta-bg" class="fixed inset-0 z-0 opacity-70"></div>
<div class="relative z-10 min-h-screen flex flex-col items-center justify-center px-6 py-12">
<div class="max-w-2xl w-full bg-gray-800 bg-opacity-60 backdrop-blur-md rounded-xl p-8 border border-gray-700">
<div class="text-center mb-8">
<i data-feather="heart" class="w-12 h-12 text-pink-500 mx-auto mb-4"></i>
<h1 class="text-3xl font-bold mb-2">Support ColorVoid</h1>
<p class="text-gray-300">Help us keep the colorful void alive and growing.</p>
</div>
<div class="grid grid-cols-1 md:grid-cols-3 gap-6 mb-8">
<div class="bg-gray-700 bg-opacity-50 rounded-lg p-6 text-center">
<h3 class="font-bold text-lg mb-2">Small Splash</h3>
<p class="text-gray-300 mb-4">$5 - Support our basic operations</p>
<form action="https://www.paypal.com/donate" method="post" target="_blank">
<input type="hidden" name="business" value="YOUR_PAYPAL_EMAIL">
<input type="hidden" name="amount" value="5.00">
<input type="hidden" name="currency_code" value="USD">
<button type="submit" class="w-full bg-pink-500 hover:bg-pink-600 text-white py-2 px-4 rounded-md transition">
Donate $5
</button>
</form>
</div>
<div class="bg-gray-700 bg-opacity-50 rounded-lg p-6 text-center border-2 border-purple-500">
<h3 class="font-bold text-lg mb-2">Vibrant Wave</h3>
<p class="text-gray-300 mb-4">$15 - Help us add new features</p>
<form action="https://www.paypal.com/donate" method="post" target="_blank">
<input type="hidden" name="business" value="YOUR_PAYPAL_EMAIL">
<input type="hidden" name="amount" value="15.00">
<input type="hidden" name="currency_code" value="USD">
<button type="submit" class="w-full bg-purple-500 hover:bg-purple-600 text-white py-2 px-4 rounded-md transition">
Donate $15
</button>
</form>
</div>
<div class="bg-gray-700 bg-opacity-50 rounded-lg p-6 text-center">
<h3 class="font-bold text-lg mb-2">Color Storm</h3>
<p class="text-gray-300 mb-4">$50 - Major project support</p>
<form action="https://www.paypal.com/donate" method="post" target="_blank">
<input type="hidden" name="business" value="YOUR_PAYPAL_EMAIL">
<input type="hidden" name="amount" value="50.00">
<input type="hidden" name="currency_code" value="USD">
<button type="submit" class="w-full bg-indigo-500 hover:bg-indigo-600 text-white py-2 px-4 rounded-md transition">
Donate $50
</button>
</form>
</div>
</div>
<div class="text-center">
<p class="text-gray-400 mb-4">Or enter a custom amount:</p>
<form action="https://www.paypal.com/donate" method="post" target="_blank" class="flex flex-col sm:flex-row gap-4 max-w-md mx-auto">
<input type="hidden" name="business" value="YOUR_PAYPAL_EMAIL">
<input type="hidden" name="currency_code" value="USD">
<div class="flex-1">
<input type="number" name="amount" min="1" step="0.01" class="w-full px-4 py-2 bg-gray-700 border border-gray-600 rounded-md text-white" placeholder="Amount ($)">
</div>
<button type="submit" class="px-6 py-2 bg-gradient-to-r from-indigo-500 to-purple-600 rounded-md hover:from-indigo-600 hover:to-purple-700 transition">
Donate Now
</button>
</form>
</div>
</div>
<div class="mt-8 text-center text-gray-400">
<p>All donations go directly to maintaining and improving ColorVoid.</p>
<p class="mt-2">Thank you for your support! <i data-feather="heart" class="inline w-4 h-4 text-pink-400"></i></p>
</div>
</div>
<script>
// Initialize Vanta.js background
VANTA.NET({
el: "#vanta-bg",
mouseControls: true,
touchControls: true,
gyroControls: false,
minHeight: 200.00,
minWidth: 200.00,
scale: 1.00,
scaleMobile: 1.00,
color: 0x7b5fff,
backgroundColor: 0x111827,
points: 12.00,
maxDistance: 22.00,
spacing: 17.00
});
// Initialize feather icons
feather.replace();
</script>
</body>
</html>