|
| 1 | +<!DOCTYPE html> |
| 2 | +<html lang="en"> |
| 3 | +<head> |
| 4 | + <meta charset="UTF-8"> |
| 5 | + <meta name="viewport" content="width=device-width, initial-scale=1.0"> |
| 6 | + <title>Donate — Pacesetters Foundation</title> |
| 7 | + <link rel="stylesheet" href="style.css"> |
| 8 | +</head> |
| 9 | +<body> |
| 10 | + |
| 11 | + <!-- ===== HEADER ===== --> |
| 12 | + <header class="header"> |
| 13 | + <div class="container header-flex"> |
| 14 | + <a href="index.html" class="brand"> |
| 15 | + <div class="logo">PF</div> |
| 16 | + <div> |
| 17 | + <h1 class="title">Pacesetters Foundation</h1> |
| 18 | + <small class="tagline">Empowering communities across Ghana</small> |
| 19 | + </div> |
| 20 | + </a> |
| 21 | + |
| 22 | + <nav class="nav"> |
| 23 | + <a href="index.html">Home</a> |
| 24 | + <a href="programs.html">Programs</a> |
| 25 | + <a href="donate.html" class="active">Donate</a> |
| 26 | + </nav> |
| 27 | + |
| 28 | + <button class="nav-toggle" aria-label="Menu">☰</button> |
| 29 | + </div> |
| 30 | + </header> |
| 31 | + |
| 32 | + <!-- ===== HERO ===== --> |
| 33 | + <section class="hero small"> |
| 34 | + <img src="images/hero-donate.jpg" alt="Donation banner" class="hero-img"> |
| 35 | + <div class="overlay"> |
| 36 | + <h2>Support Our Mission</h2> |
| 37 | + <p>Your contribution helps us educate, empower, and transform communities across Ghana.</p> |
| 38 | + </div> |
| 39 | + </section> |
| 40 | + |
| 41 | + <!-- ===== DONATION OPTIONS ===== --> |
| 42 | + <section class="section container"> |
| 43 | + <h3 class="section-title">Ways to Donate</h3> |
| 44 | + <p class="intro">Select your preferred method below — every donation counts.</p> |
| 45 | + |
| 46 | + <div class="donate-tabs reveal"> |
| 47 | + <div class="tab-buttons"> |
| 48 | + <button class="tab-btn active" data-tab="bank">🏦 Bank</button> |
| 49 | + <button class="tab-btn" data-tab="momo">📱 MoMo</button> |
| 50 | + <button class="tab-btn" data-tab="visa">💳 Card / Online</button> |
| 51 | + </div> |
| 52 | + |
| 53 | + <div class="tab-content active" id="bank"> |
| 54 | + <h4>Bank Transfer</h4> |
| 55 | + <p><strong>Bank Name:</strong> GCB Bank</p> |
| 56 | + <p><strong>Account Name:</strong> Pacesetters Foundation</p> |
| 57 | + <p><strong>Account Number:</strong> 0123456789</p> |
| 58 | + <p><strong>Branch:</strong> Accra Main</p> |
| 59 | + <p>Please include your name as a reference when transferring.</p> |
| 60 | + </div> |
| 61 | + |
| 62 | + <div class="tab-content" id="momo"> |
| 63 | + <h4>Mobile Money (MoMo)</h4> |
| 64 | + <label for="momo-select">Select Network:</label> |
| 65 | + <select id="momo-select"> |
| 66 | + <option value="mtn">MTN MoMo</option> |
| 67 | + <option value="vodafone">Vodafone Cash</option> |
| 68 | + <option value="airteltigo">AirtelTigo Money</option> |
| 69 | + </select> |
| 70 | + |
| 71 | + <div id="momo-details" class="momo-box"> |
| 72 | + <p><strong>Network:</strong> MTN MoMo</p> |
| 73 | + <p><strong>Name:</strong> Pacesetters Foundation</p> |
| 74 | + <p><strong>Number:</strong> 024 123 4567</p> |
| 75 | + </div> |
| 76 | + </div> |
| 77 | + |
| 78 | + <div class="tab-content" id="visa"> |
| 79 | + <h4>Donate Online (Card)</h4> |
| 80 | + <p>You can make a secure payment using your Visa or MasterCard via Paystack.</p> |
| 81 | + <!-- Replace # with your real Paystack or Flutterwave link --> |
| 82 | + <a href="#" target="_blank" class="btn">Donate via Paystack</a> |
| 83 | + </div> |
| 84 | + </div> |
| 85 | + </section> |
| 86 | + |
| 87 | + <!-- ===== CONTACT SECTION ===== --> |
| 88 | + <section class="section pale"> |
| 89 | + <div class="container contact-grid"> |
| 90 | + <div class="reveal"> |
| 91 | + <h3 class="section-title">Get in Touch</h3> |
| 92 | + <form class=" contact-form" action=" mailto:[email protected]" method=" post" enctype=" text/plain" > |
| 93 | + <input type="text" name="name" placeholder="Your name" required> |
| 94 | + <input type="email" name="email" placeholder="Your email" required> |
| 95 | + <textarea name="message" rows="5" placeholder="Write your message..." required></textarea> |
| 96 | + <button type="submit" class="btn">Send Message</button> |
| 97 | + </form> |
| 98 | + </div> |
| 99 | + |
| 100 | + <div class="map-box reveal delay-1"> |
| 101 | + <h4>Our Office</h4> |
| 102 | + <p>Accra, Ghana</p> |
| 103 | + <iframe |
| 104 | + src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3959.910174679781!2d-0.1969!3d5.6037!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x102079d564bc8e8f%3A0x4639b825f17ecf7e!2sAccra%2C%20Ghana!5e0!3m2!1sen!2sgh!4v1694700000000!5m2!1sen!2sgh" |
| 105 | + width="100%" height="250" style="border:0;" allowfullscreen loading="lazy"></iframe> |
| 106 | + </div> |
| 107 | + </div> |
| 108 | + </section> |
| 109 | + |
| 110 | + <!-- ===== FOOTER ===== --> |
| 111 | + <footer class="footer"> |
| 112 | + <div class="container footer-grid"> |
| 113 | + <div> |
| 114 | + <strong>Pacesetters Foundation</strong><br> |
| 115 | + <small>© 2025 All Rights Reserved</small> |
| 116 | + </div> |
| 117 | + <nav class="footer-nav"> |
| 118 | + <a href="index.html">Home</a> |
| 119 | + <a href="programs.html">Programs</a> |
| 120 | + <a href="donate.html" class="active">Donate</a> |
| 121 | + </nav> |
| 122 | + </div> |
| 123 | + </footer> |
| 124 | + |
| 125 | + <button id="topBtn" title="Back to top">↑</button> |
| 126 | + <script src="script.js"></script> |
| 127 | + |
| 128 | + <script> |
| 129 | + // ===== Donation Tabs ===== |
| 130 | + const tabBtns = document.querySelectorAll('.tab-btn'); |
| 131 | + const tabContents = document.querySelectorAll('.tab-content'); |
| 132 | + tabBtns.forEach(btn => { |
| 133 | + btn.addEventListener('click', () => { |
| 134 | + tabBtns.forEach(b => b.classList.remove('active')); |
| 135 | + tabContents.forEach(c => c.classList.remove('active')); |
| 136 | + btn.classList.add('active'); |
| 137 | + document.getElementById(btn.dataset.tab).classList.add('active'); |
| 138 | + }); |
| 139 | + }); |
| 140 | + |
| 141 | + // ===== MoMo Dropdown ===== |
| 142 | + const momoSelect = document.getElementById('momo-select'); |
| 143 | + const momoDetails = document.getElementById('momo-details'); |
| 144 | + momoSelect.addEventListener('change', () => { |
| 145 | + const value = momoSelect.value; |
| 146 | + if (value === 'mtn') { |
| 147 | + momoDetails.innerHTML = ` |
| 148 | + <p><strong>Network:</strong> MTN MoMo</p> |
| 149 | + <p><strong>Name:</strong> Pacesetters Foundation</p> |
| 150 | + <p><strong>Number:</strong> 024 123 4567</p>`; |
| 151 | + } else if (value === 'vodafone') { |
| 152 | + momoDetails.innerHTML = ` |
| 153 | + <p><strong>Network:</strong> Vodafone Cash</p> |
| 154 | + <p><strong>Name:</strong> Pacesetters Foundation</p> |
| 155 | + <p><strong>Number:</strong> 050 987 6543</p>`; |
| 156 | + } else { |
| 157 | + momoDetails.innerHTML = ` |
| 158 | + <p><strong>Network:</strong> AirtelTigo Money</p> |
| 159 | + <p><strong>Name:</strong> Pacesetters Foundation</p> |
| 160 | + <p><strong>Number:</strong> 027 555 7890</p>`; |
| 161 | + } |
| 162 | + }); |
| 163 | + </script> |
| 164 | +</body> |
| 165 | +</html> |
0 commit comments