better-svelte-email 0.2.0 → 0.3.1
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/dist/components/Button.svelte +2 -4
- package/dist/components/Column.svelte +3 -8
- package/dist/components/Column.svelte.d.ts +2 -5
- package/dist/components/Container.svelte +5 -6
- package/dist/components/Container.svelte.d.ts +2 -2
- package/dist/components/Heading.svelte +34 -0
- package/dist/components/Heading.svelte.d.ts +15 -0
- package/dist/components/Hr.svelte +4 -4
- package/dist/components/Html.svelte +4 -3
- package/dist/components/Html.svelte.d.ts +3 -3
- package/dist/components/Img.svelte +27 -0
- package/dist/components/Img.svelte.d.ts +10 -0
- package/dist/components/Link.svelte +6 -10
- package/dist/components/Link.svelte.d.ts +2 -2
- package/dist/components/Preview.svelte +35 -0
- package/dist/{preview → components}/Preview.svelte.d.ts +3 -3
- package/dist/components/Row.svelte +2 -6
- package/dist/components/Row.svelte.d.ts +2 -3
- package/dist/components/Section.svelte +2 -4
- package/dist/components/Section.svelte.d.ts +2 -2
- package/dist/components/Text.svelte +4 -6
- package/dist/components/Text.svelte.d.ts +0 -1
- package/dist/components/index.d.ts +3 -0
- package/dist/components/index.js +3 -0
- package/dist/emails/apple-receipt.svelte +222 -95
- package/dist/emails/demo-email.svelte +1 -1
- package/dist/emails/test-email.svelte +4 -2
- package/dist/emails/vercel-invite-user.svelte +53 -50
- package/dist/emails/vercel-invite-user.svelte.d.ts +3 -3
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/preview/EmailPreview.svelte +776 -0
- package/dist/preview/EmailPreview.svelte.d.ts +7 -0
- package/dist/preview/index.d.ts +21 -3
- package/dist/preview/index.js +27 -5
- package/dist/utils/index.d.ts +27 -0
- package/dist/utils/index.js +47 -0
- package/package.json +32 -7
- package/dist/components/__tests__/test-email.svelte +0 -13
- package/dist/components/__tests__/test-email.svelte.d.ts +0 -26
- package/dist/preview/Preview.svelte +0 -231
|
@@ -6,57 +6,66 @@
|
|
|
6
6
|
Head,
|
|
7
7
|
Hr,
|
|
8
8
|
Html,
|
|
9
|
+
Img,
|
|
9
10
|
Link,
|
|
11
|
+
Preview,
|
|
10
12
|
Row,
|
|
11
13
|
Section,
|
|
12
14
|
Text
|
|
13
15
|
} from '../components/index.js';
|
|
14
16
|
|
|
15
|
-
const baseUrl =
|
|
17
|
+
const baseUrl =
|
|
18
|
+
process.env.VERCEL === '1' ? `https://${process.env.VERCEL_PROJECT_PRODUCTION_URL}/` : '/';
|
|
16
19
|
</script>
|
|
17
20
|
|
|
18
21
|
<Html>
|
|
19
22
|
<Head />
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
<
|
|
24
|
-
|
|
25
|
-
<Container style="margin-left:auto;margin-right:auto; width:660px; padding-left:0px;padding-right:0px; padding-top:1.25rem;padding-bottom:1.25rem; padding-bottom:3rem;">
|
|
23
|
+
<Body
|
|
24
|
+
style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; background-color: #ffffff;"
|
|
25
|
+
>
|
|
26
|
+
<Preview preview="Apple Receipt" />
|
|
27
|
+
<Container style="margin: 0 auto; padding: 20px 0 48px; width: 660px; max-width: 100%;">
|
|
26
28
|
<Section>
|
|
27
29
|
<Row>
|
|
28
30
|
<Column>
|
|
29
|
-
<
|
|
31
|
+
<Img src="{baseUrl}apple-logo.png" width="42" height="42" alt="Apple Logo" />
|
|
30
32
|
</Column>
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
<Text style="margin:0px; font-size:32px; font-weight:300; color:rgb(136,136,136);">Receipt</Text>
|
|
33
|
+
<Column style="display: table-cell;" align="right">
|
|
34
|
+
<Text style="font-size: 32px; font-weight: 300; color: #888888;">Receipt</Text>
|
|
34
35
|
</Column>
|
|
35
36
|
</Row>
|
|
36
37
|
</Section>
|
|
37
38
|
|
|
38
39
|
<Section>
|
|
39
|
-
<Text
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
</
|
|
44
|
-
|
|
40
|
+
<Text
|
|
41
|
+
style="text-align: center; margin: 36px 0 40px 0; font-size: 14px; font-weight: 500; color: #111111;"
|
|
42
|
+
>
|
|
43
|
+
Save 3% on all your Apple purchases with Apple Card.
|
|
44
|
+
<sup style="font-weight: 300;">1</sup>
|
|
45
|
+
{' '}
|
|
46
|
+
<Link href="https://www.apple.com/apple-card/">Apply and use in minutes</Link>
|
|
47
|
+
<sup style="font-weight: 300;">2</sup>
|
|
45
48
|
</Text>
|
|
46
49
|
</Section>
|
|
47
50
|
|
|
48
51
|
<Section
|
|
49
|
-
style="border-collapse:collapse; border-spacing:
|
|
52
|
+
style="border-collapse: collapse; border-spacing: 0px; color: rgb(51,51,51); background-color: rgb(250,250,250); border-radius: 3px; font-size: 12px;"
|
|
50
53
|
>
|
|
51
|
-
<Row style="min-height:46px;">
|
|
54
|
+
<Row style="min-height: 46px;">
|
|
52
55
|
<Column colspan={2}>
|
|
53
56
|
<Section>
|
|
54
57
|
<Row>
|
|
55
|
-
<Column
|
|
56
|
-
|
|
58
|
+
<Column
|
|
59
|
+
style="padding-left: 20px; border-style: solid; border-color: white; border-width: 0px 1px 1px 0px; min-height: 44px;"
|
|
60
|
+
>
|
|
61
|
+
<Text
|
|
62
|
+
style="margin: 0; padding: 0; line-height: 1.4; color: rgb(102,102,102); font-size: 10px;"
|
|
63
|
+
>
|
|
64
|
+
APPLE ID
|
|
65
|
+
</Text>
|
|
57
66
|
<Link
|
|
58
|
-
style="margin:0px; padding:0px; font-size:0.75rem;line-height:1rem; line-height:1.4; color:rgb(17,85,204); text-decoration-line:underline;"
|
|
59
67
|
href="mailto:alan.turing@gmail.com"
|
|
68
|
+
style="font-size: 12px; margin: 0; padding: 0; line-height: 1.4; color: #15c; text-decoration: underline;"
|
|
60
69
|
>
|
|
61
70
|
alan.turing@gmail.com
|
|
62
71
|
</Link>
|
|
@@ -64,196 +73,314 @@
|
|
|
64
73
|
</Row>
|
|
65
74
|
|
|
66
75
|
<Row>
|
|
67
|
-
<Column
|
|
68
|
-
|
|
69
|
-
|
|
76
|
+
<Column
|
|
77
|
+
style="padding-left: 20px; border-style: solid; border-color: white; border-width: 0px 1px 1px 0px; min-height: 44px;"
|
|
78
|
+
>
|
|
79
|
+
<Text
|
|
80
|
+
style="margin: 0; padding: 0; line-height: 1.4; color: rgb(102,102,102); font-size: 10px;"
|
|
81
|
+
>
|
|
82
|
+
INVOICE DATE
|
|
83
|
+
</Text>
|
|
84
|
+
<Text style="font-size: 12px; margin: 0; padding: 0; line-height: 1.4;"
|
|
85
|
+
>18 Jan 2023</Text
|
|
86
|
+
>
|
|
70
87
|
</Column>
|
|
71
88
|
</Row>
|
|
72
89
|
|
|
73
90
|
<Row>
|
|
74
|
-
<Column
|
|
75
|
-
|
|
91
|
+
<Column
|
|
92
|
+
style="padding-left: 20px; border-style: solid; border-color: white; border-width: 0px 1px 1px 0px; min-height: 44px;"
|
|
93
|
+
>
|
|
94
|
+
<Text
|
|
95
|
+
style="margin: 0; padding: 0; line-height: 1.4; color: rgb(102,102,102); font-size: 10px;"
|
|
96
|
+
>
|
|
97
|
+
ORDER ID
|
|
98
|
+
</Text>
|
|
76
99
|
<Link
|
|
77
|
-
|
|
78
|
-
|
|
100
|
+
href="#"
|
|
101
|
+
style="font-size: 12px; margin: 0; padding: 0; line-height: 1.4; color: #15c; text-decoration: underline;"
|
|
79
102
|
>
|
|
80
103
|
ML4F5L8522
|
|
81
104
|
</Link>
|
|
82
105
|
</Column>
|
|
83
|
-
<Column
|
|
84
|
-
|
|
85
|
-
|
|
106
|
+
<Column
|
|
107
|
+
style="padding-left: 20px; border-style: solid; border-color: white; border-width: 0px 1px 1px 0px; min-height: 44px;"
|
|
108
|
+
>
|
|
109
|
+
<Text
|
|
110
|
+
style="margin: 0; padding: 0; line-height: 1.4; color: rgb(102,102,102); font-size: 10px;"
|
|
111
|
+
>
|
|
112
|
+
DOCUMENT NO.
|
|
113
|
+
</Text>
|
|
114
|
+
<Text style="font-size: 12px; margin: 0; padding: 0; line-height: 1.4;"
|
|
115
|
+
>186623754793</Text
|
|
116
|
+
>
|
|
86
117
|
</Column>
|
|
87
118
|
</Row>
|
|
88
119
|
</Section>
|
|
89
120
|
</Column>
|
|
90
|
-
<Column
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
<Text
|
|
95
|
-
|
|
96
|
-
|
|
121
|
+
<Column
|
|
122
|
+
colspan={2}
|
|
123
|
+
style="padding-left: 20px; border-style: solid; border-color: white; border-width: 0px 1px 1px 0px; min-height: 44px;"
|
|
124
|
+
>
|
|
125
|
+
<Text
|
|
126
|
+
style="margin: 0; padding: 0; line-height: 1.4; color: rgb(102,102,102); font-size: 10px;"
|
|
127
|
+
>
|
|
128
|
+
BILLED TO
|
|
129
|
+
</Text>
|
|
130
|
+
<Text style="font-size: 12px; margin: 0; padding: 0; line-height: 1.4;">
|
|
131
|
+
Visa .... 7461 (Apple Pay)
|
|
132
|
+
</Text>
|
|
133
|
+
<Text style="font-size: 12px; margin: 0; padding: 0; line-height: 1.4;"
|
|
134
|
+
>Alan Turing</Text
|
|
135
|
+
>
|
|
136
|
+
<Text style="font-size: 12px; margin: 0; padding: 0; line-height: 1.4;"
|
|
137
|
+
>2125 Chestnut St</Text
|
|
138
|
+
>
|
|
139
|
+
<Text style="font-size: 12px; margin: 0; padding: 0; line-height: 1.4;"
|
|
140
|
+
>San Francisco, CA 94123</Text
|
|
141
|
+
>
|
|
142
|
+
<Text style="font-size: 12px; margin: 0; padding: 0; line-height: 1.4;">USA</Text>
|
|
97
143
|
</Column>
|
|
98
144
|
</Row>
|
|
99
145
|
</Section>
|
|
100
146
|
|
|
101
147
|
<Section
|
|
102
|
-
style="
|
|
148
|
+
style="border-collapse: collapse; border-spacing: 0px; color: rgb(51,51,51); background-color: rgb(250,250,250); border-radius: 3px; font-size: 12px; margin: 30px 0 15px 0; min-height: 24px;"
|
|
103
149
|
>
|
|
104
|
-
<Text
|
|
150
|
+
<Text
|
|
151
|
+
style="background: #fafafa; padding-left: 10px; font-size: 14px; font-weight: 500; margin: 0;"
|
|
152
|
+
>
|
|
153
|
+
App Store
|
|
154
|
+
</Text>
|
|
105
155
|
</Section>
|
|
106
156
|
|
|
107
157
|
<Section>
|
|
108
158
|
<Row>
|
|
109
|
-
<Column style="width:
|
|
110
|
-
<
|
|
159
|
+
<Column style="width: 64px;">
|
|
160
|
+
<Img
|
|
111
161
|
src="{baseUrl}apple-hbo-max-icon.jpeg"
|
|
112
162
|
width="64"
|
|
113
163
|
height="64"
|
|
114
164
|
alt="HBO Max"
|
|
115
|
-
style="margin
|
|
165
|
+
style="margin: 0 0 0 20px; border-radius: 14px; border: 1px solid rgb(242,242,242);"
|
|
116
166
|
/>
|
|
117
167
|
</Column>
|
|
118
|
-
<Column style="padding-left:22px;">
|
|
119
|
-
<Text
|
|
168
|
+
<Column style="padding-left: 22px;">
|
|
169
|
+
<Text
|
|
170
|
+
style="font-size: 12px; font-weight: 600; margin: 0; padding: 0; line-height: 1.4;"
|
|
171
|
+
>
|
|
120
172
|
HBO Max: Stream TV & Movies
|
|
121
173
|
</Text>
|
|
122
|
-
<Text
|
|
174
|
+
<Text
|
|
175
|
+
style="font-size: 12px; color: rgb(102,102,102); margin: 0; padding: 0; line-height: 1.4;"
|
|
176
|
+
>
|
|
123
177
|
HBO Max Ad-Free (Monthly)
|
|
124
178
|
</Text>
|
|
125
|
-
<Text
|
|
126
|
-
|
|
179
|
+
<Text
|
|
180
|
+
style="font-size: 12px; color: rgb(102,102,102); margin: 0; padding: 0; line-height: 1.4;"
|
|
181
|
+
>
|
|
182
|
+
Renews Aug 20, 2023
|
|
183
|
+
</Text>
|
|
184
|
+
<Link
|
|
185
|
+
href="https://www.apple.com/"
|
|
186
|
+
style="font-size: 12px; color: rgb(0,112,201); text-decoration: none;"
|
|
187
|
+
>
|
|
127
188
|
Write a Review
|
|
128
189
|
</Link>
|
|
129
|
-
<span
|
|
130
|
-
|
|
190
|
+
<span
|
|
191
|
+
style="margin-left: 4px; margin-right: 4px; color: rgb(51,51,51); font-weight: 200;"
|
|
192
|
+
>|</span
|
|
193
|
+
>
|
|
194
|
+
<Link
|
|
195
|
+
href="https://www.apple.com/"
|
|
196
|
+
style="font-size: 12px; color: rgb(0,112,201); text-decoration: none;"
|
|
197
|
+
>
|
|
131
198
|
Report a Problem
|
|
132
199
|
</Link>
|
|
133
200
|
</Column>
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
201
|
+
<Column
|
|
202
|
+
align="right"
|
|
203
|
+
style="display: table-cell; padding: 0px 20px 0px 0px; width: 100px; vertical-align: top;"
|
|
204
|
+
>
|
|
205
|
+
<Text style="font-size: 12px; font-weight: 600; margin: 0;">$14.99</Text>
|
|
137
206
|
</Column>
|
|
138
207
|
</Row>
|
|
139
208
|
</Section>
|
|
140
209
|
|
|
141
|
-
<Hr style="margin
|
|
210
|
+
<Hr style="margin: 30px 0 0 0;" />
|
|
142
211
|
|
|
143
|
-
<Section>
|
|
212
|
+
<Section style="text-align:right;">
|
|
144
213
|
<Row>
|
|
145
|
-
<Column style="display:table-cell;" align="right">
|
|
146
|
-
<Text
|
|
214
|
+
<Column style="display: table-cell;" align="right">
|
|
215
|
+
<Text
|
|
216
|
+
style="margin: 0; color: rgb(102,102,102); font-size: 10px; font-weight: 600; padding: 0px 30px 0px 0px; text-align: right;"
|
|
217
|
+
>
|
|
147
218
|
TOTAL
|
|
148
219
|
</Text>
|
|
149
220
|
</Column>
|
|
150
|
-
<Column
|
|
151
|
-
|
|
152
|
-
|
|
221
|
+
<Column
|
|
222
|
+
style="min-height: 48px; padding-top: 48px; border-left: 1px solid; border-color: rgb(238,238,238);"
|
|
223
|
+
/>
|
|
224
|
+
<Column style="display: table-cell; width: 90px;">
|
|
225
|
+
<Text
|
|
226
|
+
style="margin: 0px 20px 0px 0px; font-size: 16px; font-weight: 600; white-space: nowrap; text-align: right;"
|
|
227
|
+
>
|
|
153
228
|
$14.99
|
|
154
229
|
</Text>
|
|
155
230
|
</Column>
|
|
156
231
|
</Row>
|
|
157
232
|
</Section>
|
|
158
233
|
|
|
159
|
-
<Hr style="margin
|
|
234
|
+
<Hr style="margin: 0 0 75px 0;" />
|
|
160
235
|
|
|
161
236
|
<Section>
|
|
162
237
|
<Row>
|
|
163
|
-
<Column align="center" style="display:block;">
|
|
164
|
-
<
|
|
238
|
+
<Column align="center" style="display: block;">
|
|
239
|
+
<Img src="{baseUrl}apple-card-icon.png" width="60" height="17" alt="Apple Card" />
|
|
165
240
|
</Column>
|
|
166
241
|
</Row>
|
|
167
242
|
</Section>
|
|
168
243
|
|
|
169
244
|
<Section>
|
|
170
245
|
<Row>
|
|
171
|
-
<Column align="center" style="margin
|
|
172
|
-
<Text style="
|
|
246
|
+
<Column align="center" style="display: block; margin: 15px 0 0 0;">
|
|
247
|
+
<Text style="font-size: 24px; font-weight: 500;">
|
|
248
|
+
Save 3% on all your Apple purchases.
|
|
249
|
+
</Text>
|
|
173
250
|
</Column>
|
|
174
251
|
</Row>
|
|
175
252
|
</Section>
|
|
176
253
|
|
|
177
254
|
<Section>
|
|
178
255
|
<Row>
|
|
179
|
-
<Column align="center" style="
|
|
180
|
-
<Link
|
|
181
|
-
|
|
256
|
+
<Column align="center" style="display: table-cell; margin: 10px 0 0 0;">
|
|
257
|
+
<Link
|
|
258
|
+
href="https://www.apple.com/"
|
|
259
|
+
style="color: rgb(0,126,255); text-decoration: none;"
|
|
260
|
+
>
|
|
261
|
+
<Img
|
|
182
262
|
src="{baseUrl}apple-wallet.png"
|
|
183
263
|
width="28"
|
|
184
264
|
height="28"
|
|
185
265
|
alt="Apple Wallet"
|
|
186
|
-
style="display:
|
|
266
|
+
style="display: inherit; padding-right: 8px; vertical-align: middle;"
|
|
187
267
|
/>
|
|
188
|
-
<span style="font-size:
|
|
268
|
+
<span style="font-size: 14px; font-weight: 400; text-decoration: none;">
|
|
269
|
+
Apply and use in minutes
|
|
270
|
+
</span>
|
|
189
271
|
</Link>
|
|
190
272
|
</Column>
|
|
191
273
|
</Row>
|
|
192
274
|
</Section>
|
|
193
275
|
|
|
194
|
-
<Hr style="margin
|
|
276
|
+
<Hr style="margin: 65px 0 20px 0;" />
|
|
195
277
|
|
|
196
|
-
<Text
|
|
278
|
+
<Text
|
|
279
|
+
style="font-size: 12px; color: rgb(102,102,102); margin: 0; line-height: auto; margin-bottom: 16px;"
|
|
280
|
+
>
|
|
197
281
|
1. 3% savings is earned as Daily Cash and is transferred to your Apple Cash card when
|
|
198
282
|
transactions post to your Apple Card account. If you do not have an Apple Cash card, Daily
|
|
199
283
|
Cash can be applied by you as a credit on your statement balance. 3% is the total amount of
|
|
200
284
|
Daily Cash earned for these purchases. See the Apple Card Customer Agreement for more
|
|
201
285
|
details on Daily Cash and qualifying transactions.
|
|
202
286
|
</Text>
|
|
203
|
-
|
|
204
|
-
<Text
|
|
287
|
+
|
|
288
|
+
<Text
|
|
289
|
+
style="font-size: 12px; color: rgb(102,102,102); margin: 0; line-height: auto; margin-bottom: 16px;"
|
|
290
|
+
>
|
|
291
|
+
2. Subject to credit approval.
|
|
292
|
+
</Text>
|
|
293
|
+
|
|
294
|
+
<Text
|
|
295
|
+
style="font-size: 12px; color: rgb(102,102,102); margin: 0; line-height: auto; margin-bottom: 16px;"
|
|
296
|
+
>
|
|
205
297
|
To access and use all the features of Apple Card, you must add Apple Card to Wallet on an
|
|
206
298
|
iPhone or iPad with iOS or iPadOS 13.2 or later. Update to the latest version of iOS or
|
|
207
299
|
iPadOS by going to Settings > General > Software Update. Tap Download and Install.
|
|
208
300
|
</Text>
|
|
209
|
-
|
|
301
|
+
|
|
302
|
+
<Text
|
|
303
|
+
style="font-size: 12px; color: rgb(102,102,102); margin: 0; line-height: auto; margin-bottom: 16px;"
|
|
304
|
+
>
|
|
210
305
|
Available for qualifying applicants in the United States.
|
|
211
306
|
</Text>
|
|
212
|
-
|
|
307
|
+
|
|
308
|
+
<Text
|
|
309
|
+
style="font-size: 12px; color: rgb(102,102,102); margin: 0; line-height: auto; margin-bottom: 16px;"
|
|
310
|
+
>
|
|
213
311
|
Apple Card is issued by Goldman Sachs Bank USA, Salt Lake City Branch.
|
|
214
312
|
</Text>
|
|
215
|
-
|
|
313
|
+
|
|
314
|
+
<Text
|
|
315
|
+
style="font-size: 12px; color: rgb(102,102,102); margin: 0; line-height: auto; margin-bottom: 16px;"
|
|
316
|
+
>
|
|
216
317
|
If you reside in the US territories, please call Goldman Sachs at 877-255-5923 with
|
|
217
318
|
questions about Apple Card.
|
|
218
319
|
</Text>
|
|
219
|
-
|
|
320
|
+
|
|
321
|
+
<Text
|
|
322
|
+
style="font-size: 12px; color: rgb(102,102,102); margin: 20px 0; line-height: auto; text-align: center;"
|
|
323
|
+
>
|
|
220
324
|
Privacy: We use a
|
|
221
|
-
<Link href="https://www.apple.com/" style="color:rgb(0,115,255);">Subscriber ID</Link>
|
|
325
|
+
<Link href="https://www.apple.com/" style="color: rgb(0,115,255);">Subscriber ID</Link>
|
|
222
326
|
to provide reports to developers.
|
|
223
327
|
</Text>
|
|
224
|
-
|
|
328
|
+
|
|
329
|
+
<Text
|
|
330
|
+
style="font-size: 12px; color: rgb(102,102,102); margin: 20px 0; line-height: auto; text-align: center;"
|
|
331
|
+
>
|
|
225
332
|
Get help with subscriptions and purchases.
|
|
226
|
-
<Link href="https://www.apple.com/" style="color:rgb(0,115,255);"
|
|
333
|
+
<Link href="https://www.apple.com/" style="color: rgb(0,115,255);"
|
|
334
|
+
>Visit Apple Support.</Link
|
|
335
|
+
>
|
|
227
336
|
</Text>
|
|
228
|
-
|
|
337
|
+
|
|
338
|
+
<Text
|
|
339
|
+
style="font-size: 12px; color: rgb(102,102,102); margin: 20px 0; line-height: auto; text-align: center;"
|
|
340
|
+
>
|
|
229
341
|
Learn how to
|
|
230
|
-
<Link href="https://www.apple.com/"
|
|
342
|
+
<Link href="https://www.apple.com/" style="color: rgb(0,115,255);">
|
|
343
|
+
manage your password preferences
|
|
344
|
+
</Link>
|
|
231
345
|
for iTunes, Apple Books, and App Store purchases.
|
|
232
346
|
</Text>
|
|
233
347
|
|
|
234
|
-
<Text
|
|
348
|
+
<Text
|
|
349
|
+
style="font-size: 12px; color: rgb(102,102,102); margin: 20px 0; line-height: auto; text-align: center;"
|
|
350
|
+
>
|
|
235
351
|
You have the option to stop receiving email receipts for your subscription renewals. If you
|
|
236
352
|
have opted out, you can still view your receipts in your account under Purchase History. To
|
|
237
353
|
manage receipts or to opt in again, go to
|
|
238
|
-
<Link href="https://www.apple.com/">Account Settings.</Link>
|
|
354
|
+
<Link href="https://www.apple.com/" style="color: rgb(0,115,255);">Account Settings.</Link>
|
|
239
355
|
</Text>
|
|
240
356
|
|
|
241
357
|
<Section>
|
|
242
358
|
<Row>
|
|
243
|
-
<Column align="center" style="
|
|
244
|
-
<
|
|
359
|
+
<Column align="center" style="display: block; margin: 40px 0 0 0;">
|
|
360
|
+
<Img src="{baseUrl}apple-logo.png" width="26" height="26" alt="Apple" />
|
|
245
361
|
</Column>
|
|
246
362
|
</Row>
|
|
247
363
|
</Section>
|
|
248
364
|
|
|
249
|
-
<Text
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
<Link href="https://www.apple.com/
|
|
365
|
+
<Text
|
|
366
|
+
style="margin: 8px 0 0 0; text-align: center; font-size: 12px; color: rgb(102,102,102);"
|
|
367
|
+
>
|
|
368
|
+
<Link href="https://www.apple.com/" style="color: rgb(0,115,255);">Account Settings</Link>
|
|
369
|
+
•
|
|
370
|
+
<Link href="https://www.apple.com/" style="color: rgb(0,115,255);">Terms of Sale</Link>
|
|
371
|
+
•
|
|
372
|
+
<Link href="https://www.apple.com/legal/privacy/" style="color: rgb(0,115,255);">
|
|
373
|
+
Privacy Policy
|
|
374
|
+
</Link>
|
|
253
375
|
</Text>
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
376
|
+
|
|
377
|
+
<Text
|
|
378
|
+
style="margin: 25px 0 0 0; text-align: center; font-size: 12px; color: rgb(102,102,102);"
|
|
379
|
+
>
|
|
380
|
+
Copyright © 2023 Apple Inc.<br />
|
|
381
|
+
<Link href="https://www.apple.com/legal/" style="color: rgb(0,115,255);">
|
|
382
|
+
All rights reserved
|
|
383
|
+
</Link>
|
|
257
384
|
</Text>
|
|
258
385
|
</Container>
|
|
259
386
|
</Body>
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
|
|
29
29
|
<Container style="margin-bottom:1.5rem; border-radius:0.5rem; background-color:rgb(239,246,255); padding:1rem;">
|
|
30
30
|
<Text style="margin-bottom:0.5rem; font-weight:600; color:rgb(30,58,138);">✨ Features Demonstrated:</Text>
|
|
31
|
-
<ul style="list-style-type:disc; padding-left:1.25rem; color:rgb(30,64,175);">
|
|
31
|
+
<ul style="display:flex; list-style-type:disc; flex-direction:column; gap:0.25rem; padding-left:1.25rem; color:rgb(30,64,175);">
|
|
32
32
|
<li>Tailwind classes converted to inline styles</li>
|
|
33
33
|
<li>Responsive design with media queries</li>
|
|
34
34
|
<li>Email-safe CSS transformations</li>
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
<script>
|
|
2
|
-
import { Html, Head, Body, Text, Button, Container } from '../components/index.js';
|
|
2
|
+
import { Html, Head, Body, Text, Button, Container, Heading } from '../components/index.js';
|
|
3
3
|
</script>
|
|
4
4
|
|
|
5
5
|
<Html>
|
|
6
6
|
<Head />
|
|
7
7
|
<Body>
|
|
8
8
|
<Container style="background-color:rgb(243,244,246);padding: 2rem;" >
|
|
9
|
-
<
|
|
9
|
+
<Heading as="h1" m="10" style="color:rgb(37,99,235);font-weight: bold;">Title</Heading>
|
|
10
|
+
<Heading as="h2" style="font-weight:600;">Subtitle</Heading>
|
|
11
|
+
<Text style="font-weight: bold;">Basic text</Text>
|
|
10
12
|
<Button
|
|
11
13
|
style="border-radius:0.25rem; background-color:rgb(59,130,246); padding-left:1rem;padding-right:1rem; padding-top:0.5rem;padding-bottom:0.5rem; color:rgb(255,255,255);width: 33.33%"
|
|
12
14
|
|