dev testing
This commit is contained in:
44
index.html
44
index.html
@@ -30,7 +30,7 @@
|
||||
<svg viewBox="0 0 24 24" fill="currentColor" width="20" height="20"><path d="M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zM12 0C8.741 0 8.333.014 7.053.072 2.695.272.273 2.69.073 7.052.014 8.333 0 8.741 0 12c0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98C8.333 23.986 8.741 24 12 24c3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98C15.668.014 15.259 0 12 0zm0 5.838a6.162 6.162 0 100 12.324 6.162 6.162 0 000-12.324zM12 16a4 4 0 110-8 4 4 0 010 8zm6.406-11.845a1.44 1.44 0 100 2.881 1.44 1.44 0 000-2.881z"/></svg>
|
||||
</a>
|
||||
</div>
|
||||
<a href="https://pay.shopdm.store/dominica-methodist-circuit" target="_blank" rel="noopener" class="btn btn-donate-header">Donate</a>
|
||||
<button class="btn btn-donate-header open-donation-modal">Donate</button>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
@@ -92,7 +92,7 @@
|
||||
<span class="amount" id="totalRaised">$0</span>
|
||||
<span class="label">Total Raised</span>
|
||||
</div>
|
||||
<a href="https://pay.shopdm.store/dominica-methodist-circuit" target="_blank" rel="noopener" class="btn btn-primary btn-large">Make a Donation</a>
|
||||
<button class="btn btn-primary btn-large open-donation-modal">Make a Donation</button>
|
||||
<button class="btn btn-outline btn-large" id="becomeFundraiserBtn">Become a Fundraiser</button>
|
||||
</div>
|
||||
</div>
|
||||
@@ -152,7 +152,7 @@
|
||||
<p>Wesley High School has been a cornerstone of education in Dominica since 1926. As we celebrate our centennial, we invite all alumni, students, and supporters to contribute to our legacy.</p>
|
||||
<p>Our goal is to raise funds that will support scholarships, and a science lab for our students.</p>
|
||||
<div class="about-cta">
|
||||
<a href="https://pay.shopdm.store/dominica-methodist-circuit" target="_blank" rel="noopener" class="btn btn-primary">Donate Now</a>
|
||||
<button class="btn btn-primary open-donation-modal">Donate Now</button>
|
||||
</div>
|
||||
|
||||
<!-- Share Section -->
|
||||
@@ -216,7 +216,7 @@
|
||||
<div class="donors-list" id="donorsList">
|
||||
<div class="empty-state" id="donorsEmpty">
|
||||
<p>No donations yet. Be the first to donate!</p>
|
||||
<a href="https://pay.shopdm.store/dominica-methodist-circuit" target="_blank" rel="noopener" class="btn btn-primary">Make a Donation</a>
|
||||
<button class="btn btn-primary open-donation-modal">Make a Donation</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -287,6 +287,42 @@
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
<!-- Donation Modal -->
|
||||
<div class="modal-overlay hidden" id="donationModalOverlay">
|
||||
<div class="modal" id="donationModal">
|
||||
<button class="modal-close" id="donationModalClose">×</button>
|
||||
<div class="modal-content">
|
||||
<h2>Make a Donation</h2>
|
||||
<p style="margin-top:8px;color:#4b5563">Your information will appear on our donors wall after payment.</p>
|
||||
<form id="donationForm" class="donation-form">
|
||||
<div class="form-group">
|
||||
<label for="donorName">Name <span class="required">*</span></label>
|
||||
<input type="text" id="donorName" placeholder="Your full name" required />
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="donorAmount">Amount (XCD) <span class="required">*</span></label>
|
||||
<input type="number" id="donorAmount" placeholder="e.g. 100" min="1" step="0.01" required />
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="donorClassYear">Class Year <span class="optional">(optional)</span></label>
|
||||
<input type="text" id="donorClassYear" placeholder="e.g. 1995" />
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="donorMessage">Message <span class="optional">(optional)</span></label>
|
||||
<textarea id="donorMessage" placeholder="Leave a message of support..." rows="3" maxlength="255"></textarea>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="checkbox-label">
|
||||
<input type="checkbox" id="donorAnonymous" />
|
||||
Make my donation anonymous
|
||||
</label>
|
||||
</div>
|
||||
<button type="submit" class="btn btn-primary btn-large" id="donationSubmitBtn">Proceed to Payment</button>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Login Modal (for showing auth errors) -->
|
||||
<div class="modal-overlay hidden" id="modalOverlay">
|
||||
<div class="modal" id="modal">
|
||||
|
||||
Reference in New Issue
Block a user