Add Q&A answered email template to admin Email Templates panel; v1.0.11
- content.ts: add qaAnsweredEmailSubject/Body/CtaLabel/Signoff fields + defaults - email.js: buildQuestionAnsweredEmailTemplate reads from cachedSiteContent - AdminPage.tsx: add EmailTemplateCard entry for Q&A answered notification Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
1 parent
d74b7523d3
commit
6444d6e0e3
4 files changed
+33
-5
No files matched your search
@@ -239,6 +239,11 @@ export interface SiteContent {
|
||||
twoFaOtpEmailSubject: string
|
||||
twoFaOtpEmailBody: string
|
||||
twoFaOtpEmailExpiry: string
|
||||
// ── Q&A Answered Notification ──
|
||||
qaAnsweredEmailSubject: string
|
||||
qaAnsweredEmailBody: string
|
||||
qaAnsweredEmailCtaLabel: string
|
||||
qaAnsweredEmailSignoff: string
|
||||
// ── Header ──
|
||||
headerFollowLabel: string
|
||||
// ── Cookie banner ──
|
||||
@@ -430,6 +435,10 @@ export const DEFAULTS: SiteContent = {
|
||||
twoFaOtpEmailSubject: 'Your sign-in code — Verse by Verse with Nate',
|
||||
twoFaOtpEmailBody: 'Your two-factor sign-in code is below. Enter it to complete sign-in.',
|
||||
twoFaOtpEmailExpiry: 'This code expires in 10 minutes. If you did not request this, you can ignore this message.',
|
||||
qaAnsweredEmailSubject: 'Your question has been answered — Verse by Verse with Nate',
|
||||
qaAnsweredEmailBody: 'Nate has answered your question on Verse by Verse with Nate.',
|
||||
qaAnsweredEmailCtaLabel: 'Read Full Answer →',
|
||||
qaAnsweredEmailSignoff: 'Grace and peace,\nNate',
|
||||
headerFollowLabel: 'Follow on Spotify',
|
||||
cookieBannerText: 'We use optional analytics cookies to better understand how people find and engage with this content. By accepting, you allow us to measure how you interact with the site — no personal data is sold or shared.',
|
||||
customLinks: [],
|
||||
|
||||
Reference in new issue
Block a user