@mailquilt/templates 0.0.0-stage → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +134 -2
- package/dist/index.d.ts +398 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +3948 -0
- package/dist/index.js.map +1 -0
- package/package.json +58 -3
- package/src/builders.ts +256 -0
- package/src/categories.ts +69 -0
- package/src/index.ts +89 -0
- package/src/merge-tags.ts +126 -0
- package/src/rows/content.ts +558 -0
- package/src/rows/cta.ts +151 -0
- package/src/rows/footers.ts +175 -0
- package/src/rows/headers.ts +122 -0
- package/src/rows/heroes.ts +195 -0
- package/src/rows/index.ts +34 -0
- package/src/starters/editorial.ts +1233 -0
- package/src/starters/engagement.ts +1137 -0
- package/src/starters/index.ts +36 -0
- package/src/starters/onboarding.ts +828 -0
- package/src/starters/product.ts +943 -0
- package/src/starters/transactional.ts +609 -0
- package/src/types.ts +335 -0
|
@@ -0,0 +1,1233 @@
|
|
|
1
|
+
import {
|
|
2
|
+
bold,
|
|
3
|
+
br,
|
|
4
|
+
buttonBlock,
|
|
5
|
+
col,
|
|
6
|
+
defineStarterEmail,
|
|
7
|
+
dividerBlock,
|
|
8
|
+
doc,
|
|
9
|
+
emailDoc,
|
|
10
|
+
FONT_SANS,
|
|
11
|
+
FONT_SERIF,
|
|
12
|
+
headingBlock,
|
|
13
|
+
headingDoc,
|
|
14
|
+
italic,
|
|
15
|
+
linkText,
|
|
16
|
+
menuBlock,
|
|
17
|
+
ol,
|
|
18
|
+
p,
|
|
19
|
+
row,
|
|
20
|
+
singleColRow,
|
|
21
|
+
socialBlock,
|
|
22
|
+
tag,
|
|
23
|
+
tagLink,
|
|
24
|
+
textBlock,
|
|
25
|
+
ul,
|
|
26
|
+
} from "../builders.js";
|
|
27
|
+
import type { TemplateStarterEmail } from "../types.js";
|
|
28
|
+
|
|
29
|
+
/** Simple personal founder update with plain-letter pacing and signature. */
|
|
30
|
+
export const founderLetter: TemplateStarterEmail =
|
|
31
|
+
/* #__PURE__ */
|
|
32
|
+
defineStarterEmail(
|
|
33
|
+
{
|
|
34
|
+
category: "editorial",
|
|
35
|
+
description: "Plain personal note with signature",
|
|
36
|
+
name: "Founder letter",
|
|
37
|
+
},
|
|
38
|
+
() =>
|
|
39
|
+
emailDoc(
|
|
40
|
+
{
|
|
41
|
+
backgroundColor: "#ffffff",
|
|
42
|
+
fontFamily: FONT_SERIF,
|
|
43
|
+
language: "en",
|
|
44
|
+
preheader:
|
|
45
|
+
"A brief note on what our team is focusing on this quarter and why.",
|
|
46
|
+
style: {
|
|
47
|
+
buttonBackgroundColor: "#9a3412",
|
|
48
|
+
buttonBorderRadius: 4,
|
|
49
|
+
emailBackgroundColor: "#ffffff",
|
|
50
|
+
heading1FontSize: 28,
|
|
51
|
+
heading2FontSize: 21,
|
|
52
|
+
headingFontFamily: FONT_SERIF,
|
|
53
|
+
linkColor: "#9a3412",
|
|
54
|
+
textColor: "#1c1917",
|
|
55
|
+
textFontSize: 16,
|
|
56
|
+
},
|
|
57
|
+
width: 560,
|
|
58
|
+
},
|
|
59
|
+
[
|
|
60
|
+
singleColRow(
|
|
61
|
+
"fl-header-row",
|
|
62
|
+
"fl-header-col",
|
|
63
|
+
[
|
|
64
|
+
textBlock(
|
|
65
|
+
"fl-brand",
|
|
66
|
+
doc(
|
|
67
|
+
p(
|
|
68
|
+
tagLink("company_name", "{{website_url}}", [
|
|
69
|
+
{ type: "bold" },
|
|
70
|
+
])
|
|
71
|
+
)
|
|
72
|
+
),
|
|
73
|
+
{
|
|
74
|
+
color: "#1c1917",
|
|
75
|
+
fontSize: 16,
|
|
76
|
+
paddingBottom: 14,
|
|
77
|
+
paddingLeft: 0,
|
|
78
|
+
paddingRight: 0,
|
|
79
|
+
paddingTop: 4,
|
|
80
|
+
}
|
|
81
|
+
),
|
|
82
|
+
dividerBlock("fl-top-rule", {
|
|
83
|
+
color: "#e7e5e4",
|
|
84
|
+
paddingBottom: 0,
|
|
85
|
+
paddingLeft: 0,
|
|
86
|
+
paddingRight: 0,
|
|
87
|
+
paddingTop: 0,
|
|
88
|
+
thickness: 1,
|
|
89
|
+
}),
|
|
90
|
+
],
|
|
91
|
+
{
|
|
92
|
+
paddingBottom: 8,
|
|
93
|
+
paddingLeft: 28,
|
|
94
|
+
paddingRight: 28,
|
|
95
|
+
paddingTop: 28,
|
|
96
|
+
phone: { paddingLeft: 20, paddingRight: 20, paddingTop: 20 },
|
|
97
|
+
}
|
|
98
|
+
),
|
|
99
|
+
singleColRow(
|
|
100
|
+
"fl-body-row",
|
|
101
|
+
"fl-body-col",
|
|
102
|
+
[
|
|
103
|
+
headingBlock(
|
|
104
|
+
"fl-title",
|
|
105
|
+
1,
|
|
106
|
+
headingDoc(p("A quick note on what we're building next")),
|
|
107
|
+
{
|
|
108
|
+
paddingBottom: 16,
|
|
109
|
+
paddingLeft: 0,
|
|
110
|
+
paddingRight: 0,
|
|
111
|
+
paddingTop: 12,
|
|
112
|
+
phone: { fontSize: 24 },
|
|
113
|
+
}
|
|
114
|
+
),
|
|
115
|
+
textBlock(
|
|
116
|
+
"fl-letter",
|
|
117
|
+
doc(
|
|
118
|
+
p("Hi ", tag("first_name"), ","),
|
|
119
|
+
p(
|
|
120
|
+
"Over the past six weeks I spoke with forty teams using ",
|
|
121
|
+
tag("company_name"),
|
|
122
|
+
" every day. One theme came up in almost every conversation: you don't want more settings panels — you want faster ways to publish work you trust."
|
|
123
|
+
),
|
|
124
|
+
p(
|
|
125
|
+
"That feedback shaped our roadmap for the next ninety days. Rather than launching sprawling add-ons, we are concentrating on three areas:"
|
|
126
|
+
),
|
|
127
|
+
ul(
|
|
128
|
+
p(
|
|
129
|
+
bold("Faster drafting: "),
|
|
130
|
+
"Fewer clicks from opening a blank message to sending a final test."
|
|
131
|
+
),
|
|
132
|
+
p(
|
|
133
|
+
bold("Stronger team defaults: "),
|
|
134
|
+
"Define typography, spacing, and approved footers once so every contributor starts on-brand."
|
|
135
|
+
),
|
|
136
|
+
p(
|
|
137
|
+
bold("Transparent release notes: "),
|
|
138
|
+
"Clear monthly write-ups of what changed, with zero surprise migrations."
|
|
139
|
+
)
|
|
140
|
+
),
|
|
141
|
+
p(
|
|
142
|
+
"You can follow our progress on the ",
|
|
143
|
+
linkText("public release log", "{{changelog_url}}"),
|
|
144
|
+
", or simply reply to this email — I read every message that comes in."
|
|
145
|
+
),
|
|
146
|
+
p(
|
|
147
|
+
"Thank you for building with us.",
|
|
148
|
+
br(),
|
|
149
|
+
br(),
|
|
150
|
+
tag("sender_name", [{ type: "bold" }]),
|
|
151
|
+
br(),
|
|
152
|
+
tag("sender_role")
|
|
153
|
+
)
|
|
154
|
+
),
|
|
155
|
+
{
|
|
156
|
+
paddingBottom: 12,
|
|
157
|
+
paddingLeft: 0,
|
|
158
|
+
paddingRight: 0,
|
|
159
|
+
paddingTop: 0,
|
|
160
|
+
}
|
|
161
|
+
),
|
|
162
|
+
],
|
|
163
|
+
{
|
|
164
|
+
paddingBottom: 16,
|
|
165
|
+
paddingLeft: 28,
|
|
166
|
+
paddingRight: 28,
|
|
167
|
+
paddingTop: 8,
|
|
168
|
+
phone: { paddingLeft: 20, paddingRight: 20 },
|
|
169
|
+
}
|
|
170
|
+
),
|
|
171
|
+
singleColRow(
|
|
172
|
+
"fl-footer-row",
|
|
173
|
+
"fl-footer-col",
|
|
174
|
+
[
|
|
175
|
+
dividerBlock("fl-bottom-rule", {
|
|
176
|
+
color: "#e7e5e4",
|
|
177
|
+
paddingBottom: 18,
|
|
178
|
+
paddingLeft: 0,
|
|
179
|
+
paddingRight: 0,
|
|
180
|
+
paddingTop: 0,
|
|
181
|
+
thickness: 1,
|
|
182
|
+
}),
|
|
183
|
+
textBlock(
|
|
184
|
+
"fl-footer-text",
|
|
185
|
+
doc(
|
|
186
|
+
p(
|
|
187
|
+
tag("company_name"),
|
|
188
|
+
" · ",
|
|
189
|
+
tag("company_address"),
|
|
190
|
+
br(),
|
|
191
|
+
linkText(
|
|
192
|
+
"Unsubscribe from founder updates",
|
|
193
|
+
"{{unsubscribe_url}}"
|
|
194
|
+
)
|
|
195
|
+
)
|
|
196
|
+
),
|
|
197
|
+
{
|
|
198
|
+
color: "#57534e",
|
|
199
|
+
fontSize: 13,
|
|
200
|
+
paddingBottom: 0,
|
|
201
|
+
paddingLeft: 0,
|
|
202
|
+
paddingRight: 0,
|
|
203
|
+
paddingTop: 0,
|
|
204
|
+
}
|
|
205
|
+
),
|
|
206
|
+
],
|
|
207
|
+
{
|
|
208
|
+
paddingBottom: 32,
|
|
209
|
+
paddingLeft: 28,
|
|
210
|
+
paddingRight: 28,
|
|
211
|
+
paddingTop: 8,
|
|
212
|
+
phone: { paddingLeft: 20, paddingRight: 20 },
|
|
213
|
+
}
|
|
214
|
+
),
|
|
215
|
+
]
|
|
216
|
+
)
|
|
217
|
+
);
|
|
218
|
+
|
|
219
|
+
/** Editorial multi-section newsletter with lead essay, curated picks, and reader quote. */
|
|
220
|
+
export const newsletter: TemplateStarterEmail =
|
|
221
|
+
/* #__PURE__ */
|
|
222
|
+
defineStarterEmail(
|
|
223
|
+
{
|
|
224
|
+
category: "editorial",
|
|
225
|
+
description: "Lead essay, curated picks, and reader quote",
|
|
226
|
+
name: "Editorial newsletter",
|
|
227
|
+
},
|
|
228
|
+
() =>
|
|
229
|
+
emailDoc(
|
|
230
|
+
{
|
|
231
|
+
backgroundColor: "#f5f5f4",
|
|
232
|
+
fontFamily: FONT_SANS,
|
|
233
|
+
language: "en",
|
|
234
|
+
preheader:
|
|
235
|
+
"Issue 42: Why calm interfaces convert better, plus two curated picks for your team.",
|
|
236
|
+
style: {
|
|
237
|
+
buttonBackgroundColor: "#065f46",
|
|
238
|
+
buttonBorderRadius: 0,
|
|
239
|
+
emailBackgroundColor: "#ffffff",
|
|
240
|
+
heading1FontSize: 32,
|
|
241
|
+
heading2FontSize: 22,
|
|
242
|
+
heading3FontSize: 18,
|
|
243
|
+
headingFontFamily: FONT_SERIF,
|
|
244
|
+
linkColor: "#065f46",
|
|
245
|
+
textColor: "#1c1917",
|
|
246
|
+
textFontSize: 16,
|
|
247
|
+
},
|
|
248
|
+
width: 600,
|
|
249
|
+
},
|
|
250
|
+
[
|
|
251
|
+
row(
|
|
252
|
+
"nl-masthead-row",
|
|
253
|
+
[
|
|
254
|
+
col(
|
|
255
|
+
"nl-masthead-left",
|
|
256
|
+
50,
|
|
257
|
+
[
|
|
258
|
+
textBlock(
|
|
259
|
+
"nl-brand",
|
|
260
|
+
doc(
|
|
261
|
+
p(
|
|
262
|
+
tag("company_name", [{ type: "bold" }]),
|
|
263
|
+
bold(" Dispatch")
|
|
264
|
+
)
|
|
265
|
+
),
|
|
266
|
+
{
|
|
267
|
+
color: "#1c1917",
|
|
268
|
+
fontSize: 18,
|
|
269
|
+
paddingBottom: 8,
|
|
270
|
+
paddingLeft: 0,
|
|
271
|
+
paddingRight: 8,
|
|
272
|
+
paddingTop: 8,
|
|
273
|
+
}
|
|
274
|
+
),
|
|
275
|
+
],
|
|
276
|
+
{ verticalAlign: "middle" }
|
|
277
|
+
),
|
|
278
|
+
col(
|
|
279
|
+
"nl-masthead-right",
|
|
280
|
+
50,
|
|
281
|
+
[
|
|
282
|
+
textBlock("nl-issue", doc(p("Issue 42 · Spring Edition")), {
|
|
283
|
+
align: "right",
|
|
284
|
+
color: "#57534e",
|
|
285
|
+
fontSize: 13,
|
|
286
|
+
paddingBottom: 8,
|
|
287
|
+
paddingLeft: 8,
|
|
288
|
+
paddingRight: 0,
|
|
289
|
+
paddingTop: 8,
|
|
290
|
+
}),
|
|
291
|
+
],
|
|
292
|
+
{ verticalAlign: "middle" }
|
|
293
|
+
),
|
|
294
|
+
],
|
|
295
|
+
{
|
|
296
|
+
backgroundColor: "#ffffff",
|
|
297
|
+
paddingBottom: 8,
|
|
298
|
+
paddingLeft: 32,
|
|
299
|
+
paddingRight: 32,
|
|
300
|
+
paddingTop: 24,
|
|
301
|
+
phone: { paddingLeft: 20, paddingRight: 20 },
|
|
302
|
+
stackOnPhone: false,
|
|
303
|
+
}
|
|
304
|
+
),
|
|
305
|
+
singleColRow(
|
|
306
|
+
"nl-nav-row",
|
|
307
|
+
"nl-nav-col",
|
|
308
|
+
[
|
|
309
|
+
dividerBlock("nl-nav-rule", {
|
|
310
|
+
color: "#e7e5e4",
|
|
311
|
+
paddingBottom: 10,
|
|
312
|
+
paddingLeft: 0,
|
|
313
|
+
paddingRight: 0,
|
|
314
|
+
paddingTop: 0,
|
|
315
|
+
thickness: 1,
|
|
316
|
+
}),
|
|
317
|
+
menuBlock(
|
|
318
|
+
"nl-nav-menu",
|
|
319
|
+
[
|
|
320
|
+
{ label: "Essays", url: "{{website_url}}" },
|
|
321
|
+
{ label: "Release notes", url: "{{changelog_url}}" },
|
|
322
|
+
{ label: "Guides", url: "{{help_url}}" },
|
|
323
|
+
],
|
|
324
|
+
{
|
|
325
|
+
align: "left",
|
|
326
|
+
color: "#44403c",
|
|
327
|
+
fontSize: 13,
|
|
328
|
+
gap: 20,
|
|
329
|
+
paddingBottom: 10,
|
|
330
|
+
paddingLeft: 0,
|
|
331
|
+
paddingRight: 0,
|
|
332
|
+
paddingTop: 0,
|
|
333
|
+
}
|
|
334
|
+
),
|
|
335
|
+
dividerBlock("nl-nav-rule-bottom", {
|
|
336
|
+
color: "#1c1917",
|
|
337
|
+
paddingBottom: 0,
|
|
338
|
+
paddingLeft: 0,
|
|
339
|
+
paddingRight: 0,
|
|
340
|
+
paddingTop: 0,
|
|
341
|
+
thickness: 2,
|
|
342
|
+
}),
|
|
343
|
+
],
|
|
344
|
+
{
|
|
345
|
+
backgroundColor: "#ffffff",
|
|
346
|
+
paddingBottom: 8,
|
|
347
|
+
paddingLeft: 32,
|
|
348
|
+
paddingRight: 32,
|
|
349
|
+
paddingTop: 0,
|
|
350
|
+
phone: { paddingLeft: 20, paddingRight: 20 },
|
|
351
|
+
}
|
|
352
|
+
),
|
|
353
|
+
singleColRow(
|
|
354
|
+
"nl-lead-row",
|
|
355
|
+
"nl-lead-col",
|
|
356
|
+
[
|
|
357
|
+
textBlock("nl-lead-eyebrow", doc(p(bold("LEAD ESSAY"))), {
|
|
358
|
+
color: "#065f46",
|
|
359
|
+
fontSize: 12,
|
|
360
|
+
paddingBottom: 8,
|
|
361
|
+
paddingLeft: 0,
|
|
362
|
+
paddingRight: 0,
|
|
363
|
+
paddingTop: 16,
|
|
364
|
+
}),
|
|
365
|
+
headingBlock(
|
|
366
|
+
"nl-lead-title",
|
|
367
|
+
1,
|
|
368
|
+
headingDoc(
|
|
369
|
+
p("Why calm interfaces convert better than loud ones")
|
|
370
|
+
),
|
|
371
|
+
{
|
|
372
|
+
paddingBottom: 14,
|
|
373
|
+
paddingLeft: 0,
|
|
374
|
+
paddingRight: 0,
|
|
375
|
+
paddingTop: 0,
|
|
376
|
+
phone: { fontSize: 26 },
|
|
377
|
+
}
|
|
378
|
+
),
|
|
379
|
+
textBlock(
|
|
380
|
+
"nl-lead-copy",
|
|
381
|
+
doc(
|
|
382
|
+
p("Good morning, ", tag("first_name"), "."),
|
|
383
|
+
p(
|
|
384
|
+
"When every announcement competes with flashing banners and competing buttons, readers tune out. Teams that strip an email back to one clear argument, generous whitespace, and a single obvious action consistently earn higher replies and steadier clicks."
|
|
385
|
+
),
|
|
386
|
+
p(
|
|
387
|
+
"In this issue, we break down real campaign before-and-afters from four product teams that simplified their weekly dispatches."
|
|
388
|
+
)
|
|
389
|
+
),
|
|
390
|
+
{
|
|
391
|
+
paddingBottom: 18,
|
|
392
|
+
paddingLeft: 0,
|
|
393
|
+
paddingRight: 0,
|
|
394
|
+
paddingTop: 0,
|
|
395
|
+
}
|
|
396
|
+
),
|
|
397
|
+
buttonBlock("nl-lead-cta", "Read the full essay", "{{cta_url}}", {
|
|
398
|
+
align: "left",
|
|
399
|
+
paddingBottom: 8,
|
|
400
|
+
paddingLeft: 0,
|
|
401
|
+
paddingRight: 0,
|
|
402
|
+
paddingTop: 0,
|
|
403
|
+
}),
|
|
404
|
+
],
|
|
405
|
+
{
|
|
406
|
+
backgroundColor: "#ffffff",
|
|
407
|
+
paddingBottom: 20,
|
|
408
|
+
paddingLeft: 32,
|
|
409
|
+
paddingRight: 32,
|
|
410
|
+
paddingTop: 8,
|
|
411
|
+
phone: { paddingLeft: 20, paddingRight: 20 },
|
|
412
|
+
}
|
|
413
|
+
),
|
|
414
|
+
row(
|
|
415
|
+
"nl-picks-row",
|
|
416
|
+
[
|
|
417
|
+
col(
|
|
418
|
+
"nl-pick-1-col",
|
|
419
|
+
50,
|
|
420
|
+
[
|
|
421
|
+
textBlock("nl-pick-1-kicker", doc(p(bold("TYPOGRAPHY"))), {
|
|
422
|
+
color: "#065f46",
|
|
423
|
+
fontSize: 11,
|
|
424
|
+
paddingBottom: 4,
|
|
425
|
+
paddingLeft: 16,
|
|
426
|
+
paddingRight: 16,
|
|
427
|
+
paddingTop: 16,
|
|
428
|
+
}),
|
|
429
|
+
headingBlock(
|
|
430
|
+
"nl-pick-1-title",
|
|
431
|
+
3,
|
|
432
|
+
headingDoc(
|
|
433
|
+
p("Pairing serif headings with clean sans copy")
|
|
434
|
+
),
|
|
435
|
+
{
|
|
436
|
+
paddingBottom: 8,
|
|
437
|
+
paddingLeft: 16,
|
|
438
|
+
paddingRight: 16,
|
|
439
|
+
paddingTop: 0,
|
|
440
|
+
}
|
|
441
|
+
),
|
|
442
|
+
textBlock(
|
|
443
|
+
"nl-pick-1-body",
|
|
444
|
+
doc(
|
|
445
|
+
p(
|
|
446
|
+
"How system font stacks hold their proportions across Apple Mail, Gmail, and Outlook without extra downloads."
|
|
447
|
+
),
|
|
448
|
+
p(linkText("Open the typography notes", "{{help_url}}"))
|
|
449
|
+
),
|
|
450
|
+
{
|
|
451
|
+
fontSize: 14,
|
|
452
|
+
paddingBottom: 16,
|
|
453
|
+
paddingLeft: 16,
|
|
454
|
+
paddingRight: 16,
|
|
455
|
+
paddingTop: 0,
|
|
456
|
+
}
|
|
457
|
+
),
|
|
458
|
+
],
|
|
459
|
+
{
|
|
460
|
+
backgroundColor: "#fafaf9",
|
|
461
|
+
borderColor: "#e7e5e4",
|
|
462
|
+
borderStyle: "solid",
|
|
463
|
+
borderWidth: 1,
|
|
464
|
+
}
|
|
465
|
+
),
|
|
466
|
+
col(
|
|
467
|
+
"nl-pick-2-col",
|
|
468
|
+
50,
|
|
469
|
+
[
|
|
470
|
+
textBlock("nl-pick-2-kicker", doc(p(bold("MEASUREMENT"))), {
|
|
471
|
+
color: "#065f46",
|
|
472
|
+
fontSize: 11,
|
|
473
|
+
paddingBottom: 4,
|
|
474
|
+
paddingLeft: 16,
|
|
475
|
+
paddingRight: 16,
|
|
476
|
+
paddingTop: 16,
|
|
477
|
+
}),
|
|
478
|
+
headingBlock(
|
|
479
|
+
"nl-pick-2-title",
|
|
480
|
+
3,
|
|
481
|
+
headingDoc(p("Looking past open rates to real engagement")),
|
|
482
|
+
{
|
|
483
|
+
paddingBottom: 8,
|
|
484
|
+
paddingLeft: 16,
|
|
485
|
+
paddingRight: 16,
|
|
486
|
+
paddingTop: 0,
|
|
487
|
+
}
|
|
488
|
+
),
|
|
489
|
+
textBlock(
|
|
490
|
+
"nl-pick-2-body",
|
|
491
|
+
doc(
|
|
492
|
+
p(
|
|
493
|
+
"Why reply rate, link-click depth, and unsubscribes per thousand tell a far truer story about reader trust."
|
|
494
|
+
),
|
|
495
|
+
p(linkText("See the metrics guide", "{{cta_url}}"))
|
|
496
|
+
),
|
|
497
|
+
{
|
|
498
|
+
fontSize: 14,
|
|
499
|
+
paddingBottom: 16,
|
|
500
|
+
paddingLeft: 16,
|
|
501
|
+
paddingRight: 16,
|
|
502
|
+
paddingTop: 0,
|
|
503
|
+
}
|
|
504
|
+
),
|
|
505
|
+
],
|
|
506
|
+
{
|
|
507
|
+
backgroundColor: "#fafaf9",
|
|
508
|
+
borderColor: "#e7e5e4",
|
|
509
|
+
borderStyle: "solid",
|
|
510
|
+
borderWidth: 1,
|
|
511
|
+
}
|
|
512
|
+
),
|
|
513
|
+
],
|
|
514
|
+
{
|
|
515
|
+
backgroundColor: "#ffffff",
|
|
516
|
+
paddingBottom: 24,
|
|
517
|
+
paddingLeft: 32,
|
|
518
|
+
paddingRight: 32,
|
|
519
|
+
paddingTop: 8,
|
|
520
|
+
phone: { paddingLeft: 20, paddingRight: 20 },
|
|
521
|
+
}
|
|
522
|
+
),
|
|
523
|
+
singleColRow(
|
|
524
|
+
"nl-quote-row",
|
|
525
|
+
"nl-quote-col",
|
|
526
|
+
[
|
|
527
|
+
textBlock(
|
|
528
|
+
"nl-quote-box",
|
|
529
|
+
doc(
|
|
530
|
+
p(
|
|
531
|
+
italic(
|
|
532
|
+
"“Once we cut our newsletter down to one lead idea and two short links, readers started forwarding issues to their teammates every week.”"
|
|
533
|
+
)
|
|
534
|
+
),
|
|
535
|
+
p(bold("Hannah Morales"), " · Editorial Lead, Harborline")
|
|
536
|
+
),
|
|
537
|
+
{
|
|
538
|
+
borderColor: "#a7f3d0",
|
|
539
|
+
borderStyle: "solid",
|
|
540
|
+
borderWidth: 1,
|
|
541
|
+
boxBackgroundColor: "#ecfdf5",
|
|
542
|
+
color: "#064e3b",
|
|
543
|
+
fontSize: 15,
|
|
544
|
+
paddingBottom: 20,
|
|
545
|
+
paddingLeft: 22,
|
|
546
|
+
paddingRight: 22,
|
|
547
|
+
paddingTop: 20,
|
|
548
|
+
}
|
|
549
|
+
),
|
|
550
|
+
],
|
|
551
|
+
{
|
|
552
|
+
backgroundColor: "#ffffff",
|
|
553
|
+
paddingBottom: 28,
|
|
554
|
+
paddingLeft: 32,
|
|
555
|
+
paddingRight: 32,
|
|
556
|
+
paddingTop: 4,
|
|
557
|
+
phone: { paddingLeft: 20, paddingRight: 20 },
|
|
558
|
+
}
|
|
559
|
+
),
|
|
560
|
+
singleColRow(
|
|
561
|
+
"nl-footer-row",
|
|
562
|
+
"nl-footer-col",
|
|
563
|
+
[
|
|
564
|
+
socialBlock(
|
|
565
|
+
"nl-social",
|
|
566
|
+
[
|
|
567
|
+
{ network: "website", url: "{{website_url}}" },
|
|
568
|
+
{
|
|
569
|
+
network: "linkedin",
|
|
570
|
+
url: "https://linkedin.com/company/northstar",
|
|
571
|
+
},
|
|
572
|
+
{ network: "x", url: "https://x.com/northstar" },
|
|
573
|
+
],
|
|
574
|
+
{
|
|
575
|
+
align: "center",
|
|
576
|
+
iconSize: 32,
|
|
577
|
+
iconStyle: "color",
|
|
578
|
+
paddingBottom: 14,
|
|
579
|
+
paddingLeft: 0,
|
|
580
|
+
paddingRight: 0,
|
|
581
|
+
paddingTop: 4,
|
|
582
|
+
}
|
|
583
|
+
),
|
|
584
|
+
textBlock(
|
|
585
|
+
"nl-footer-text",
|
|
586
|
+
doc(
|
|
587
|
+
p(
|
|
588
|
+
tag("company_name"),
|
|
589
|
+
" · ",
|
|
590
|
+
tag("company_address"),
|
|
591
|
+
br(),
|
|
592
|
+
linkText("Manage preferences", "{{preferences_url}}"),
|
|
593
|
+
" · ",
|
|
594
|
+
linkText("Unsubscribe", "{{unsubscribe_url}}")
|
|
595
|
+
)
|
|
596
|
+
),
|
|
597
|
+
{
|
|
598
|
+
align: "center",
|
|
599
|
+
color: "#57534e",
|
|
600
|
+
fontSize: 13,
|
|
601
|
+
paddingBottom: 0,
|
|
602
|
+
paddingLeft: 0,
|
|
603
|
+
paddingRight: 0,
|
|
604
|
+
paddingTop: 0,
|
|
605
|
+
}
|
|
606
|
+
),
|
|
607
|
+
],
|
|
608
|
+
{
|
|
609
|
+
backgroundColor: "#fafaf9",
|
|
610
|
+
paddingBottom: 28,
|
|
611
|
+
paddingLeft: 32,
|
|
612
|
+
paddingRight: 32,
|
|
613
|
+
paddingTop: 20,
|
|
614
|
+
phone: { paddingLeft: 20, paddingRight: 20 },
|
|
615
|
+
}
|
|
616
|
+
),
|
|
617
|
+
]
|
|
618
|
+
)
|
|
619
|
+
);
|
|
620
|
+
|
|
621
|
+
/** Curated 2-column weekly digest designed for fast Monday scanning. */
|
|
622
|
+
export const weeklyDigest: TemplateStarterEmail =
|
|
623
|
+
/* #__PURE__ */
|
|
624
|
+
defineStarterEmail(
|
|
625
|
+
{
|
|
626
|
+
category: "editorial",
|
|
627
|
+
description: "Curated 2-column roundup for busy teams",
|
|
628
|
+
name: "Weekly digest",
|
|
629
|
+
},
|
|
630
|
+
() =>
|
|
631
|
+
emailDoc(
|
|
632
|
+
{
|
|
633
|
+
backgroundColor: "#f1f5f9",
|
|
634
|
+
fontFamily: FONT_SANS,
|
|
635
|
+
language: "en",
|
|
636
|
+
preheader:
|
|
637
|
+
"Four practical stories from engineering, design, and operations in under three minutes.",
|
|
638
|
+
style: {
|
|
639
|
+
buttonBackgroundColor: "#1d4ed8",
|
|
640
|
+
buttonBorderRadius: 6,
|
|
641
|
+
emailBackgroundColor: "#ffffff",
|
|
642
|
+
heading1FontSize: 28,
|
|
643
|
+
heading2FontSize: 20,
|
|
644
|
+
heading3FontSize: 17,
|
|
645
|
+
linkColor: "#1d4ed8",
|
|
646
|
+
textColor: "#0f172a",
|
|
647
|
+
textFontSize: 15,
|
|
648
|
+
},
|
|
649
|
+
width: 600,
|
|
650
|
+
},
|
|
651
|
+
[
|
|
652
|
+
singleColRow(
|
|
653
|
+
"wd-banner-row",
|
|
654
|
+
"wd-banner-col",
|
|
655
|
+
[
|
|
656
|
+
textBlock("wd-banner-eyebrow", doc(p(bold("MONDAY BRIEFING"))), {
|
|
657
|
+
color: "#93c5fd",
|
|
658
|
+
fontSize: 11,
|
|
659
|
+
paddingBottom: 6,
|
|
660
|
+
paddingLeft: 0,
|
|
661
|
+
paddingRight: 0,
|
|
662
|
+
paddingTop: 0,
|
|
663
|
+
}),
|
|
664
|
+
headingBlock(
|
|
665
|
+
"wd-banner-title",
|
|
666
|
+
1,
|
|
667
|
+
headingDoc(p(tag("company_name"), " Weekly Digest")),
|
|
668
|
+
{
|
|
669
|
+
color: "#ffffff",
|
|
670
|
+
fontSize: 28,
|
|
671
|
+
paddingBottom: 6,
|
|
672
|
+
paddingLeft: 0,
|
|
673
|
+
paddingRight: 0,
|
|
674
|
+
paddingTop: 0,
|
|
675
|
+
phone: { fontSize: 24 },
|
|
676
|
+
}
|
|
677
|
+
),
|
|
678
|
+
textBlock(
|
|
679
|
+
"wd-banner-sub",
|
|
680
|
+
doc(
|
|
681
|
+
p(
|
|
682
|
+
"Four stories curated for ",
|
|
683
|
+
tag("first_name"),
|
|
684
|
+
" — distilled so you can scan in two minutes."
|
|
685
|
+
)
|
|
686
|
+
),
|
|
687
|
+
{
|
|
688
|
+
color: "#cbd5e1",
|
|
689
|
+
fontSize: 15,
|
|
690
|
+
paddingBottom: 0,
|
|
691
|
+
paddingLeft: 0,
|
|
692
|
+
paddingRight: 0,
|
|
693
|
+
paddingTop: 0,
|
|
694
|
+
}
|
|
695
|
+
),
|
|
696
|
+
],
|
|
697
|
+
{
|
|
698
|
+
backgroundColor: "#0f172a",
|
|
699
|
+
paddingBottom: 28,
|
|
700
|
+
paddingLeft: 32,
|
|
701
|
+
paddingRight: 32,
|
|
702
|
+
paddingTop: 28,
|
|
703
|
+
phone: { paddingLeft: 20, paddingRight: 20 },
|
|
704
|
+
}
|
|
705
|
+
),
|
|
706
|
+
row(
|
|
707
|
+
"wd-grid-top-row",
|
|
708
|
+
[
|
|
709
|
+
col(
|
|
710
|
+
"wd-card-1-col",
|
|
711
|
+
50,
|
|
712
|
+
[
|
|
713
|
+
textBlock("wd-card-1-cat", doc(p(bold("DESIGN SYSTEMS"))), {
|
|
714
|
+
color: "#1d4ed8",
|
|
715
|
+
fontSize: 11,
|
|
716
|
+
paddingBottom: 4,
|
|
717
|
+
paddingLeft: 16,
|
|
718
|
+
paddingRight: 16,
|
|
719
|
+
paddingTop: 16,
|
|
720
|
+
}),
|
|
721
|
+
headingBlock(
|
|
722
|
+
"wd-card-1-title",
|
|
723
|
+
3,
|
|
724
|
+
headingDoc(p("Cutting review cycles with shared tokens")),
|
|
725
|
+
{
|
|
726
|
+
paddingBottom: 6,
|
|
727
|
+
paddingLeft: 16,
|
|
728
|
+
paddingRight: 16,
|
|
729
|
+
paddingTop: 0,
|
|
730
|
+
}
|
|
731
|
+
),
|
|
732
|
+
textBlock(
|
|
733
|
+
"wd-card-1-body",
|
|
734
|
+
doc(
|
|
735
|
+
p(
|
|
736
|
+
"One small set of semantic color and spacing rules keeps multi-brand products consistent without slowing designers down."
|
|
737
|
+
),
|
|
738
|
+
p(linkText("Read the design breakdown", "{{cta_url}}"))
|
|
739
|
+
),
|
|
740
|
+
{
|
|
741
|
+
color: "#334155",
|
|
742
|
+
fontSize: 14,
|
|
743
|
+
paddingBottom: 16,
|
|
744
|
+
paddingLeft: 16,
|
|
745
|
+
paddingRight: 16,
|
|
746
|
+
paddingTop: 0,
|
|
747
|
+
}
|
|
748
|
+
),
|
|
749
|
+
],
|
|
750
|
+
{
|
|
751
|
+
backgroundColor: "#ffffff",
|
|
752
|
+
borderColor: "#e2e8f0",
|
|
753
|
+
borderStyle: "solid",
|
|
754
|
+
borderWidth: 1,
|
|
755
|
+
}
|
|
756
|
+
),
|
|
757
|
+
col(
|
|
758
|
+
"wd-card-2-col",
|
|
759
|
+
50,
|
|
760
|
+
[
|
|
761
|
+
textBlock("wd-card-2-cat", doc(p(bold("ENGINEERING"))), {
|
|
762
|
+
color: "#1d4ed8",
|
|
763
|
+
fontSize: 11,
|
|
764
|
+
paddingBottom: 4,
|
|
765
|
+
paddingLeft: 16,
|
|
766
|
+
paddingRight: 16,
|
|
767
|
+
paddingTop: 16,
|
|
768
|
+
}),
|
|
769
|
+
headingBlock(
|
|
770
|
+
"wd-card-2-title",
|
|
771
|
+
3,
|
|
772
|
+
headingDoc(p("Zero-downtime schema upgrades")),
|
|
773
|
+
{
|
|
774
|
+
paddingBottom: 6,
|
|
775
|
+
paddingLeft: 16,
|
|
776
|
+
paddingRight: 16,
|
|
777
|
+
paddingTop: 0,
|
|
778
|
+
}
|
|
779
|
+
),
|
|
780
|
+
textBlock(
|
|
781
|
+
"wd-card-2-body",
|
|
782
|
+
doc(
|
|
783
|
+
p(
|
|
784
|
+
"How expand-and-contract migrations let distributed teams ship document format versions safely without blocking active sessions."
|
|
785
|
+
),
|
|
786
|
+
p(
|
|
787
|
+
linkText(
|
|
788
|
+
"View the migration checklist",
|
|
789
|
+
"{{changelog_url}}"
|
|
790
|
+
)
|
|
791
|
+
)
|
|
792
|
+
),
|
|
793
|
+
{
|
|
794
|
+
color: "#334155",
|
|
795
|
+
fontSize: 14,
|
|
796
|
+
paddingBottom: 16,
|
|
797
|
+
paddingLeft: 16,
|
|
798
|
+
paddingRight: 16,
|
|
799
|
+
paddingTop: 0,
|
|
800
|
+
}
|
|
801
|
+
),
|
|
802
|
+
],
|
|
803
|
+
{
|
|
804
|
+
backgroundColor: "#ffffff",
|
|
805
|
+
borderColor: "#e2e8f0",
|
|
806
|
+
borderStyle: "solid",
|
|
807
|
+
borderWidth: 1,
|
|
808
|
+
}
|
|
809
|
+
),
|
|
810
|
+
],
|
|
811
|
+
{
|
|
812
|
+
backgroundColor: "#ffffff",
|
|
813
|
+
paddingBottom: 12,
|
|
814
|
+
paddingLeft: 24,
|
|
815
|
+
paddingRight: 24,
|
|
816
|
+
paddingTop: 24,
|
|
817
|
+
phone: { paddingLeft: 16, paddingRight: 16 },
|
|
818
|
+
}
|
|
819
|
+
),
|
|
820
|
+
row(
|
|
821
|
+
"wd-grid-bot-row",
|
|
822
|
+
[
|
|
823
|
+
col(
|
|
824
|
+
"wd-card-3-col",
|
|
825
|
+
50,
|
|
826
|
+
[
|
|
827
|
+
textBlock("wd-card-3-cat", doc(p(bold("CUSTOMER CRAFT"))), {
|
|
828
|
+
color: "#1d4ed8",
|
|
829
|
+
fontSize: 11,
|
|
830
|
+
paddingBottom: 4,
|
|
831
|
+
paddingLeft: 16,
|
|
832
|
+
paddingRight: 16,
|
|
833
|
+
paddingTop: 16,
|
|
834
|
+
}),
|
|
835
|
+
headingBlock(
|
|
836
|
+
"wd-card-3-title",
|
|
837
|
+
3,
|
|
838
|
+
headingDoc(p("Turning support tickets into roadmap wins")),
|
|
839
|
+
{
|
|
840
|
+
paddingBottom: 6,
|
|
841
|
+
paddingLeft: 16,
|
|
842
|
+
paddingRight: 16,
|
|
843
|
+
paddingTop: 0,
|
|
844
|
+
}
|
|
845
|
+
),
|
|
846
|
+
textBlock(
|
|
847
|
+
"wd-card-3-body",
|
|
848
|
+
doc(
|
|
849
|
+
p(
|
|
850
|
+
"Tagging recurring customer friction in five minutes a week reveals which small fixes unlock the biggest retention gains."
|
|
851
|
+
),
|
|
852
|
+
p(
|
|
853
|
+
linkText(
|
|
854
|
+
"Explore the workflow template",
|
|
855
|
+
"{{help_url}}"
|
|
856
|
+
)
|
|
857
|
+
)
|
|
858
|
+
),
|
|
859
|
+
{
|
|
860
|
+
color: "#334155",
|
|
861
|
+
fontSize: 14,
|
|
862
|
+
paddingBottom: 16,
|
|
863
|
+
paddingLeft: 16,
|
|
864
|
+
paddingRight: 16,
|
|
865
|
+
paddingTop: 0,
|
|
866
|
+
}
|
|
867
|
+
),
|
|
868
|
+
],
|
|
869
|
+
{
|
|
870
|
+
backgroundColor: "#ffffff",
|
|
871
|
+
borderColor: "#e2e8f0",
|
|
872
|
+
borderStyle: "solid",
|
|
873
|
+
borderWidth: 1,
|
|
874
|
+
}
|
|
875
|
+
),
|
|
876
|
+
col(
|
|
877
|
+
"wd-card-4-col",
|
|
878
|
+
50,
|
|
879
|
+
[
|
|
880
|
+
textBlock("wd-card-4-cat", doc(p(bold("OPERATIONS"))), {
|
|
881
|
+
color: "#1d4ed8",
|
|
882
|
+
fontSize: 11,
|
|
883
|
+
paddingBottom: 4,
|
|
884
|
+
paddingLeft: 16,
|
|
885
|
+
paddingRight: 16,
|
|
886
|
+
paddingTop: 16,
|
|
887
|
+
}),
|
|
888
|
+
headingBlock(
|
|
889
|
+
"wd-card-4-title",
|
|
890
|
+
3,
|
|
891
|
+
headingDoc(p("The 15-minute Monday metrics review")),
|
|
892
|
+
{
|
|
893
|
+
paddingBottom: 6,
|
|
894
|
+
paddingLeft: 16,
|
|
895
|
+
paddingRight: 16,
|
|
896
|
+
paddingTop: 0,
|
|
897
|
+
}
|
|
898
|
+
),
|
|
899
|
+
textBlock(
|
|
900
|
+
"wd-card-4-body",
|
|
901
|
+
doc(
|
|
902
|
+
p(
|
|
903
|
+
"A concise meeting format that tracks activation, delivery health, and customer response times without sprawling slide decks."
|
|
904
|
+
),
|
|
905
|
+
p(linkText("Get the review agenda", "{{website_url}}"))
|
|
906
|
+
),
|
|
907
|
+
{
|
|
908
|
+
color: "#334155",
|
|
909
|
+
fontSize: 14,
|
|
910
|
+
paddingBottom: 16,
|
|
911
|
+
paddingLeft: 16,
|
|
912
|
+
paddingRight: 16,
|
|
913
|
+
paddingTop: 0,
|
|
914
|
+
}
|
|
915
|
+
),
|
|
916
|
+
],
|
|
917
|
+
{
|
|
918
|
+
backgroundColor: "#ffffff",
|
|
919
|
+
borderColor: "#e2e8f0",
|
|
920
|
+
borderStyle: "solid",
|
|
921
|
+
borderWidth: 1,
|
|
922
|
+
}
|
|
923
|
+
),
|
|
924
|
+
],
|
|
925
|
+
{
|
|
926
|
+
backgroundColor: "#ffffff",
|
|
927
|
+
paddingBottom: 20,
|
|
928
|
+
paddingLeft: 24,
|
|
929
|
+
paddingRight: 24,
|
|
930
|
+
paddingTop: 0,
|
|
931
|
+
phone: { paddingLeft: 16, paddingRight: 16 },
|
|
932
|
+
}
|
|
933
|
+
),
|
|
934
|
+
singleColRow(
|
|
935
|
+
"wd-cta-row",
|
|
936
|
+
"wd-cta-col",
|
|
937
|
+
[
|
|
938
|
+
buttonBlock(
|
|
939
|
+
"wd-cta-btn",
|
|
940
|
+
"Browse the full weekly archive",
|
|
941
|
+
"{{cta_url}}",
|
|
942
|
+
{
|
|
943
|
+
align: "center",
|
|
944
|
+
paddingBottom: 8,
|
|
945
|
+
paddingLeft: 0,
|
|
946
|
+
paddingRight: 0,
|
|
947
|
+
paddingTop: 4,
|
|
948
|
+
}
|
|
949
|
+
),
|
|
950
|
+
],
|
|
951
|
+
{
|
|
952
|
+
backgroundColor: "#ffffff",
|
|
953
|
+
paddingBottom: 28,
|
|
954
|
+
paddingLeft: 24,
|
|
955
|
+
paddingRight: 24,
|
|
956
|
+
paddingTop: 4,
|
|
957
|
+
}
|
|
958
|
+
),
|
|
959
|
+
singleColRow(
|
|
960
|
+
"wd-footer-row",
|
|
961
|
+
"wd-footer-col",
|
|
962
|
+
[
|
|
963
|
+
textBlock(
|
|
964
|
+
"wd-footer-text",
|
|
965
|
+
doc(
|
|
966
|
+
p(
|
|
967
|
+
tag("company_name"),
|
|
968
|
+
" · ",
|
|
969
|
+
tag("company_address"),
|
|
970
|
+
br(),
|
|
971
|
+
linkText(
|
|
972
|
+
"Manage digest preferences",
|
|
973
|
+
"{{preferences_url}}"
|
|
974
|
+
),
|
|
975
|
+
" · ",
|
|
976
|
+
linkText(
|
|
977
|
+
"Unsubscribe from weekly digests",
|
|
978
|
+
"{{unsubscribe_url}}"
|
|
979
|
+
)
|
|
980
|
+
)
|
|
981
|
+
),
|
|
982
|
+
{
|
|
983
|
+
align: "center",
|
|
984
|
+
color: "#475569",
|
|
985
|
+
fontSize: 13,
|
|
986
|
+
paddingBottom: 0,
|
|
987
|
+
paddingLeft: 0,
|
|
988
|
+
paddingRight: 0,
|
|
989
|
+
paddingTop: 0,
|
|
990
|
+
}
|
|
991
|
+
),
|
|
992
|
+
],
|
|
993
|
+
{
|
|
994
|
+
backgroundColor: "#f8fafc",
|
|
995
|
+
paddingBottom: 24,
|
|
996
|
+
paddingLeft: 24,
|
|
997
|
+
paddingRight: 24,
|
|
998
|
+
paddingTop: 20,
|
|
999
|
+
}
|
|
1000
|
+
),
|
|
1001
|
+
]
|
|
1002
|
+
)
|
|
1003
|
+
);
|
|
1004
|
+
|
|
1005
|
+
/** Minimal executive or operational status announcement with clear timeline. */
|
|
1006
|
+
export const companyAnnouncement: TemplateStarterEmail =
|
|
1007
|
+
/* #__PURE__ */
|
|
1008
|
+
defineStarterEmail(
|
|
1009
|
+
{
|
|
1010
|
+
category: "editorial",
|
|
1011
|
+
description: "Minimal executive update and timeline",
|
|
1012
|
+
name: "Company announcement",
|
|
1013
|
+
},
|
|
1014
|
+
() =>
|
|
1015
|
+
emailDoc(
|
|
1016
|
+
{
|
|
1017
|
+
backgroundColor: "#f4f4f5",
|
|
1018
|
+
fontFamily: FONT_SANS,
|
|
1019
|
+
language: "en",
|
|
1020
|
+
preheader:
|
|
1021
|
+
"Important update on our European infrastructure expansion and reliability milestones.",
|
|
1022
|
+
style: {
|
|
1023
|
+
buttonBackgroundColor: "#1e3a8a",
|
|
1024
|
+
buttonBorderRadius: 4,
|
|
1025
|
+
emailBackgroundColor: "#ffffff",
|
|
1026
|
+
heading1FontSize: 28,
|
|
1027
|
+
heading2FontSize: 20,
|
|
1028
|
+
heading3FontSize: 16,
|
|
1029
|
+
headingFontFamily: FONT_SERIF,
|
|
1030
|
+
linkColor: "#1e3a8a",
|
|
1031
|
+
textColor: "#18181b",
|
|
1032
|
+
textFontSize: 16,
|
|
1033
|
+
},
|
|
1034
|
+
width: 600,
|
|
1035
|
+
},
|
|
1036
|
+
[
|
|
1037
|
+
singleColRow(
|
|
1038
|
+
"ca-header-row",
|
|
1039
|
+
"ca-header-col",
|
|
1040
|
+
[
|
|
1041
|
+
dividerBlock("ca-top-accent", {
|
|
1042
|
+
color: "#1e3a8a",
|
|
1043
|
+
paddingBottom: 20,
|
|
1044
|
+
paddingLeft: 0,
|
|
1045
|
+
paddingRight: 0,
|
|
1046
|
+
paddingTop: 0,
|
|
1047
|
+
thickness: 3,
|
|
1048
|
+
}),
|
|
1049
|
+
textBlock(
|
|
1050
|
+
"ca-header-label",
|
|
1051
|
+
doc(
|
|
1052
|
+
p(
|
|
1053
|
+
tag("company_name", [{ type: "bold" }]),
|
|
1054
|
+
" · Company Announcement"
|
|
1055
|
+
)
|
|
1056
|
+
),
|
|
1057
|
+
{
|
|
1058
|
+
color: "#52525b",
|
|
1059
|
+
fontSize: 13,
|
|
1060
|
+
paddingBottom: 8,
|
|
1061
|
+
paddingLeft: 0,
|
|
1062
|
+
paddingRight: 0,
|
|
1063
|
+
paddingTop: 0,
|
|
1064
|
+
}
|
|
1065
|
+
),
|
|
1066
|
+
],
|
|
1067
|
+
{
|
|
1068
|
+
backgroundColor: "#ffffff",
|
|
1069
|
+
paddingBottom: 0,
|
|
1070
|
+
paddingLeft: 32,
|
|
1071
|
+
paddingRight: 32,
|
|
1072
|
+
paddingTop: 0,
|
|
1073
|
+
phone: { paddingLeft: 20, paddingRight: 20 },
|
|
1074
|
+
}
|
|
1075
|
+
),
|
|
1076
|
+
singleColRow(
|
|
1077
|
+
"ca-body-row",
|
|
1078
|
+
"ca-body-col",
|
|
1079
|
+
[
|
|
1080
|
+
headingBlock(
|
|
1081
|
+
"ca-title",
|
|
1082
|
+
1,
|
|
1083
|
+
headingDoc(
|
|
1084
|
+
p(
|
|
1085
|
+
"Expanding our European infrastructure and reliability commitments"
|
|
1086
|
+
)
|
|
1087
|
+
),
|
|
1088
|
+
{
|
|
1089
|
+
paddingBottom: 14,
|
|
1090
|
+
paddingLeft: 0,
|
|
1091
|
+
paddingRight: 0,
|
|
1092
|
+
paddingTop: 8,
|
|
1093
|
+
phone: { fontSize: 24 },
|
|
1094
|
+
}
|
|
1095
|
+
),
|
|
1096
|
+
textBlock(
|
|
1097
|
+
"ca-intro",
|
|
1098
|
+
doc(
|
|
1099
|
+
p("Hi ", tag("first_name"), ","),
|
|
1100
|
+
p(
|
|
1101
|
+
"Next month, we are opening our Frankfurt data region to serve European workspaces with lower latency and local data residency. Every existing workspace remains unaffected, and no downtime or configuration changes are required."
|
|
1102
|
+
)
|
|
1103
|
+
),
|
|
1104
|
+
{
|
|
1105
|
+
paddingBottom: 16,
|
|
1106
|
+
paddingLeft: 0,
|
|
1107
|
+
paddingRight: 0,
|
|
1108
|
+
paddingTop: 0,
|
|
1109
|
+
}
|
|
1110
|
+
),
|
|
1111
|
+
textBlock(
|
|
1112
|
+
"ca-timeline-box",
|
|
1113
|
+
doc(
|
|
1114
|
+
p(bold("Rollout schedule")),
|
|
1115
|
+
ol(
|
|
1116
|
+
p(
|
|
1117
|
+
bold("May 4: "),
|
|
1118
|
+
"New workspaces can select the EU region during setup."
|
|
1119
|
+
),
|
|
1120
|
+
p(
|
|
1121
|
+
bold("May 18: "),
|
|
1122
|
+
"Self-serve region migration opens for existing Team plans."
|
|
1123
|
+
),
|
|
1124
|
+
p(
|
|
1125
|
+
bold("June 1: "),
|
|
1126
|
+
"Published 99.98% uptime commitments take effect across all regions."
|
|
1127
|
+
)
|
|
1128
|
+
)
|
|
1129
|
+
),
|
|
1130
|
+
{
|
|
1131
|
+
borderColor: "#d4d4d8",
|
|
1132
|
+
borderRadius: 6,
|
|
1133
|
+
borderStyle: "solid",
|
|
1134
|
+
borderWidth: 1,
|
|
1135
|
+
boxBackgroundColor: "#f4f4f5",
|
|
1136
|
+
color: "#18181b",
|
|
1137
|
+
fontSize: 15,
|
|
1138
|
+
paddingBottom: 18,
|
|
1139
|
+
paddingLeft: 20,
|
|
1140
|
+
paddingRight: 20,
|
|
1141
|
+
paddingTop: 18,
|
|
1142
|
+
}
|
|
1143
|
+
),
|
|
1144
|
+
buttonBlock(
|
|
1145
|
+
"ca-status-btn",
|
|
1146
|
+
"View live status and migration FAQ",
|
|
1147
|
+
"{{status_url}}",
|
|
1148
|
+
{
|
|
1149
|
+
align: "left",
|
|
1150
|
+
paddingBottom: 18,
|
|
1151
|
+
paddingLeft: 0,
|
|
1152
|
+
paddingRight: 0,
|
|
1153
|
+
paddingTop: 20,
|
|
1154
|
+
}
|
|
1155
|
+
),
|
|
1156
|
+
textBlock(
|
|
1157
|
+
"ca-signoff",
|
|
1158
|
+
doc(
|
|
1159
|
+
p(
|
|
1160
|
+
"If your security or compliance team needs our updated regional documentation, reach us any time at ",
|
|
1161
|
+
tagLink("support_email", "mailto:{{support_email}}"),
|
|
1162
|
+
"."
|
|
1163
|
+
),
|
|
1164
|
+
p(
|
|
1165
|
+
tag("sender_name", [{ type: "bold" }]),
|
|
1166
|
+
br(),
|
|
1167
|
+
tag("sender_role")
|
|
1168
|
+
)
|
|
1169
|
+
),
|
|
1170
|
+
{
|
|
1171
|
+
paddingBottom: 8,
|
|
1172
|
+
paddingLeft: 0,
|
|
1173
|
+
paddingRight: 0,
|
|
1174
|
+
paddingTop: 0,
|
|
1175
|
+
}
|
|
1176
|
+
),
|
|
1177
|
+
],
|
|
1178
|
+
{
|
|
1179
|
+
backgroundColor: "#ffffff",
|
|
1180
|
+
paddingBottom: 24,
|
|
1181
|
+
paddingLeft: 32,
|
|
1182
|
+
paddingRight: 32,
|
|
1183
|
+
paddingTop: 8,
|
|
1184
|
+
phone: { paddingLeft: 20, paddingRight: 20 },
|
|
1185
|
+
}
|
|
1186
|
+
),
|
|
1187
|
+
singleColRow(
|
|
1188
|
+
"ca-footer-row",
|
|
1189
|
+
"ca-footer-col",
|
|
1190
|
+
[
|
|
1191
|
+
dividerBlock("ca-footer-rule", {
|
|
1192
|
+
color: "#e4e4e7",
|
|
1193
|
+
paddingBottom: 16,
|
|
1194
|
+
paddingLeft: 0,
|
|
1195
|
+
paddingRight: 0,
|
|
1196
|
+
paddingTop: 0,
|
|
1197
|
+
thickness: 1,
|
|
1198
|
+
}),
|
|
1199
|
+
textBlock(
|
|
1200
|
+
"ca-footer-text",
|
|
1201
|
+
doc(
|
|
1202
|
+
p(
|
|
1203
|
+
tag("company_name"),
|
|
1204
|
+
" · ",
|
|
1205
|
+
tag("company_address"),
|
|
1206
|
+
br(),
|
|
1207
|
+
linkText("Manage preferences", "{{preferences_url}}"),
|
|
1208
|
+
" · ",
|
|
1209
|
+
linkText("Unsubscribe", "{{unsubscribe_url}}")
|
|
1210
|
+
)
|
|
1211
|
+
),
|
|
1212
|
+
{
|
|
1213
|
+
color: "#52525b",
|
|
1214
|
+
fontSize: 13,
|
|
1215
|
+
paddingBottom: 0,
|
|
1216
|
+
paddingLeft: 0,
|
|
1217
|
+
paddingRight: 0,
|
|
1218
|
+
paddingTop: 0,
|
|
1219
|
+
}
|
|
1220
|
+
),
|
|
1221
|
+
],
|
|
1222
|
+
{
|
|
1223
|
+
backgroundColor: "#fafafa",
|
|
1224
|
+
paddingBottom: 28,
|
|
1225
|
+
paddingLeft: 32,
|
|
1226
|
+
paddingRight: 32,
|
|
1227
|
+
paddingTop: 16,
|
|
1228
|
+
phone: { paddingLeft: 20, paddingRight: 20 },
|
|
1229
|
+
}
|
|
1230
|
+
),
|
|
1231
|
+
]
|
|
1232
|
+
)
|
|
1233
|
+
);
|