Update event date to 24 april, add venue, add Ichtus Antwerpen as co-sponsor

- Change event date from 18 to 24 april across all pages, hero, meta and constants
- Add venue (Lange Winkelstraat 5, 2000 Antwerpen) to contact page, Q&A, and transactional emails
- Add LOCATION constant to packages/api/src/constants.ts
- Add Ichtus Antwerpen (ichtusantwerpen.com) as co-sponsor in footer and contact page
- Add location info card to confirmation, update, payment reminder and payment confirmation emails
This commit is contained in:
2026-03-11 18:17:40 +01:00
parent e5d2b13b21
commit 3a2e403ee9
8 changed files with 56 additions and 7 deletions

View File

@@ -2,7 +2,8 @@
// Single source-of-truth for event details used across the API
// ---------------------------------------------------------------------------
export const EVENT = "Open Mic Night — vrijdag 18 april 2026";
export const EVENT = "Open Mic Night — vrijdag 24 april 2026";
export const LOCATION = "Lange Winkelstraat 5, 2000 Antwerpen";
export const OPENS = "maandag 16 maart 2026 om 19:00";
// Registration opens — used for reminder scheduling windows

View File

@@ -1,6 +1,6 @@
import { env } from "@kk/env/server";
import nodemailer from "nodemailer";
import { EVENT, OPENS } from "./constants";
import { EVENT, LOCATION, OPENS } from "./constants";
// ---------------------------------------------------------------------------
// Transport — singleton so a warm CF isolate reuses the open TCP connection
@@ -209,6 +209,7 @@ export async function sendConfirmationEmail(params: {
p(
`We hebben je inschrijving voor <strong style="color:#fff;">${EVENT}</strong> in goede orde ontvangen.`,
) +
card("Locatie", LOCATION) +
card("Jouw rol", roleLabel(params.wantsToPerform, params.artForm)) +
paymentCard(drinkCardCents, giftCents) +
p(
@@ -249,6 +250,7 @@ export async function sendUpdateEmail(params: {
p(
`Je inschrijving voor <strong style="color:#fff;">${EVENT}</strong> is succesvol bijgewerkt.`,
) +
card("Locatie", LOCATION) +
card("Jouw rol", roleLabel(params.wantsToPerform, params.artForm)) +
paymentCard(drinkCardCents, giftCents) +
btn(manage, "Bekijk mijn inschrijving"),
@@ -377,6 +379,7 @@ export async function sendPaymentReminderEmail(params: {
p(
`Je hebt je ingeschreven voor <strong style="color:#fff;">${EVENT}</strong>, maar we hebben nog geen betaling ontvangen.`,
) +
card("Locatie", LOCATION) +
p(`${amountNote} Log in op je account om te betalen.`) +
btn(`${env.BETTER_AUTH_URL}/account`, "Betaal nu") +
note(
@@ -407,6 +410,7 @@ export async function sendPaymentConfirmationEmail(params: {
p(
`We hebben je betaling voor <strong style="color:#fff;">${EVENT}</strong> in goede orde ontvangen. Tot dan!`,
) +
card("Locatie", LOCATION) +
paymentCard(drinkCardCents, giftCents) +
btn(manage, "Beheer mijn inschrijving", "secondary"),
),