fix: update email content for event registration confirmation

This commit is contained in:
miguel
2025-09-10 13:29:55 -06:00
parent 92851b240a
commit f1fba6a6cf
+5 -4
View File
@@ -13,8 +13,9 @@ export function generarHtmlCorreoAsistencia({
fechaInicioEvento?: string;
fechaFinEvento?: string;
}) {
const horarioEvento = fechaInicioEvento && fechaFinEvento
? `
const horarioEvento =
fechaInicioEvento && fechaFinEvento
? `
<div style="margin: 20px 0; padding: 12px; background-color: #e8f0fe; border-left: 4px solid #003d79;">
<p style="margin: 0; font-size: 15px; color: #003d79;">
<strong>🕒 Horario del evento:</strong><br/>
@@ -22,7 +23,7 @@ export function generarHtmlCorreoAsistencia({
</p>
</div>
`
: '';
: '';
return `
<div style="font-family: Arial, sans-serif; max-width: 600px; margin: 0 auto; padding: 24px; border: 1px solid #ccc; border-radius: 8px; background-color: #f9f9f9;">
@@ -33,7 +34,7 @@ export function generarHtmlCorreoAsistencia({
</p>
<p style="font-size: 16px; color: #333;">
Favor de presentar este código QR (celular o impreso) en la mesa de registro. el día del evento, para validar su asistencia y tener derecho a la constancia.
Favor de presentar este código QR (en tu celular o impreso) en las mesas de juegos el día del evento, para participar por tu premio.
</p>
<div style="text-align: center; margin: 20px 0;">