Abmacode12's picture
Create a non-profit organization website with mission statement hero, our impact statistics, current campaigns, donation form with amounts, volunteer opportunities, success stories, upcoming events, and newsletter signup.
4abcd02 verified
Raw
History Blame Contribute Delete
23.2 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>HeartBeats for Humanity | Making the World Better</title>
<link rel="stylesheet" href="style.css">
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
<script src="https://unpkg.com/feather-icons"></script>
<script src="components/navbar.js"></script>
<script src="components/footer.js"></script>
</head>
<body class="bg-gray-50">
<custom-navbar></custom-navbar>
<!-- Hero Section -->
<section class="relative bg-gradient-to-r from-red-600 to-red-800 text-white py-20 md:py-32 px-4">
<div class="max-w-6xl mx-auto text-center">
<h1 class="text-4xl md:text-6xl font-bold mb-6">Every Heartbeat Counts</h1>
<p class="text-xl md:text-2xl max-w-3xl mx-auto mb-8">We're on a mission to create lasting change through compassion, action, and community.</p>
<div class="flex flex-col sm:flex-row justify-center gap-4">
<a href="#donate" class="bg-white text-red-700 hover:bg-gray-100 px-8 py-3 rounded-full font-bold text-lg transition duration-300">Donate Now</a>
<a href="#volunteer" class="border-2 border-white hover:bg-white hover:text-red-700 px-8 py-3 rounded-full font-bold text-lg transition duration-300">Volunteer</a>
</div>
</div>
<div class="absolute bottom-0 left-0 right-0 h-16 bg-white transform skew-y-1 origin-top-left"></div>
</section>
<!-- Impact Stats -->
<section class="py-16 bg-white">
<div class="max-w-6xl mx-auto px-4">
<h2 class="text-3xl font-bold text-center mb-12 text-gray-800">Our Impact in Numbers</h2>
<div class="grid grid-cols-1 md:grid-cols-4 gap-8">
<div class="text-center p-6 rounded-lg bg-red-50">
<div class="text-5xl font-bold text-red-600 mb-2" id="lives-changed">25,000+</div>
<p class="text-gray-600">Lives Changed</p>
</div>
<div class="text-center p-6 rounded-lg bg-red-50">
<div class="text-5xl font-bold text-red-600 mb-2" id="volunteers">1,200+</div>
<p class="text-gray-600">Dedicated Volunteers</p>
</div>
<div class="text-center p-6 rounded-lg bg-red-50">
<div class="text-5xl font-bold text-red-600 mb-2" id="countries">18</div>
<p class="text-gray-600">Countries Reached</p>
</div>
<div class="text-center p-6 rounded-lg bg-red-50">
<div class="text-5xl font-bold text-red-600 mb-2" id="projects">47</div>
<p class="text-gray-600">Active Projects</p>
</div>
</div>
</div>
</section>
<!-- Current Campaigns -->
<section class="py-16 bg-gray-50">
<div class="max-w-6xl mx-auto px-4">
<h2 class="text-3xl font-bold text-center mb-12 text-gray-800">Current Campaigns</h2>
<div class="grid grid-cols-1 md:grid-cols-3 gap-8">
<div class="bg-white rounded-xl overflow-hidden shadow-lg hover:shadow-xl transition duration-300">
<img src="http://static.photos/people/640x360/1" alt="Education for All" class="w-full h-48 object-cover">
<div class="p-6">
<h3 class="text-xl font-bold mb-2 text-gray-800">Education for All</h3>
<p class="text-gray-600 mb-4">Building schools and providing supplies for underprivileged children.</p>
<div class="w-full bg-gray-200 rounded-full h-2.5 mb-4">
<div class="bg-red-600 h-2.5 rounded-full" style="width: 65%"></div>
</div>
<div class="flex justify-between text-sm text-gray-500">
<span>$65,000 raised</span>
<span>$100,000 goal</span>
</div>
<a href="#" class="mt-4 inline-block text-red-600 font-semibold hover:text-red-700">Learn More →</a>
</div>
</div>
<div class="bg-white rounded-xl overflow-hidden shadow-lg hover:shadow-xl transition duration-300">
<img src="http://static.photos/food/640x360/2" alt="End Hunger" class="w-full h-48 object-cover">
<div class="p-6">
<h3 class="text-xl font-bold mb-2 text-gray-800">End Hunger</h3>
<p class="text-gray-600 mb-4">Providing meals and sustainable food solutions to communities in need.</p>
<div class="w-full bg-gray-200 rounded-full h-2.5 mb-4">
<div class="bg-red-600 h-2.5 rounded-full" style="width: 45%"></div>
</div>
<div class="flex justify-between text-sm text-gray-500">
<span>$45,000 raised</span>
<span>$100,000 goal</span>
</div>
<a href="#" class="mt-4 inline-block text-red-600 font-semibold hover:text-red-700">Learn More →</a>
</div>
</div>
<div class="bg-white rounded-xl overflow-hidden shadow-lg hover:shadow-xl transition duration-300">
<img src="http://static.photos/medical/640x360/3" alt="Health First" class="w-full h-48 object-cover">
<div class="p-6">
<h3 class="text-xl font-bold mb-2 text-gray-800">Health First</h3>
<p class="text-gray-600 mb-4">Mobile clinics and medical supplies for remote communities.</p>
<div class="w-full bg-gray-200 rounded-full h-2.5 mb-4">
<div class="bg-red-600 h-2.5 rounded-full" style="width: 80%"></div>
</div>
<div class="flex justify-between text-sm text-gray-500">
<span>$80,000 raised</span>
<span>$100,000 goal</span>
</div>
<a href="#" class="mt-4 inline-block text-red-600 font-semibold hover:text-red-700">Learn More →</a>
</div>
</div>
</div>
</div>
</section>
<!-- Donation Form -->
<section id="donate" class="py-16 bg-white">
<div class="max-w-4xl mx-auto px-4">
<h2 class="text-3xl font-bold text-center mb-12 text-gray-800">Make a Difference Today</h2>
<div class="bg-red-50 rounded-xl p-8 shadow-md">
<form id="donation-form" class="space-y-6">
<div>
<label class="block text-gray-700 font-medium mb-2">Select Amount</label>
<div class="grid grid-cols-2 md:grid-cols-4 gap-4">
<button type="button" class="donation-amount bg-white border border-gray-300 rounded-lg py-3 px-4 hover:bg-red-100 hover:border-red-300 focus:bg-red-100 focus:border-red-500 focus:ring-2 focus:ring-red-200 transition duration-200">$25</button>
<button type="button" class="donation-amount bg-white border border-gray-300 rounded-lg py-3 px-4 hover:bg-red-100 hover:border-red-300 focus:bg-red-100 focus:border-red-500 focus:ring-2 focus:ring-red-200 transition duration-200">$50</button>
<button type="button" class="donation-amount bg-white border border-gray-300 rounded-lg py-3 px-4 hover:bg-red-100 hover:border-red-300 focus:bg-red-100 focus:border-red-500 focus:ring-2 focus:ring-red-200 transition duration-200">$100</button>
<button type="button" class="donation-amount bg-white border border-gray-300 rounded-lg py-3 px-4 hover:bg-red-100 hover:border-red-300 focus:bg-red-100 focus:border-red-500 focus:ring-2 focus:ring-red-200 transition duration-200">$250</button>
</div>
<div class="mt-4">
<label for="custom-amount" class="block text-gray-700 font-medium mb-2">Or enter custom amount</label>
<div class="relative">
<span class="absolute inset-y-0 left-0 flex items-center pl-3 text-gray-500">$</span>
<input type="number" id="custom-amount" class="w-full pl-8 pr-4 py-2 border border-gray-300 rounded-lg focus:ring-red-500 focus:border-red-500" placeholder="Other amount">
</div>
</div>
</div>
<div>
<label for="frequency" class="block text-gray-700 font-medium mb-2">Donation Frequency</label>
<select id="frequency" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-red-500 focus:border-red-500">
<option value="one-time">One-time donation</option>
<option value="monthly">Monthly donation</option>
<option value="quarterly">Quarterly donation</option>
<option value="yearly">Yearly donation</option>
</select>
</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-red-500 focus:border-red-500" required>
</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-red-500 focus:border-red-500" required>
</div>
<div>
<label for="payment" class="block text-gray-700 font-medium mb-2">Payment Method</label>
<div class="space-y-3">
<div class="flex items-center">
<input id="credit-card" name="payment" type="radio" class="h-4 w-4 text-red-600 focus:ring-red-500 border-gray-300" checked>
<label for="credit-card" class="ml-3 block text-gray-700">Credit/Debit Card</label>
</div>
<div class="flex items-center">
<input id="paypal" name="payment" type="radio" class="h-4 w-4 text-red-600 focus:ring-red-500 border-gray-300">
<label for="paypal" class="ml-3 block text-gray-700">PayPal</label>
</div>
<div class="flex items-center">
<input id="bank-transfer" name="payment" type="radio" class="h-4 w-4 text-red-600 focus:ring-red-500 border-gray-300">
<label for="bank-transfer" class="ml-3 block text-gray-700">Bank Transfer</label>
</div>
</div>
</div>
<button type="submit" class="w-full bg-red-600 hover:bg-red-700 text-white font-bold py-3 px-4 rounded-lg transition duration-300">Donate Now</button>
</form>
</div>
</div>
</section>
<!-- Volunteer Opportunities -->
<section id="volunteer" class="py-16 bg-gray-50">
<div class="max-w-6xl mx-auto px-4">
<h2 class="text-3xl font-bold text-center mb-12 text-gray-800">Volunteer Opportunities</h2>
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8">
<div class="bg-white rounded-xl overflow-hidden shadow-lg hover:shadow-xl transition duration-300">
<img src="http://static.photos/education/640x360/4" alt="Teaching Volunteer" class="w-full h-48 object-cover">
<div class="p-6">
<h3 class="text-xl font-bold mb-2 text-gray-800">Teaching Volunteer</h3>
<p class="text-gray-600 mb-4">Help educate children in underserved communities with basic literacy and numeracy skills.</p>
<div class="flex items-center text-gray-500 mb-4">
<i data-feather="clock" class="w-4 h-4 mr-2"></i>
<span>4-8 hours/week</span>
</div>
<div class="flex items-center text-gray-500 mb-4">
<i data-feather="map-pin" class="w-4 h-4 mr-2"></i>
<span>Local & International</span>
</div>
<a href="#" class="inline-block bg-red-600 hover:bg-red-700 text-white font-semibold py-2 px-6 rounded-full transition duration-300">Apply Now</a>
</div>
</div>
<div class="bg-white rounded-xl overflow-hidden shadow-lg hover:shadow-xl transition duration-300">
<img src="http://static.photos/medical/640x360/5" alt="Medical Volunteer" class="w-full h-48 object-cover">
<div class="p-6">
<h3 class="text-xl font-bold mb-2 text-gray-800">Medical Volunteer</h3>
<p class="text-gray-600 mb-4">Provide basic healthcare services and health education in rural communities.</p>
<div class="flex items-center text-gray-500 mb-4">
<i data-feather="clock" class="w-4 h-4 mr-2"></i>
<span>Flexible hours</span>
</div>
<div class="flex items-center text-gray-500 mb-4">
<i data-feather="map-pin" class="w-4 h-4 mr-2"></i>
<span>International</span>
</div>
<a href="#" class="inline-block bg-red-600 hover:bg-red-700 text-white font-semibold py-2 px-6 rounded-full transition duration-300">Apply Now</a>
</div>
</div>
<div class="bg-white rounded-xl overflow-hidden shadow-lg hover:shadow-xl transition duration-300">
<img src="http://static.photos/event/640x360/6" alt="Event Volunteer" class="w-full h-48 object-cover">
<div class="p-6">
<h3 class="text-xl font-bold mb-2 text-gray-800">Event Volunteer</h3>
<p class="text-gray-600 mb-4">Help organize and run fundraising events in your local community.</p>
<div class="flex items-center text-gray-500 mb-4">
<i data-feather="clock" class="w-4 h-4 mr-2"></i>
<span>Occasional</span>
</div>
<div class="flex items-center text-gray-500 mb-4">
<i data-feather="map-pin" class="w-4 h-4 mr-2"></i>
<span>Your City</span>
</div>
<a href="#" class="inline-block bg-red-600 hover:bg-red-700 text-white font-semibold py-2 px-6 rounded-full transition duration-300">Apply Now</a>
</div>
</div>
</div>
</div>
</section>
<!-- Success Stories -->
<section class="py-16 bg-white">
<div class="max-w-6xl mx-auto px-4">
<h2 class="text-3xl font-bold text-center mb-12 text-gray-800">Success Stories</h2>
<div class="grid grid-cols-1 md:grid-cols-2 gap-8">
<div class="bg-gray-50 rounded-xl p-8">
<div class="flex items-center mb-6">
<img src="http://static.photos/people/200x200/7" alt="Maria" class="w-16 h-16 rounded-full object-cover mr-4">
<div>
<h4 class="font-bold text-gray-800">Maria's Story</h4>
<p class="text-gray-600">Beneficiary, Education Program</p>
</div>
</div>
<p class="text-gray-700 mb-4">"Thanks to HeartBeats for Humanity, I was able to go back to school after dropping out at age 12. Now I'm studying to become a nurse and help my community."</p>
<div class="flex space-x-2">
<i data-feather="star" class="w-4 h-4 text-yellow-400"></i>
<i data-feather="star" class="w-4 h-4 text-yellow-400"></i>
<i data-feather="star" class="w-4 h-4 text-yellow-400"></i>
<i data-feather="star" class="w-4 h-4 text-yellow-400"></i>
<i data-feather="star" class="w-4 h-4 text-yellow-400"></i>
</div>
</div>
<div class="bg-gray-50 rounded-xl p-8">
<div class="flex items-center mb-6">
<img src="http://static.photos/people/200x200/8" alt="James" class="w-16 h-16 rounded-full object-cover mr-4">
<div>
<h4 class="font-bold text-gray-800">James' Journey</h4>
<p class="text-gray-600">Volunteer, 3 years</p>
</div>
</div>
<p class="text-gray-700 mb-4">"Volunteering with HeartBeats has been the most rewarding experience of my life. Seeing the direct impact of our work on communities keeps me motivated to do more."</p>
<div class="flex space-x-2">
<i data-feather="star" class="w-4 h-4 text-yellow-400"></i>
<i data-feather="star" class="w-4 h-4 text-yellow-400"></i>
<i data-feather="star" class="w-4 h-4 text-yellow-400"></i>
<i data-feather="star" class="w-4 h-4 text-yellow-400"></i>
<i data-feather="star" class="w-4 h-4 text-yellow-400"></i>
</div>
</div>
</div>
</div>
</section>
<!-- Upcoming Events -->
<section class="py-16 bg-gray-50">
<div class="max-w-6xl mx-auto px-4">
<h2 class="text-3xl font-bold text-center mb-12 text-gray-800">Upcoming Events</h2>
<div class="space-y-6">
<div class="bg-white rounded-xl overflow-hidden shadow-md hover:shadow-lg transition duration-300">
<div class="md:flex">
<div class="md:w-1/3">
<img src="http://static.photos/event/640x360/9" alt="Annual Gala" class="w-full h-full object-cover">
</div>
<div class="p-6 md:w-2/3">
<div class="flex justify-between items-start mb-2">
<h3 class="text-xl font-bold text-gray-800">Annual Charity Gala</h3>
<span class="bg-red-100 text-red-800 text-xs font-semibold px-2.5 py-0.5 rounded">Featured</span>
</div>
<div class="flex items-center text-gray-600 mb-4">
<i data-feather="calendar" class="w-4 h-4 mr-2"></i>
<span>June 15, 2023 | 6:00 PM</span>
</div>
<div class="flex items-center text-gray-600 mb-4">
<i data-feather="map-pin" class="w-4 h-4 mr-2"></i>
<span>Grand Ballroom, City Convention Center</span>
</div>
<p class="text-gray-700 mb-4">Join us for an evening of inspiration and giving as we celebrate our achievements and plan for the year ahead.</p>
<a href="#" class="inline-block text-red-600 font-semibold hover:text-red-700">RSVP Now →</a>
</div>
</div>
</div>
<div class="bg-white rounded-xl overflow-hidden shadow-md hover:shadow-lg transition duration-300">
<div class="md:flex">
<div class="md:w-1/3">
<img src="http://static.photos/education/640x360/10" alt="Education Summit" class="w-full h-full object-cover">
</div>
<div class="p-6 md:w-2/3">
<h3 class="text-xl font-bold text-gray-800 mb-2">Education for All Summit</h3>
<div class="flex items-center text-gray-600 mb-4">
<i data-feather="calendar" class="w-4 h-4 mr-2"></i>
<span>July 8, 2023 | 9:00 AM</span>
</div>
<div class="flex items-center text-gray-600 mb-4">
<i data-feather="map-pin" class="w-4 h-4 mr-2"></i>
<span>Virtual Event</span>
</div>
<p class="text-gray-700 mb-4">A gathering of educators, policymakers, and activists to discuss innovative solutions for global education challenges.</p>
<a href="#" class="inline-block text-red-600 font-semibold hover:text-red-700">Register Now →</a>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Newsletter Signup -->
<section class="py-16 bg-red-600 text-white">
<div class="max-w-4xl mx-auto px-4 text-center">
<h2 class="text-3xl font-bold mb-4">Stay Connected</h2>
<p class="text-xl mb-8 max-w-2xl mx-auto">Subscribe to our newsletter to receive updates on our work, events, and how you can help make a difference.</p>
<form class="flex flex-col sm:flex-row gap-4 max-w-md mx-auto">
<input type="email" placeholder="Your email address" class="flex-grow px-4 py-3 rounded-lg focus:outline-none focus:ring-2 focus:ring-red-300 text-gray-800">
<button type="submit" class="bg-white text-red-600 hover:bg-gray-100 font-bold py-3 px-6 rounded-lg transition duration-300">Subscribe</button>
</form>
<p class="text-sm mt-4 opacity-80">We respect your privacy. Unsubscribe at any time.</p>
</div>
</section>
<custom-footer></custom-footer>
<script src="script.js"></script>
<script>feather.replace();</script>
<script src="https://huggingface.co/deepsite/deepsite-badge.js"></script>
</body>
</html>