From d5d6c4b3c9681d1b245145e7d1bc5600aeb92acc Mon Sep 17 00:00:00 2001 From: Felipe Cardoso Date: Sat, 15 Mar 2025 01:18:10 +0100 Subject: [PATCH] Update RSVP date format and enhance invite page styles 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. --- frontend/src/app/(public)/invite/[slug]/page.tsx | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/frontend/src/app/(public)/invite/[slug]/page.tsx b/frontend/src/app/(public)/invite/[slug]/page.tsx index d051a9e..5b0a1ed 100644 --- a/frontend/src/app/(public)/invite/[slug]/page.tsx +++ b/frontend/src/app/(public)/invite/[slug]/page.tsx @@ -101,7 +101,7 @@ const InvitationPage = () => { // Format RSVP deadline const rsvpDeadline = event.rsvp_deadline - ? format(parseISO(event.rsvp_deadline), "MMMM d, yyyy") + ? format(parseISO(event.rsvp_deadline), "dd.MM.yyyy") : null; // Get asset URLs @@ -363,7 +363,7 @@ const InvitationPage = () => { {event.description}

Con affetto, Emma, Anto & Fely @@ -371,7 +371,12 @@ const InvitationPage = () => { )} - +

+ Conferma partecipazione entro {rsvpDeadline} +

{/* RSVP and Gift Registry Section */}