| <!DOCTYPE html> |
| <html lang="en"> |
| <head> |
| <meta charset="UTF-8"> |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> |
| <title>Hoops for Hope - Support Our Team</title> |
| <script src="https://cdn.tailwindcss.com"></script> |
| <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"> |
| <style> |
| .donation-card:hover { |
| transform: translateY(-5px); |
| box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); |
| } |
| .progress-bar { |
| transition: width 1s ease-in-out; |
| } |
| .animate-bounce-slow { |
| animation: bounce-slow 2s infinite; |
| } |
| @keyframes bounce-slow { |
| 0%, 100% { |
| transform: translateY(0); |
| } |
| 50% { |
| transform: translateY(-10px); |
| } |
| } |
| .player-card:hover img { |
| transform: scale(1.05); |
| } |
| </style> |
| </head> |
| <body class="bg-gray-50 font-sans"> |
| |
| <header class="bg-blue-900 text-white shadow-lg"> |
| <div class="container mx-auto px-4 py-6 flex justify-between items-center"> |
| <div class="flex items-center space-x-2"> |
| <i class="fas fa-basketball-ball text-3xl text-orange-500"></i> |
| <h1 class="text-2xl font-bold">Hoops for Hope</h1> |
| </div> |
| <nav> |
| <ul class="flex space-x-6"> |
| <li><a href="#about" class="hover:text-orange-400 transition">About</a></li> |
| <li><a href="#team" class="hover:text-orange-400 transition">Team</a></li> |
| <li><a href="#donate" class="hover:text-orange-400 transition">Donate</a></li> |
| <li><a href="#contact" class="hover:text-orange-400 transition">Contact</a></li> |
| </ul> |
| </nav> |
| </div> |
| </header> |
|
|
| |
| <section class="relative bg-gradient-to-r from-blue-800 to-blue-600 text-white py-20"> |
| <div class="absolute inset-0 opacity-20 bg-[url('https://images.unsplash.com/photo-1546519638-68e109498ffc?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1790&q=80')] bg-cover bg-center"></div> |
| <div class="container mx-auto px-4 relative z-10 text-center"> |
| <h1 class="text-5xl font-bold mb-6 animate-bounce-slow">Support Our Basketball Journey</h1> |
| <p class="text-xl mb-8 max-w-2xl mx-auto">Help us reach new heights this season! Your donation will fund equipment, travel, and community programs.</p> |
| <div class="flex justify-center space-x-4"> |
| <a href="#donate" class="bg-orange-500 hover:bg-orange-600 text-white font-bold py-3 px-8 rounded-full transition transform hover:scale-105">Donate Now</a> |
| <a href="#about" class="bg-transparent border-2 border-white hover:bg-white hover:text-blue-800 text-white font-bold py-3 px-8 rounded-full transition">Learn More</a> |
| </div> |
| </div> |
| </section> |
|
|
| |
| <section class="bg-white py-12 shadow-md"> |
| <div class="container mx-auto px-4"> |
| <div class="max-w-4xl mx-auto"> |
| <h2 class="text-3xl font-bold text-center mb-6 text-blue-900">Our Fundraising Goal</h2> |
| <div class="mb-4 flex justify-between"> |
| <span class="font-semibold">$8,250 raised</span> |
| <span class="font-semibold">$15,000 goal</span> |
| </div> |
| <div class="w-full bg-gray-200 rounded-full h-4 mb-6"> |
| <div class="progress-bar bg-orange-500 h-4 rounded-full" style="width: 55%"></div> |
| </div> |
| <p class="text-center text-gray-600">55% of our goal achieved! Help us cross the finish line.</p> |
| </div> |
| </div> |
| </section> |
|
|
| |
| <section id="about" class="py-16 bg-gray-50"> |
| <div class="container mx-auto px-4"> |
| <div class="flex flex-col md:flex-row items-center"> |
| <div class="md:w-1/2 mb-8 md:mb-0 md:pr-8"> |
| <img src="https://images.unsplash.com/photo-1600185365483-26d7a4cc7519?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1025&q=80" |
| alt="Basketball team huddle" |
| class="rounded-lg shadow-xl w-full h-auto"> |
| </div> |
| <div class="md:w-1/2"> |
| <h2 class="text-3xl font-bold mb-6 text-blue-900">About Hoops for Hope</h2> |
| <p class="text-gray-700 mb-4">Founded in 2015, Hoops for Hope is more than just a basketball team. We're a community organization dedicated to empowering youth through sports, education, and mentorship.</p> |
| <p class="text-gray-700 mb-6">This season, we're aiming to compete in regional tournaments while expanding our free basketball clinics for underprivileged youth in our community.</p> |
| <div class="space-y-4"> |
| <div class="flex items-start"> |
| <i class="fas fa-basketball-ball text-orange-500 mt-1 mr-3"></i> |
| <div> |
| <h3 class="font-semibold text-lg">Equipment & Uniforms</h3> |
| <p class="text-gray-600">Quality gear for all players to perform at their best.</p> |
| </div> |
| </div> |
| <div class="flex items-start"> |
| <i class="fas fa-bus text-orange-500 mt-1 mr-3"></i> |
| <div> |
| <h3 class="font-semibold text-lg">Travel Expenses</h3> |
| <p class="text-gray-600">Covering transportation and lodging for away games.</p> |
| </div> |
| </div> |
| <div class="flex items-start"> |
| <i class="fas fa-graduation-cap text-orange-500 mt-1 mr-3"></i> |
| <div> |
| <h3 class="font-semibold text-lg">Youth Programs</h3> |
| <p class="text-gray-600">Funding free basketball clinics and academic support.</p> |
| </div> |
| </div> |
| </div> |
| </div> |
| </div> |
| </div> |
| </section> |
|
|
| |
| <section id="team" class="py-16 bg-white"> |
| <div class="container mx-auto px-4"> |
| <h2 class="text-3xl font-bold text-center mb-12 text-blue-900">Meet Our Team</h2> |
| <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8"> |
| |
| <div class="player-card bg-white rounded-lg overflow-hidden shadow-md transition hover:shadow-xl"> |
| <div class="overflow-hidden h-64"> |
| <img src="https://images.unsplash.com/photo-1574629810360-7efbbe195018?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=693&q=80" |
| alt="Player 1" |
| class="w-full h-full object-cover transition duration-500"> |
| </div> |
| <div class="p-6"> |
| <h3 class="text-xl font-bold mb-1">Marcus Johnson</h3> |
| <p class="text-orange-500 font-semibold mb-3">Point Guard • Captain</p> |
| <p class="text-gray-600">"Basketball changed my life. Now I want to help change others' lives through this game."</p> |
| </div> |
| </div> |
| |
| |
| <div class="player-card bg-white rounded-lg overflow-hidden shadow-md transition hover:shadow-xl"> |
| <div class="overflow-hidden h-64"> |
| <img src="https://images.unsplash.com/photo-1549060279-7e168fcee0c2?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=687&q=80" |
| alt="Player 2" |
| class="w-full h-full object-cover transition duration-500"> |
| </div> |
| <div class="p-6"> |
| <h3 class="text-xl font-bold mb-1">Jamal Williams</h3> |
| <p class="text-orange-500 font-semibold mb-3">Shooting Guard</p> |
| <p class="text-gray-600">"Every donation helps us inspire the next generation of players in our community."</p> |
| </div> |
| </div> |
| |
| |
| <div class="player-card bg-white rounded-lg overflow-hidden shadow-md transition hover:shadow-xl"> |
| <div class="overflow-hidden h-64"> |
| <img src="https://images.unsplash.com/photo-1600185365926-3a2ce3cdb9eb?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1025&q=80" |
| alt="Player 3" |
| class="w-full h-full object-cover transition duration-500"> |
| </div> |
| <div class="p-6"> |
| <h3 class="text-xl font-bold mb-1">Coach Davis</h3> |
| <p class="text-orange-500 font-semibold mb-3">Head Coach</p> |
| <p class="text-gray-600">"We teach more than basketball - we teach life skills, discipline, and teamwork."</p> |
| </div> |
| </div> |
| </div> |
| </div> |
| </section> |
|
|
| |
| <section id="donate" class="py-16 bg-blue-900 text-white"> |
| <div class="container mx-auto px-4"> |
| <h2 class="text-3xl font-bold text-center mb-12">Make a Difference</h2> |
| <div class="max-w-5xl mx-auto"> |
| <div class="grid grid-cols-1 md:grid-cols-3 gap-6"> |
| |
| <div class="donation-card bg-white text-gray-800 rounded-lg p-6 shadow-md transition duration-300"> |
| <div class="text-center mb-6"> |
| <div class="bg-blue-100 text-blue-800 w-16 h-16 rounded-full flex items-center justify-center mx-auto mb-4"> |
| <i class="fas fa-basketball-ball text-2xl"></i> |
| </div> |
| <h3 class="text-xl font-bold">Rookie</h3> |
| <p class="text-orange-500 font-bold text-2xl mt-2">$25</p> |
| </div> |
| <ul class="space-y-3 mb-6"> |
| <li class="flex items-start"> |
| <i class="fas fa-check text-green-500 mt-1 mr-2"></i> |
| <span>Team sticker pack</span> |
| </li> |
| <li class="flex items-start"> |
| <i class="fas fa-check text-green-500 mt-1 mr-2"></i> |
| <span>Social media shoutout</span> |
| </li> |
| <li class="flex items-start"> |
| <i class="fas fa-check text-green-500 mt-1 mr-2"></i> |
| <span>Your name on our donor wall</span> |
| </li> |
| </ul> |
| <button class="w-full bg-blue-600 hover:bg-blue-700 text-white py-2 px-4 rounded-full transition" onclick="selectAmount(25)">Select</button> |
| </div> |
| |
| |
| <div class="donation-card bg-orange-500 text-white rounded-lg p-6 shadow-lg transform scale-105 relative"> |
| <div class="absolute top-0 right-0 bg-yellow-400 text-orange-800 font-bold px-3 py-1 rounded-bl-lg rounded-tr-lg text-sm">MOST POPULAR</div> |
| <div class="text-center mb-6"> |
| <div class="bg-white text-orange-500 w-16 h-16 rounded-full flex items-center justify-center mx-auto mb-4"> |
| <i class="fas fa-medal text-2xl"></i> |
| </div> |
| <h3 class="text-xl font-bold">All-Star</h3> |
| <p class="text-white font-bold text-2xl mt-2">$100</p> |
| </div> |
| <ul class="space-y-3 mb-6"> |
| <li class="flex items-start"> |
| <i class="fas fa-check text-white mt-1 mr-2"></i> |
| <span>Team t-shirt</span> |
| </li> |
| <li class="flex items-start"> |
| <i class="fas fa-check text-white mt-1 mr-2"></i> |
| <span>Signed team photo</span> |
| </li> |
| <li class="flex items-start"> |
| <i class="fas fa-check text-white mt-1 mr-2"></i> |
| <span>Invitation to team dinner</span> |
| </li> |
| <li class="flex items-start"> |
| <i class="fas fa-check text-white mt-1 mr-2"></i> |
| <span>All Rookie benefits</span> |
| </li> |
| </ul> |
| <button class="w-full bg-white hover:bg-gray-100 text-orange-500 py-2 px-4 rounded-full transition" onclick="selectAmount(100)">Select</button> |
| </div> |
| |
| |
| <div class="donation-card bg-white text-gray-800 rounded-lg p-6 shadow-md transition duration-300"> |
| <div class="text-center mb-6"> |
| <div class="bg-blue-100 text-blue-800 w-16 h-16 rounded-full flex items-center justify-center mx-auto mb-4"> |
| <i class="fas fa-trophy text-2xl"></i> |
| </div> |
| <h3 class="text-xl font-bold">MVP</h3> |
| <p class="text-orange-500 font-bold text-2xl mt-2">$250+</p> |
| </div> |
| <ul class="space-y-3 mb-6"> |
| <li class="flex items-start"> |
| <i class="fas fa-check text-green-500 mt-1 mr-2"></i> |
| <span>Custom team jersey</span> |
| </li> |
| <li class="flex items-start"> |
| <i class="fas fa-check text-green-500 mt-1 mr-2"></i> |
| <span>Courtside seats for home games</span> |
| </li> |
| <li class="flex items-start"> |
| <i class="fas fa-check text-green-500 mt-1 mr-2"></i> |
| <span>Recognition in game programs</span> |
| </li> |
| <li class="flex items-start"> |
| <i class="fas fa-check text-green-500 mt-1 mr-2"></i> |
| <span>All All-Star benefits</span> |
| </li> |
| </ul> |
| <button class="w-full bg-blue-600 hover:bg-blue-700 text-white py-2 px-4 rounded-full transition" onclick="selectAmount(250)">Select</button> |
| </div> |
| </div> |
| |
| |
| <div class="mt-12 bg-white rounded-lg shadow-md p-8 max-w-2xl mx-auto"> |
| <h3 class="text-2xl font-bold text-center text-blue-900 mb-6">Custom Donation</h3> |
| <form id="donationForm" class="space-y-6"> |
| <div> |
| <label for="amount" class="block text-gray-700 font-medium mb-2">Amount ($)</label> |
| <input type="number" id="amount" min="1" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-orange-500 focus:border-orange-500" placeholder="Enter your amount"> |
| </div> |
| <div> |
| <label for="name" class="block text-gray-700 font-medium mb-2">Full Name</label> |
| <input type="text" id="name" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-orange-500 focus:border-orange-500" placeholder="Your name"> |
| </div> |
| <div> |
| <label for="email" class="block text-gray-700 font-medium mb-2">Email</label> |
| <input type="email" id="email" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-orange-500 focus:border-orange-500" placeholder="Your email"> |
| </div> |
| <div> |
| <label for="message" class="block text-gray-700 font-medium mb-2">Message (Optional)</label> |
| <textarea id="message" rows="3" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-orange-500 focus:border-orange-500" placeholder="Words of encouragement or dedication"></textarea> |
| </div> |
| <button type="submit" class="w-full bg-orange-500 hover:bg-orange-600 text-white font-bold py-3 px-6 rounded-lg transition transform hover:scale-105"> |
| Donate Now <i class="fas fa-arrow-right ml-2"></i> |
| </button> |
| </form> |
| </div> |
| </div> |
| </div> |
| </section> |
|
|
| |
| <section class="py-16 bg-gray-50"> |
| <div class="container mx-auto px-4"> |
| <h2 class="text-3xl font-bold text-center mb-12 text-blue-900">What People Say</h2> |
| <div class="grid grid-cols-1 md:grid-cols-2 gap-8 max-w-5xl mx-auto"> |
| |
| <div class="bg-white p-6 rounded-lg shadow-md"> |
| <div class="flex items-center mb-4"> |
| <img src="https://randomuser.me/api/portraits/women/43.jpg" alt="Sarah J." class="w-12 h-12 rounded-full mr-4"> |
| <div> |
| <h4 class="font-bold">Sarah Johnson</h4> |
| <p class="text-orange-500 text-sm">Community Sponsor</p> |
| </div> |
| </div> |
| <p class="text-gray-600">"Supporting Hoops for Hope has been incredibly rewarding. Seeing how the team gives back to the community while excelling on the court is inspiring."</p> |
| <div class="mt-4 text-orange-400"> |
| <i class="fas fa-star"></i> |
| <i class="fas fa-star"></i> |
| <i class="fas fa-star"></i> |
| <i class="fas fa-star"></i> |
| <i class="fas fa-star"></i> |
| </div> |
| </div> |
| |
| |
| <div class="bg-white p-6 rounded-lg shadow-md"> |
| <div class="flex items-center mb-4"> |
| <img src="https://randomuser.me/api/portraits/men/32.jpg" alt="Michael T." class="w-12 h-12 rounded-full mr-4"> |
| <div> |
| <h4 class="font-bold">Michael Thompson</h4> |
| <p class="text-orange-500 text-sm">Parent</p> |
| </div> |
| </div> |
| <p class="text-gray-600">"My son has grown so much since joining this team. The coaches focus on character development as much as basketball skills. Worth every penny of support!"</p> |
| <div class="mt-4 text-orange-400"> |
| <i class="fas fa-star"></i> |
| <i class="fas fa-star"></i> |
| <i class="fas fa-star"></i> |
| <i class="fas fa-star"></i> |
| <i class="fas fa-star"></i> |
| </div> |
| </div> |
| </div> |
| </div> |
| </section> |
|
|
| |
| <section id="contact" class="py-16 bg-white"> |
| <div class="container mx-auto px-4"> |
| <div class="max-w-4xl mx-auto bg-blue-900 text-white rounded-xl overflow-hidden shadow-xl"> |
| <div class="md:flex"> |
| <div class="md:w-1/2 p-8 md:p-12"> |
| <h2 class="text-3xl font-bold mb-6">Get In Touch</h2> |
| <p class="mb-6">Have questions about supporting our team? Want to sponsor a specific initiative? We'd love to hear from you!</p> |
| <div class="space-y-4"> |
| <div class="flex items-center"> |
| <i class="fas fa-envelope text-orange-400 mr-4"></i> |
| <span>support@hoopsforhope.org</span> |
| </div> |
| <div class="flex items-center"> |
| <i class="fas fa-phone text-orange-400 mr-4"></i> |
| <span>(555) 123-4567</span> |
| </div> |
| <div class="flex items-center"> |
| <i class="fas fa-map-marker-alt text-orange-400 mr-4"></i> |
| <span>123 Court Street, Basketball City, BC 12345</span> |
| </div> |
| </div> |
| <div class="mt-8 flex space-x-4"> |
| <a href="#" class="bg-blue-700 hover:bg-blue-600 w-10 h-10 rounded-full flex items-center justify-center transition"> |
| <i class="fab fa-facebook-f"></i> |
| </a> |
| <a href="#" class="bg-blue-400 hover:bg-blue-500 w-10 h-10 rounded-full flex items-center justify-center transition"> |
| <i class="fab fa-twitter"></i> |
| </a> |
| <a href="#" class="bg-pink-600 hover:bg-pink-700 w-10 h-10 rounded-full flex items-center justify-center transition"> |
| <i class="fab fa-instagram"></i> |
| </a> |
| </div> |
| </div> |
| <div class="md:w-1/2 bg-white text-gray-800 p-8 md:p-12"> |
| <h3 class="text-2xl font-bold mb-6 text-blue-900">Send Us a Message</h3> |
| <form class="space-y-4"> |
| <div> |
| <input type="text" placeholder="Your Name" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-orange-500 focus:border-orange-500"> |
| </div> |
| <div> |
| <input type="email" placeholder="Your Email" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-orange-500 focus:border-orange-500"> |
| </div> |
| <div> |
| <input type="text" placeholder="Subject" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-orange-500 focus:border-orange-500"> |
| </div> |
| <div> |
| <textarea rows="4" placeholder="Your Message" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-orange-500 focus:border-orange-500"></textarea> |
| </div> |
| <button type="submit" class="w-full bg-orange-500 hover:bg-orange-600 text-white font-bold py-3 px-6 rounded-lg transition">Send Message</button> |
| </form> |
| </div> |
| </div> |
| </div> |
| </div> |
| </section> |
|
|
| |
| <footer class="bg-gray-900 text-white py-12"> |
| <div class="container mx-auto px-4"> |
| <div class="grid grid-cols-1 md:grid-cols-4 gap-8"> |
| <div> |
| <div class="flex items-center mb-4"> |
| <i class="fas fa-basketball-ball text-orange-500 text-2xl mr-2"></i> |
| <h3 class="text-xl font-bold">Hoops for Hope</h3> |
| </div> |
| <p class="text-gray-400">Empowering youth through basketball since 2015.</p> |
| </div> |
| <div> |
| <h4 class="text-lg font-semibold mb-4">Quick Links</h4> |
| <ul class="space-y-2"> |
| <li><a href="#" class="text-gray-400 hover:text-orange-400 transition">Home</a></li> |
| <li><a href="#about" class="text-gray-400 hover:text-orange-400 transition">About Us</a></li> |
| <li><a href="#team" class="text-gray-400 hover:text-orange-400 transition">Our Team</a></li> |
| <li><a href="#donate" class="text-gray-400 hover:text-orange-400 transition">Donate</a></li> |
| </ul> |
| </div> |
| <div> |
| <h4 class="text-lg font-semibold mb-4">Legal</h4> |
| <ul class="space-y-2"> |
| <li><a href="#" class="text-gray-400 hover:text-orange-400 transition">Privacy Policy</a></li> |
| <li><a href="#" class="text-gray-400 hover:text-orange-400 transition">Terms of Service</a></li> |
| <li><a href="#" class="text-gray-400 hover:text-orange-400 transition">Tax Information</a></li> |
| </ul> |
| </div> |
| <div> |
| <h4 class="text-lg font-semibold mb-4">Newsletter</h4> |
| <p class="text-gray-400 mb-4">Subscribe to get updates on our season and community events.</p> |
| <form class="flex"> |
| <input type="email" placeholder="Your email" class="px-4 py-2 rounded-l-lg w-full text-gray-800"> |
| <button type="submit" class="bg-orange-500 hover:bg-orange-600 px-4 py-2 rounded-r-lg transition"> |
| <i class="fas fa-paper-plane"></i> |
| </button> |
| </form> |
| </div> |
| </div> |
| <div class="border-t border-gray-800 mt-8 pt-8 text-center text-gray-400"> |
| <p>© 2023 Hoops for Hope. All rights reserved.</p> |
| </div> |
| </div> |
| </footer> |
|
|
| |
| <div id="donationModal" class="fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center z-50 hidden"> |
| <div class="bg-white rounded-lg p-8 max-w-md w-full mx-4"> |
| <div class="flex justify-between items-center mb-6"> |
| <h3 class="text-2xl font-bold text-blue-900">Thank You!</h3> |
| <button onclick="closeModal()" class="text-gray-500 hover:text-gray-700"> |
| <i class="fas fa-times"></i> |
| </button> |
| </div> |
| <div class="text-center mb-6"> |
| <i class="fas fa-check-circle text-green-500 text-5xl mb-4"></i> |
| <p class="text-gray-700">Your donation of <span id="donationAmount" class="font-bold text-orange-500">$100</span> has been received!</p> |
| <p class="text-gray-600 mt-2">We'll send a confirmation email shortly.</p> |
| </div> |
| <button onclick="closeModal()" class="w-full bg-blue-600 hover:bg-blue-700 text-white font-bold py-2 px-4 rounded-lg transition"> |
| Close |
| </button> |
| </div> |
| </div> |
|
|
| <script> |
| |
| function selectAmount(amount) { |
| document.getElementById('amount').value = amount; |
| |
| document.getElementById('donate').scrollIntoView({ behavior: 'smooth' }); |
| } |
| |
| |
| document.getElementById('donationForm').addEventListener('submit', function(e) { |
| e.preventDefault(); |
| |
| |
| const amount = document.getElementById('amount').value; |
| const name = document.getElementById('name').value; |
| |
| |
| if (!amount || !name) { |
| alert('Please fill in all required fields'); |
| return; |
| } |
| |
| |
| document.getElementById('donationAmount').textContent = '$' + amount; |
| document.getElementById('donationModal').classList.remove('hidden'); |
| |
| |
| this.reset(); |
| }); |
| |
| |
| function closeModal() { |
| document.getElementById('donationModal').classList.add('hidden'); |
| } |
| |
| |
| document.querySelectorAll('a[href^="#"]').forEach(anchor => { |
| anchor.addEventListener('click', function (e) { |
| e.preventDefault(); |
| document.querySelector(this.getAttribute('href')).scrollIntoView({ |
| behavior: 'smooth' |
| }); |
| }); |
| }); |
| </script> |
| <p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=Yalexis/basketball-donation-page" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body> |
| </html> |