@@ -12,7 +12,6 @@ import {
12
12
Section ,
13
13
Text ,
14
14
} from '@react-email/components' ;
15
- import * as React from 'react' ;
16
15
17
16
const baseUrl = process . env . VERCEL_URL
18
17
? `https://${ process . env . VERCEL_URL } `
@@ -45,7 +44,7 @@ export const AppleReceiptEmail = () => (
45
44
< Text style = { cupomText } >
46
45
Save 3% on all your Apple purchases with Apple Card.
47
46
< sup style = { supStyle } > 1</ sup > { ' ' }
48
- < Link href = "https://www.apple.com/apple-card" >
47
+ < Link href = "https://www.apple.com/apple-card/ " >
49
48
Apply and use in minutes
50
49
</ Link >
51
50
< sup style = { supStyle } > 2</ sup >
@@ -127,19 +126,11 @@ export const AppleReceiptEmail = () => (
127
126
< Text style = { productTitle } > HBO Max: Stream TV & Movies</ Text >
128
127
< Text style = { productDescription } > HBO Max Ad-Free (Monthly)</ Text >
129
128
< Text style = { productDescription } > Renews Aug 20, 2023</ Text >
130
- < Link
131
- href = "https://userpub.itunes.apple.com/WebObjects/MZUserPublishing.woa/wa/addUserReview?cc=us&id=1497977514&o=i&type=Subscription%20Renewal"
132
- style = { productLink }
133
- data-saferedirecturl = "https://www.google.com/url?q=https://userpub.itunes.apple.com/WebObjects/MZUserPublishing.woa/wa/addUserReview?cc%3Dus%26id%3D1497977514%26o%3Di%26type%3DSubscription%2520Renewal&source=gmail&ust=1673963081204000&usg=AOvVaw2DFCLKMo1snS-Swk5H26Z1"
134
- >
129
+ < Link href = "https://www.apple.com/" style = { productLink } >
135
130
Write a Review
136
131
</ Link >
137
132
< span style = { divisor } > |</ span >
138
- < Link
139
- href = "https://buy.itunes.apple.com/WebObjects/MZFinance.woa/wa/reportAProblem?a=1497977514&cc=us&d=683263808&o=i&p=29065684906671&pli=29092219632071&s=1"
140
- style = { productLink }
141
- data-saferedirecturl = "https://www.google.com/url?q=https://buy.itunes.apple.com/WebObjects/MZFinance.woa/wa/reportAProblem?a%3D1497977514%26cc%3Dus%26d%3D683263808%26o%3Di%26p%3D29065684906671%26pli%3D29092219632071%26s%3D1&source=gmail&ust=1673963081204000&usg=AOvVaw3y47L06B2LTrL6qsmaW2Hq"
142
- >
133
+ < Link href = "https://www.apple.com/" style = { productLink } >
143
134
Report a Problem
144
135
</ Link >
145
136
</ Column >
@@ -184,10 +175,7 @@ export const AppleReceiptEmail = () => (
184
175
< Section >
185
176
< Row >
186
177
< Column align = "center" style = { walletWrapper } >
187
- < Link
188
- href = "https://wallet.apple.com/apple-card/setup/feature/ccs?referrer=cid%3Dapy-120-100003"
189
- style = { walletLink }
190
- >
178
+ < Link href = "https://www.apple.com/" style = { walletLink } >
191
179
< Img
192
180
src = { `${ baseUrl } /static/apple-wallet.png` }
193
181
width = "28"
@@ -228,24 +216,21 @@ export const AppleReceiptEmail = () => (
228
216
</ Text >
229
217
< Text style = { footerTextCenter } >
230
218
Privacy: We use a
231
- < Link href = "http ://support .apple.com/kb/HT207233 " style = { footerLink } >
219
+ < Link href = "https ://www .apple.com/" style = { footerLink } >
232
220
{ ' ' }
233
221
Subscriber ID{ ' ' }
234
222
</ Link >
235
223
to provide reports to developers.
236
224
</ Text >
237
225
< Text style = { footerTextCenter } >
238
226
Get help with subscriptions and purchases.
239
- < Link
240
- href = "https://support.apple.com/billing?cid=email_receipt"
241
- style = { footerLink }
242
- >
227
+ < Link href = "https://www.apple.com/" style = { footerLink } >
243
228
Visit Apple Support.
244
229
</ Link >
245
230
</ Text >
246
231
< Text style = { footerTextCenter } >
247
232
Learn how to{ ' ' }
248
- < Link href = "https://support .apple.com/kb/HT204030?cid=email_receipt_itunes_article_HT204030 " >
233
+ < Link href = "https://www .apple.com/" >
249
234
manage your password preferences
250
235
</ Link > { ' ' }
251
236
for iTunes, Apple Books, and App Store purchases.
@@ -257,9 +242,7 @@ export const AppleReceiptEmail = () => (
257
242
subscription renewals. If you have opted out, you can still view your
258
243
receipts in your account under Purchase History. To manage receipts or
259
244
to opt in again, go to{ ' ' }
260
- < Link href = "https://finance-app.itunes.apple.com/account/subscriptions?unsupportedRedirectUrl=https://apps.apple.com/US/invoice" >
261
- Account Settings.
262
- </ Link >
245
+ < Link href = "https://www.apple.com/" > Account Settings.</ Link >
263
246
</ Text >
264
247
< Section >
265
248
< Row >
@@ -274,14 +257,8 @@ export const AppleReceiptEmail = () => (
274
257
</ Row >
275
258
</ Section >
276
259
< Text style = { footerLinksWrapper } >
277
- < Link href = "https://buy.itunes.apple.com/WebObjects/MZFinance.woa/wa/accountSummary?mt=8" >
278
- Account Settings
279
- </ Link > { ' ' }
280
- •{ ' ' }
281
- < Link href = "https://www.apple.com/legal/itunes/us/sales.html" >
282
- Terms of Sale
283
- </ Link > { ' ' }
284
- •{ ' ' }
260
+ < Link href = "https://www.apple.com/" > Account Settings</ Link > •{ ' ' }
261
+ < Link href = "https://www.apple.com/" > Terms of Sale</ Link > •{ ' ' }
285
262
< Link href = "https://www.apple.com/legal/privacy/" >
286
263
Privacy Policy{ ' ' }
287
264
</ Link >
@@ -345,15 +322,15 @@ const informationTable = {
345
322
} ;
346
323
347
324
const informationTableRow = {
348
- height : '46px' ,
325
+ minHeight : '46px' ,
349
326
} ;
350
327
351
328
const informationTableColumn = {
352
329
paddingLeft : '20px' ,
353
330
borderStyle : 'solid' ,
354
331
borderColor : 'white' ,
355
332
borderWidth : '0px 1px 1px 0px' ,
356
- height : '44px' ,
333
+ minHeight : '44px' ,
357
334
} ;
358
335
359
336
const informationTableLabel = {
@@ -372,7 +349,7 @@ const informationTableValue = {
372
349
const productTitleTable = {
373
350
...informationTable ,
374
351
margin : '30px 0 15px 0' ,
375
- height : '24px' ,
352
+ minHeight : '24px' ,
376
353
} ;
377
354
378
355
const productsTitle = {
@@ -386,7 +363,7 @@ const productsTitle = {
386
363
const productIcon = {
387
364
margin : '0 0 0 20px' ,
388
365
borderRadius : '14px' ,
389
- border : '1px solid rgba(128,128,128,0.2 )' ,
366
+ border : '1px solid rgb(242,242,242 )' ,
390
367
} ;
391
368
392
369
const productTitle = { fontSize : '12px' , fontWeight : '600' , ...resetText } ;
@@ -443,7 +420,8 @@ const productPriceWrapper = {
443
420
const productPriceLine = { margin : '30px 0 0 0' } ;
444
421
445
422
const productPriceVerticalLine = {
446
- height : '48px' ,
423
+ minHeight : '48px' ,
424
+ paddingTop : '48px' ,
447
425
borderLeft : '1px solid' ,
448
426
borderColor : 'rgb(238,238,238)' ,
449
427
} ;
0 commit comments