update digest footer
This commit is contained in:
parent
777ab81195
commit
14bc273d98
2 changed files with 4 additions and 5 deletions
|
|
@ -19,6 +19,7 @@
|
||||||
.event-stats { margin-top: 8px; color: #64748b; font-size: 13px; }
|
.event-stats { margin-top: 8px; color: #64748b; font-size: 13px; }
|
||||||
.stat-item { display: inline-flex; align-items: center; margin-right: 12px; }
|
.stat-item { display: inline-flex; align-items: center; margin-right: 12px; }
|
||||||
.footer { font-family: Inter, Helvetica, Arial, sans-serif; color: #94a3b8; font-size: 12px; line-height: 1.5; }
|
.footer { font-family: Inter, Helvetica, Arial, sans-serif; color: #94a3b8; font-size: 12px; line-height: 1.5; }
|
||||||
|
.footer a { color: #7161FF; text-decoration: underline; }
|
||||||
.logo { max-width: 48px; max-height: 48px; }
|
.logo { max-width: 48px; max-height: 48px; }
|
||||||
a { text-decoration: none; }
|
a { text-decoration: none; }
|
||||||
</mj-style>
|
</mj-style>
|
||||||
|
|
@ -57,7 +58,7 @@
|
||||||
<span class="event-timestamp">at {{Timestamp}}</span>
|
<span class="event-timestamp">at {{Timestamp}}</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="event-link">
|
<div class="event-link">
|
||||||
<a href="{{Link}}">View in {{brandName}}</a>
|
<a href="{{Link}}">Open</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="event-content">{{{Content}}}</div>
|
<div class="event-content">{{{Content}}}</div>
|
||||||
|
|
@ -81,11 +82,8 @@
|
||||||
<mj-divider border-color="#e2e8f0" />
|
<mj-divider border-color="#e2e8f0" />
|
||||||
<mj-text css-class="footer">
|
<mj-text css-class="footer">
|
||||||
You're receiving this email because you subscribed to {{brandName}} notifications.
|
You're receiving this email because you subscribed to {{brandName}} notifications.
|
||||||
We'll send you updates based on your subscription preferences.
|
You can manage your subscriptions <a href="{{settingsUrl}}">here</a> or <a href="{{unsubscribeUrl}}">unsubscribe</a>.
|
||||||
</mj-text>
|
</mj-text>
|
||||||
<mj-button background-color="{{brandAccent}}" color="#ffffff" href="{{unsubscribeUrl}}" padding-top="16px">
|
|
||||||
Unsubscribe
|
|
||||||
</mj-button>
|
|
||||||
</mj-column>
|
</mj-column>
|
||||||
</mj-section>
|
</mj-section>
|
||||||
</mj-body>
|
</mj-body>
|
||||||
|
|
|
||||||
|
|
@ -86,6 +86,7 @@ export const sendDigest = async (sub: Subscription, variables: Record<string, an
|
||||||
brandName: BRAND_NAME,
|
brandName: BRAND_NAME,
|
||||||
brandAccent: BRAND_ACCENT,
|
brandAccent: BRAND_ACCENT,
|
||||||
brandLogo: BRAND_LOGO,
|
brandLogo: BRAND_LOGO,
|
||||||
|
settingsUrl: `${EVENT_VIEWER_URL.replace(/\/$/, '')}/settings/alerts`,
|
||||||
}),
|
}),
|
||||||
})
|
})
|
||||||
.catch(error => {
|
.catch(error => {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue