Fix RSVP grammar and make status text styling consistent

This commit is contained in:
Ian Gulliver
2025-12-30 12:18:15 -08:00
parent 772f804de6
commit 558870262d

View File

@@ -153,7 +153,7 @@
<wa-button size="small" variant="neutral" data-value="8">8</wa-button>
</div>
<div class="donation-section">
<div id="donation-status" style="display: none; margin-bottom: 1rem;"></div>
<div id="donation-status" style="display: none; font-weight: bold; margin-bottom: 1rem;"></div>
<div id="donation-header">Would you like to make a donation?</div>
<div class="button-group donation-group" id="donation-group">
<wa-button variant="neutral" class="selected" data-value="25">$25</wa-button>
@@ -227,7 +227,7 @@
if (hasRSVP) {
const word = data.numPeople === 1 ? 'person' : 'people';
document.getElementById('rsvp-header').textContent = `You're RSVPed for ${data.numPeople} ${word}.`;
document.getElementById('rsvp-header').textContent = `You've RSVPed for ${data.numPeople} ${word}.`;
} else {
document.getElementById('rsvp-header').textContent = 'RSVP now!';
}