diff --git a/src/config.ts b/src/config.ts index 06940998..a58cf6e2 100644 --- a/src/config.ts +++ b/src/config.ts @@ -86,6 +86,7 @@ export const Config = { QR_HASH_SECRET: getEnv("QR_HASH_SECRET"), WEB_REGISTER_ROUTE: `${WEB_BASE}/register`, WEB_RESUME_ROUTE: `${WEB_BASE}/resume`, + EMAIL_HEADER_HREF: `${WEB_BASE}/email_header.png`, OUTGOING_EMAIL_ADDRESSES: z.enum(["no-reply@reflectionsprojections.org"]), LOG_DIR: env === EnvironmentEnum.PRODUCTION ? "/home/ubuntu/logs" : "./logs", diff --git a/src/services/registration/registration-router.ts b/src/services/registration/registration-router.ts index 6dbeefa8..c2d38f10 100644 --- a/src/services/registration/registration-router.ts +++ b/src/services/registration/registration-router.ts @@ -137,7 +137,7 @@ registrationRouter.post("/submit", RoleChecker([]), async (req, res) => { await sendHTMLEmail( payload.email, - "Reflections Projections 2025 Confirmation!", + "Reflections | Projections 2025 Confirmation!", Mustache.render(templates.REGISTRATION_CONFIRMATION, substitution) ); } diff --git a/src/templates/templates.ts b/src/templates/templates.ts index e1d0ea45..6cd43c70 100644 --- a/src/templates/templates.ts +++ b/src/templates/templates.ts @@ -2,6 +2,999 @@ import Config from "../config"; const templates = { REGISTRATION_CONFIRMATION: ` + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +`, + REGISTRATION_CONFIRMATION_OLD: `