Update RSVP date format and enhance invite page styles
Some checks failed
Build and Push Docker Images / changes (push) Successful in 5s
Build and Push Docker Images / build-backend (push) Has been skipped
Build and Push Docker Images / build-frontend (push) Failing after 50s

Changed the RSVP deadline format to "dd.MM.yyyy" for consistency. Improved text styles by adding bold fonts to emphasize key sections and included a new confirmation message for RSVP deadline.
This commit is contained in:
2025-03-15 01:18:10 +01:00
parent 78533d3d17
commit d5d6c4b3c9

View File

@@ -101,7 +101,7 @@ const InvitationPage = () => {
// Format RSVP deadline // Format RSVP deadline
const rsvpDeadline = event.rsvp_deadline const rsvpDeadline = event.rsvp_deadline
? format(parseISO(event.rsvp_deadline), "MMMM d, yyyy") ? format(parseISO(event.rsvp_deadline), "dd.MM.yyyy")
: null; : null;
// Get asset URLs // Get asset URLs
@@ -363,7 +363,7 @@ const InvitationPage = () => {
{event.description} {event.description}
</div> </div>
<p <p
className="mt-4 text-center text-sm italic sm:text-base" className="mt-4 font-bold text-center text-sm italic sm:text-base"
style={{ color: colors.secondary }} style={{ color: colors.secondary }}
> >
Con affetto, Emma, Anto & Fely Con affetto, Emma, Anto & Fely
@@ -371,7 +371,12 @@ const InvitationPage = () => {
</div> </div>
</motion.div> </motion.div>
)} )}
<p
className="mb-2 text-sm font-medium sm:text-base"
style={{ color: colors.text }}
>
Conferma partecipazione entro {rsvpDeadline}
</p>
{/* RSVP and Gift Registry Section */} {/* RSVP and Gift Registry Section */}
<motion.div <motion.div
variants={itemVariants} variants={itemVariants}