brackt/public
Chris Parsons 04a92ec7de
Add branded dark-themed HTML email template (#402)
Introduces a shared email module that wraps all transactional emails in a
cohesive dark-themed template matching the site's visual identity (Barlow
font, #14171e background, #adf661 CTA buttons, logomark PNG header).

- app/lib/email.server.ts: new module with sendEmail, wrapInEmailTemplate,
  emailButton, emailParagraph, and escapeHtml helpers; Resend instance is
  lazily initialized as a singleton
- public/email-logo.png: 96×124px PNG of the logomark for email use (SVG
  gradients are not supported in Outlook)
- auth.server.ts: password reset and email verification now use the branded
  template; errors are thrown so Better Auth can surface failures
- support.tsx: internal notification uses sendEmail; adds a user-facing
  branded confirmation email (fire-and-forget so failures don't surface to
  the user); plain text fallback included
- scripts/sync-prod-db.sh: remove first_name/last_name from sanitize query
  (columns were dropped in #399)
- 13 unit tests covering all template helpers

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-10 11:18:57 -07:00
..
sports-icons feat: add icon support for sports with file upload and active seasons display 2025-10-13 10:30:47 -07:00
apple-touch-icon-precomposed.png Fixes missing icon. 2026-03-11 14:20:53 -07:00
apple-touch-icon.png New design (#309) 2026-04-23 13:14:55 -07:00
email-logo.png Add branded dark-themed HTML email template (#402) 2026-05-10 11:18:57 -07:00
favicon-96x96.png New design (#309) 2026-04-23 13:14:55 -07:00
favicon.ico New design (#309) 2026-04-23 13:14:55 -07:00
favicon.svg New design (#309) 2026-04-23 13:14:55 -07:00
logo.svg New design (#309) 2026-04-23 13:14:55 -07:00
logomark.svg New design (#309) 2026-04-23 13:14:55 -07:00
site.webmanifest New design (#309) 2026-04-23 13:14:55 -07:00
web-app-manifest-192x192.png New design (#309) 2026-04-23 13:14:55 -07:00
web-app-manifest-512x512.png New design (#309) 2026-04-23 13:14:55 -07:00