react-email 1.4.2-canary.2 → 1.4.2-canary.3
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/commands/dev.js +33 -13
- package/package.json +2 -2
- package/readme.md +44 -0
- package/source/commands/dev.ts +50 -17
- package/.react-email/next-env.d.ts +0 -0
- package/.react-email/package.json +0 -0
- package/.react-email/postcss.config.js +0 -0
- package/.react-email/src/components/button.tsx +0 -0
- package/.react-email/src/components/code.tsx +0 -0
- package/.react-email/src/components/heading.tsx +0 -0
- package/.react-email/src/components/icon-base.tsx +0 -0
- package/.react-email/src/components/icon-button.tsx +0 -0
- package/.react-email/src/components/icon-check.tsx +0 -0
- package/.react-email/src/components/icon-clipboard.tsx +0 -0
- package/.react-email/src/components/icon-download.tsx +0 -0
- package/.react-email/src/components/index.ts +0 -0
- package/.react-email/src/components/layout.tsx +0 -0
- package/.react-email/src/components/logo.tsx +0 -0
- package/.react-email/src/components/send.tsx +0 -0
- package/.react-email/src/components/sidebar.tsx +0 -0
- package/.react-email/src/components/text.tsx +0 -0
- package/.react-email/src/components/tooltip-content.tsx +0 -0
- package/.react-email/src/components/tooltip.tsx +0 -0
- package/.react-email/src/components/topbar.tsx +0 -0
- package/.react-email/src/pages/_app.tsx +0 -26
- package/.react-email/src/pages/_document.tsx +0 -0
- package/.react-email/src/pages/index.tsx +0 -0
- package/.react-email/src/styles/globals.css +0 -0
- package/.react-email/src/utils/as.ts +0 -0
- package/.react-email/src/utils/copy-text-to-clipboard.ts +0 -0
- package/.react-email/src/utils/index.ts +0 -0
- package/.react-email/src/utils/unreachable.ts +0 -0
- package/.react-email/tailwind.config.js +0 -0
- package/.react-email/tsconfig.json +0 -0
- package/emails/airbnb-review.tsx +0 -163
- package/emails/dropbox-reset-password.tsx +0 -85
- package/emails/google-play-policy-update.tsx +0 -229
- package/emails/koala-welcome.tsx +0 -97
- package/emails/linear-login-code.tsx +0 -124
- package/emails/notion-magic-link.tsx +0 -133
- package/emails/plaid-verify-identity.tsx +0 -133
- package/emails/raycast-magic-link.tsx +0 -107
- package/emails/static/airbnb-logo.png +0 -0
- package/emails/static/airbnb-review-user.jpg +0 -0
- package/emails/static/chat.png +0 -0
- package/emails/static/dropbox.png +0 -0
- package/emails/static/google-play-academy.png +0 -0
- package/emails/static/google-play-chat.png +0 -0
- package/emails/static/google-play-footer.png +0 -0
- package/emails/static/google-play-header.png +0 -0
- package/emails/static/google-play-icon.png +0 -0
- package/emails/static/google-play-logo.png +0 -0
- package/emails/static/google-play-pl.png +0 -0
- package/emails/static/google-play.png +0 -0
- package/emails/static/linear-logo.png +0 -0
- package/emails/static/notion-logo.png +0 -0
- package/emails/static/plaid.png +0 -0
- package/emails/static/raycast-bg.png +0 -0
- package/emails/static/raycast-logo.png +0 -0
- package/emails/static/stripe-logo.png +0 -0
- package/emails/static/twitch-icon-facebook.png +0 -0
- package/emails/static/twitch-icon-twitter.png +0 -0
- package/emails/static/twitch-logo.png +0 -0
- package/emails/static/vercel-arrow.png +0 -0
- package/emails/static/vercel-logo.png +0 -0
- package/emails/static/yelp-footer.png +0 -0
- package/emails/static/yelp-header.png +0 -0
- package/emails/static/yelp-logo.png +0 -0
- package/emails/stripe-welcome.tsx +0 -152
- package/emails/twitch-reset-password.tsx +0 -138
- package/emails/vercel-invite-user.tsx +0 -196
- package/emails/yelp-recent-login.tsx +0 -158
|
@@ -1,229 +0,0 @@
|
|
|
1
|
-
import { Container } from '@react-email/container';
|
|
2
|
-
import { Head } from '@react-email/head';
|
|
3
|
-
import { Hr } from '@react-email/hr';
|
|
4
|
-
import { Html } from '@react-email/html';
|
|
5
|
-
import { Img } from '@react-email/img';
|
|
6
|
-
import { Link } from '@react-email/link';
|
|
7
|
-
import { Preview } from '@react-email/preview';
|
|
8
|
-
import { Section } from '@react-email/section';
|
|
9
|
-
import { Text } from '@react-email/text';
|
|
10
|
-
import * as React from 'react';
|
|
11
|
-
|
|
12
|
-
export default function Email() {
|
|
13
|
-
return (
|
|
14
|
-
<Html>
|
|
15
|
-
<Head />
|
|
16
|
-
<Preview>Google Play developers</Preview>
|
|
17
|
-
<Section style={main}>
|
|
18
|
-
<Container style={container}>
|
|
19
|
-
<Section>
|
|
20
|
-
<Section style={headerBlue}>
|
|
21
|
-
<Img
|
|
22
|
-
src="/static/google-play-header.png"
|
|
23
|
-
width="305"
|
|
24
|
-
height="28"
|
|
25
|
-
alt="Google Play developers header blue transparent"
|
|
26
|
-
/>
|
|
27
|
-
</Section>
|
|
28
|
-
<Section style={sectionLogo}>
|
|
29
|
-
<Img
|
|
30
|
-
src="/static/google-play-logo.png"
|
|
31
|
-
width="155"
|
|
32
|
-
height="31"
|
|
33
|
-
alt="Google Play"
|
|
34
|
-
/>
|
|
35
|
-
</Section>
|
|
36
|
-
</Section>
|
|
37
|
-
|
|
38
|
-
<Section style={paragraphContent}>
|
|
39
|
-
<Hr style={hr} />
|
|
40
|
-
<Text style={heading}>DEVELOPER UPDATE</Text>
|
|
41
|
-
<Text style={paragraph}>Hello Google Play Developer,</Text>
|
|
42
|
-
<Text style={paragraph}>
|
|
43
|
-
We strive to make Google Play a safe and trusted experience for
|
|
44
|
-
users.
|
|
45
|
-
</Text>
|
|
46
|
-
<Text style={paragraph}>
|
|
47
|
-
We've added clarifications to our{' '}
|
|
48
|
-
<Link href="https://notifications.google.com" style={link}>
|
|
49
|
-
Target API Level policy
|
|
50
|
-
</Link>
|
|
51
|
-
. Because this is a clarification, our enforcement standards and
|
|
52
|
-
practices for this policy remain the same.
|
|
53
|
-
</Text>
|
|
54
|
-
<Section style={paragraphList}>
|
|
55
|
-
<Text style={paragraph}>
|
|
56
|
-
We’re noting exceptions to the{' '}
|
|
57
|
-
<Link href="https://notifications.google.com" style={link}>
|
|
58
|
-
Target API Level policy
|
|
59
|
-
</Link>
|
|
60
|
-
, which can be found in our updated{' '}
|
|
61
|
-
<Link href="https://notifications.google.com" style={link}>
|
|
62
|
-
Help Center article.
|
|
63
|
-
</Link>
|
|
64
|
-
These exceptions include permanently private apps and apps that
|
|
65
|
-
target automotive or wearables form factors and are bundled
|
|
66
|
-
within the same package.{' '}
|
|
67
|
-
<Link href="https://notifications.google.com" style={link}>
|
|
68
|
-
Learn more
|
|
69
|
-
</Link>
|
|
70
|
-
</Text>
|
|
71
|
-
</Section>
|
|
72
|
-
<Text style={paragraph}>
|
|
73
|
-
We’re also extending the deadline to give you more time to adjust
|
|
74
|
-
to these changes. Now, apps that target API level 29 or below will
|
|
75
|
-
start experiencing reduced distribution starting{' '}
|
|
76
|
-
<b>Jan 31, 2023</b> instead of Nov 1, 2022. If you need more time
|
|
77
|
-
to update your app, you can request an extension to keep your app
|
|
78
|
-
discoverable to all users until May 1, 2023.
|
|
79
|
-
</Text>
|
|
80
|
-
<Hr style={hr} />
|
|
81
|
-
</Section>
|
|
82
|
-
|
|
83
|
-
<Section style={paragraphContent}>
|
|
84
|
-
<Text style={paragraph}>Thank you,</Text>
|
|
85
|
-
<Text style={{ ...paragraph, fontSize: '20px' }}>
|
|
86
|
-
The Google Play team
|
|
87
|
-
</Text>
|
|
88
|
-
</Section>
|
|
89
|
-
|
|
90
|
-
<Section style={containerContact}>
|
|
91
|
-
<Section
|
|
92
|
-
style={{
|
|
93
|
-
padding: '20px 20px',
|
|
94
|
-
}}
|
|
95
|
-
>
|
|
96
|
-
<Text style={paragraph}>Connect with us</Text>
|
|
97
|
-
<table>
|
|
98
|
-
<tr>
|
|
99
|
-
<td>
|
|
100
|
-
<Link href="https://notifications.google.com">
|
|
101
|
-
<Img
|
|
102
|
-
width="28"
|
|
103
|
-
height="28"
|
|
104
|
-
src="/static/google-play-chat.png"
|
|
105
|
-
/>
|
|
106
|
-
</Link>
|
|
107
|
-
</td>
|
|
108
|
-
<td>
|
|
109
|
-
<Link href="https://notifications.google.com">
|
|
110
|
-
<Img
|
|
111
|
-
width="28"
|
|
112
|
-
height="28"
|
|
113
|
-
src="/static/google-play-icon.png"
|
|
114
|
-
/>
|
|
115
|
-
</Link>
|
|
116
|
-
</td>
|
|
117
|
-
<td>
|
|
118
|
-
<Link href="https://notifications.google.com">
|
|
119
|
-
<Img
|
|
120
|
-
width="28"
|
|
121
|
-
height="28"
|
|
122
|
-
src="/static/google-play-academy.png"
|
|
123
|
-
/>
|
|
124
|
-
</Link>
|
|
125
|
-
</td>
|
|
126
|
-
</tr>
|
|
127
|
-
</table>
|
|
128
|
-
</Section>
|
|
129
|
-
<Img width="540" height="48" src="/static/google-play-footer.png" />
|
|
130
|
-
</Section>
|
|
131
|
-
|
|
132
|
-
<Section style={{ ...paragraphContent, paddingBottom: 30 }}>
|
|
133
|
-
<Text
|
|
134
|
-
style={{
|
|
135
|
-
...paragraph,
|
|
136
|
-
fontSize: '12px',
|
|
137
|
-
textAlign: 'center',
|
|
138
|
-
margin: 0,
|
|
139
|
-
}}
|
|
140
|
-
>
|
|
141
|
-
© 2022 Google LLC 1600 Amphitheatre Parkway, Mountain View, CA
|
|
142
|
-
94043, USA
|
|
143
|
-
</Text>
|
|
144
|
-
<Text
|
|
145
|
-
style={{
|
|
146
|
-
...paragraph,
|
|
147
|
-
fontSize: '12px',
|
|
148
|
-
textAlign: 'center',
|
|
149
|
-
margin: 0,
|
|
150
|
-
}}
|
|
151
|
-
>
|
|
152
|
-
You have received this mandatory email service announcement to
|
|
153
|
-
update you about important changes to your Google Play Developer
|
|
154
|
-
account.
|
|
155
|
-
</Text>
|
|
156
|
-
</Section>
|
|
157
|
-
</Container>
|
|
158
|
-
</Section>
|
|
159
|
-
</Html>
|
|
160
|
-
);
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
const fontFamily =
|
|
164
|
-
'-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif';
|
|
165
|
-
|
|
166
|
-
const main = {
|
|
167
|
-
backgroundColor: '#dbddde',
|
|
168
|
-
};
|
|
169
|
-
|
|
170
|
-
const sectionLogo = {
|
|
171
|
-
padding: '0 40px',
|
|
172
|
-
};
|
|
173
|
-
|
|
174
|
-
const headerBlue = {
|
|
175
|
-
display: 'flex',
|
|
176
|
-
justifyContent: 'end',
|
|
177
|
-
marginTop: -1,
|
|
178
|
-
marginRight: -2,
|
|
179
|
-
overflow: 'hidden',
|
|
180
|
-
};
|
|
181
|
-
|
|
182
|
-
const container = {
|
|
183
|
-
margin: '30px auto',
|
|
184
|
-
width: '610px',
|
|
185
|
-
backgroundColor: '#fff',
|
|
186
|
-
borderRadius: 5,
|
|
187
|
-
overflow: 'hidden',
|
|
188
|
-
};
|
|
189
|
-
|
|
190
|
-
const containerContact = {
|
|
191
|
-
backgroundColor: '#f0fcff',
|
|
192
|
-
width: '90%',
|
|
193
|
-
borderRadius: '5px',
|
|
194
|
-
overflow: 'hidden',
|
|
195
|
-
marginBottom: 20,
|
|
196
|
-
};
|
|
197
|
-
|
|
198
|
-
const heading = {
|
|
199
|
-
fontFamily,
|
|
200
|
-
fontSize: '14px',
|
|
201
|
-
lineHeight: '26px',
|
|
202
|
-
fontWeight: '700',
|
|
203
|
-
color: '#004dcf',
|
|
204
|
-
};
|
|
205
|
-
|
|
206
|
-
const paragraphContent = {
|
|
207
|
-
padding: '0 40px',
|
|
208
|
-
};
|
|
209
|
-
|
|
210
|
-
const paragraphList = {
|
|
211
|
-
paddingLeft: 40,
|
|
212
|
-
};
|
|
213
|
-
|
|
214
|
-
const paragraph = {
|
|
215
|
-
fontFamily,
|
|
216
|
-
fontSize: '14px',
|
|
217
|
-
lineHeight: '22px',
|
|
218
|
-
color: '#3c4043',
|
|
219
|
-
};
|
|
220
|
-
|
|
221
|
-
const link = {
|
|
222
|
-
...paragraph,
|
|
223
|
-
color: '#004dcf',
|
|
224
|
-
};
|
|
225
|
-
|
|
226
|
-
const hr = {
|
|
227
|
-
borderColor: '#e8eaed',
|
|
228
|
-
margin: '20px 0',
|
|
229
|
-
};
|
package/emails/koala-welcome.tsx
DELETED
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
import { Button } from '@react-email/button';
|
|
2
|
-
import { Container } from '@react-email/container';
|
|
3
|
-
import { Head } from '@react-email/head';
|
|
4
|
-
import { Hr } from '@react-email/hr';
|
|
5
|
-
import { Html } from '@react-email/html';
|
|
6
|
-
import { Img } from '@react-email/img';
|
|
7
|
-
import { Preview } from '@react-email/preview';
|
|
8
|
-
import { Section } from '@react-email/section';
|
|
9
|
-
import { Text } from '@react-email/text';
|
|
10
|
-
import * as React from 'react';
|
|
11
|
-
|
|
12
|
-
export default function Email() {
|
|
13
|
-
return (
|
|
14
|
-
<Html>
|
|
15
|
-
<Head />
|
|
16
|
-
<Preview>
|
|
17
|
-
The sales intelligence platform that helps you uncover qualified leads.
|
|
18
|
-
</Preview>
|
|
19
|
-
<Section style={main}>
|
|
20
|
-
<Container style={container}>
|
|
21
|
-
<Img
|
|
22
|
-
src="https://assets.koala.live/images/koala-email-banner.png"
|
|
23
|
-
width="170"
|
|
24
|
-
height="50"
|
|
25
|
-
alt="Koala"
|
|
26
|
-
style={logo}
|
|
27
|
-
/>
|
|
28
|
-
<Text style={paragraph}>Hi Zeno,</Text>
|
|
29
|
-
<Text style={paragraph}>
|
|
30
|
-
Welcome to Koala, the sales intelligence platform that helps you
|
|
31
|
-
uncover qualified leads and close deals faster.
|
|
32
|
-
</Text>
|
|
33
|
-
<Section style={btnContainer}>
|
|
34
|
-
<Button pX={12} pY={12} style={button} href="https://getkoala.com">
|
|
35
|
-
Get started
|
|
36
|
-
</Button>
|
|
37
|
-
</Section>
|
|
38
|
-
<Text style={paragraph}>
|
|
39
|
-
Best,
|
|
40
|
-
<br />
|
|
41
|
-
The Koala team
|
|
42
|
-
</Text>
|
|
43
|
-
<Hr style={hr} />
|
|
44
|
-
<Text style={footer}>408 Warren Rd - San Mateo, CA 94402</Text>
|
|
45
|
-
</Container>
|
|
46
|
-
</Section>
|
|
47
|
-
</Html>
|
|
48
|
-
);
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
const fontFamily =
|
|
52
|
-
'-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif';
|
|
53
|
-
|
|
54
|
-
const main = {
|
|
55
|
-
backgroundColor: '#ffffff',
|
|
56
|
-
};
|
|
57
|
-
|
|
58
|
-
const container = {
|
|
59
|
-
margin: '0 auto',
|
|
60
|
-
padding: '20px 0 48px',
|
|
61
|
-
};
|
|
62
|
-
|
|
63
|
-
const logo = {
|
|
64
|
-
margin: '0 auto',
|
|
65
|
-
};
|
|
66
|
-
|
|
67
|
-
const paragraph = {
|
|
68
|
-
fontFamily,
|
|
69
|
-
fontSize: '16px',
|
|
70
|
-
lineHeight: '26px',
|
|
71
|
-
};
|
|
72
|
-
|
|
73
|
-
const btnContainer = {
|
|
74
|
-
textAlign: 'center' as const,
|
|
75
|
-
};
|
|
76
|
-
|
|
77
|
-
const button = {
|
|
78
|
-
fontFamily,
|
|
79
|
-
backgroundColor: '#5F51E8',
|
|
80
|
-
borderRadius: '3px',
|
|
81
|
-
color: '#fff',
|
|
82
|
-
fontSize: '16px',
|
|
83
|
-
textDecoration: 'none',
|
|
84
|
-
textAlign: 'center' as const,
|
|
85
|
-
display: 'block',
|
|
86
|
-
};
|
|
87
|
-
|
|
88
|
-
const hr = {
|
|
89
|
-
borderColor: '#cccccc',
|
|
90
|
-
margin: '20px 0',
|
|
91
|
-
};
|
|
92
|
-
|
|
93
|
-
const footer = {
|
|
94
|
-
fontFamily,
|
|
95
|
-
color: '#8898aa',
|
|
96
|
-
fontSize: '12px',
|
|
97
|
-
};
|
|
@@ -1,124 +0,0 @@
|
|
|
1
|
-
import { Button } from '@react-email/button';
|
|
2
|
-
import { Container } from '@react-email/container';
|
|
3
|
-
import { Head } from '@react-email/head';
|
|
4
|
-
import { Hr } from '@react-email/hr';
|
|
5
|
-
import { Html } from '@react-email/html';
|
|
6
|
-
import { Img } from '@react-email/img';
|
|
7
|
-
import { Link } from '@react-email/link';
|
|
8
|
-
import { Preview } from '@react-email/preview';
|
|
9
|
-
import { Section } from '@react-email/section';
|
|
10
|
-
import { Text } from '@react-email/text';
|
|
11
|
-
import * as React from 'react';
|
|
12
|
-
|
|
13
|
-
export default function Email() {
|
|
14
|
-
return (
|
|
15
|
-
<Html>
|
|
16
|
-
<Head />
|
|
17
|
-
<Preview>Your login code for Linear</Preview>
|
|
18
|
-
<Section style={main}>
|
|
19
|
-
<Container style={container}>
|
|
20
|
-
<Img
|
|
21
|
-
src="/static/linear-logo.png"
|
|
22
|
-
width="42"
|
|
23
|
-
height="42"
|
|
24
|
-
alt="Linear"
|
|
25
|
-
style={logo}
|
|
26
|
-
/>
|
|
27
|
-
<Text style={heading}>Your login code for Linear</Text>
|
|
28
|
-
<Section style={buttonContainer}>
|
|
29
|
-
<Button pY={11} pX={23} style={button} href="https://linear.app">
|
|
30
|
-
Login to Linear
|
|
31
|
-
</Button>
|
|
32
|
-
</Section>
|
|
33
|
-
<Text style={paragraph}>
|
|
34
|
-
This link and code will only be valid for the next 5 minutes. If the
|
|
35
|
-
link does not work, you can use the login verification code
|
|
36
|
-
directly:
|
|
37
|
-
</Text>
|
|
38
|
-
<Section>
|
|
39
|
-
<code style={code}>tt226-5398x</code>
|
|
40
|
-
</Section>
|
|
41
|
-
<Hr style={hr} />
|
|
42
|
-
<Link href="https://linear.app" style={reportLink}>
|
|
43
|
-
Linear
|
|
44
|
-
</Link>
|
|
45
|
-
</Container>
|
|
46
|
-
</Section>
|
|
47
|
-
</Html>
|
|
48
|
-
);
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
const logo = {
|
|
52
|
-
borderRadius: 21,
|
|
53
|
-
width: 42,
|
|
54
|
-
height: 42,
|
|
55
|
-
};
|
|
56
|
-
|
|
57
|
-
const fontFamily =
|
|
58
|
-
'-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif';
|
|
59
|
-
|
|
60
|
-
const main = {
|
|
61
|
-
backgroundColor: '#ffffff',
|
|
62
|
-
};
|
|
63
|
-
|
|
64
|
-
const container = {
|
|
65
|
-
margin: '0 auto',
|
|
66
|
-
padding: '20px 0 48px',
|
|
67
|
-
width: '560px',
|
|
68
|
-
};
|
|
69
|
-
|
|
70
|
-
const heading = {
|
|
71
|
-
fontFamily,
|
|
72
|
-
fontSize: '24px',
|
|
73
|
-
letterSpacing: '-0.5px',
|
|
74
|
-
lineHeight: '1.3',
|
|
75
|
-
fontWeight: '400',
|
|
76
|
-
color: '#484848',
|
|
77
|
-
padding: '17px 0 0',
|
|
78
|
-
};
|
|
79
|
-
|
|
80
|
-
const paragraph = {
|
|
81
|
-
fontFamily,
|
|
82
|
-
margin: '0 0 15px',
|
|
83
|
-
fontSize: '15px',
|
|
84
|
-
lineHeight: '1.4',
|
|
85
|
-
color: '#3c4149',
|
|
86
|
-
};
|
|
87
|
-
|
|
88
|
-
const buttonContainer = {
|
|
89
|
-
padding: '27px 0 27px',
|
|
90
|
-
};
|
|
91
|
-
|
|
92
|
-
const button = {
|
|
93
|
-
fontFamily,
|
|
94
|
-
backgroundColor: '#5e6ad2',
|
|
95
|
-
borderRadius: '3px',
|
|
96
|
-
fontWeight: '600',
|
|
97
|
-
color: '#fff',
|
|
98
|
-
fontSize: '15px',
|
|
99
|
-
textDecoration: 'none',
|
|
100
|
-
textAlign: 'center' as const,
|
|
101
|
-
display: 'block',
|
|
102
|
-
};
|
|
103
|
-
|
|
104
|
-
const reportLink = {
|
|
105
|
-
fontFamily,
|
|
106
|
-
fontSize: '14px',
|
|
107
|
-
color: '#b4becc',
|
|
108
|
-
};
|
|
109
|
-
|
|
110
|
-
const hr = {
|
|
111
|
-
borderColor: '#dfe1e4',
|
|
112
|
-
margin: '42px 0 26px',
|
|
113
|
-
};
|
|
114
|
-
|
|
115
|
-
const code = {
|
|
116
|
-
fontFamily: 'monospace',
|
|
117
|
-
fontWeight: '700',
|
|
118
|
-
padding: '1px 4px',
|
|
119
|
-
backgroundColor: '#dfe1e4',
|
|
120
|
-
letterSpacing: '-0.3px',
|
|
121
|
-
fontSize: '21px',
|
|
122
|
-
borderRadius: '4px',
|
|
123
|
-
color: '#3c4149',
|
|
124
|
-
};
|
|
@@ -1,133 +0,0 @@
|
|
|
1
|
-
import { Container } from '@react-email/container';
|
|
2
|
-
import { Head } from '@react-email/head';
|
|
3
|
-
import { Html } from '@react-email/html';
|
|
4
|
-
import { Img } from '@react-email/img';
|
|
5
|
-
import { Link } from '@react-email/link';
|
|
6
|
-
import { Preview } from '@react-email/preview';
|
|
7
|
-
import { Section } from '@react-email/section';
|
|
8
|
-
import { Text } from '@react-email/text';
|
|
9
|
-
import * as React from 'react';
|
|
10
|
-
|
|
11
|
-
export default function Email() {
|
|
12
|
-
return (
|
|
13
|
-
<Html>
|
|
14
|
-
<Head />
|
|
15
|
-
<Preview>Log in with this magic link</Preview>
|
|
16
|
-
<Section style={main}>
|
|
17
|
-
<Container style={container}>
|
|
18
|
-
<Text style={h1}>Login</Text>
|
|
19
|
-
<Link
|
|
20
|
-
href="https://notion.so"
|
|
21
|
-
target="_blank"
|
|
22
|
-
style={{
|
|
23
|
-
...link,
|
|
24
|
-
display: 'block',
|
|
25
|
-
marginBottom: '16px',
|
|
26
|
-
}}
|
|
27
|
-
>
|
|
28
|
-
Click here to log in with this magic link
|
|
29
|
-
</Link>
|
|
30
|
-
<Text style={{ ...text, marginBottom: '14px' }}>
|
|
31
|
-
Or, copy and paste this temporary login code:
|
|
32
|
-
</Text>
|
|
33
|
-
<code style={code}>sparo-ndigo-amurt-secan</code>
|
|
34
|
-
<Text
|
|
35
|
-
style={{
|
|
36
|
-
...text,
|
|
37
|
-
color: '#ababab',
|
|
38
|
-
marginTop: '14px',
|
|
39
|
-
marginBottom: '16px',
|
|
40
|
-
}}
|
|
41
|
-
>
|
|
42
|
-
If you didn't try to login, you can safely ignore this email.
|
|
43
|
-
</Text>
|
|
44
|
-
<Text
|
|
45
|
-
style={{
|
|
46
|
-
...text,
|
|
47
|
-
color: '#ababab',
|
|
48
|
-
marginTop: '12px',
|
|
49
|
-
marginBottom: '38px',
|
|
50
|
-
}}
|
|
51
|
-
>
|
|
52
|
-
Hint: You can set a permanent password in Settings & members → My
|
|
53
|
-
account.
|
|
54
|
-
</Text>
|
|
55
|
-
<Img
|
|
56
|
-
src="/static/notion-logo.png"
|
|
57
|
-
width="32"
|
|
58
|
-
height="32"
|
|
59
|
-
alt="Notion's Logo"
|
|
60
|
-
/>
|
|
61
|
-
<Text style={footer}>
|
|
62
|
-
<Link
|
|
63
|
-
href="https://notion.so"
|
|
64
|
-
target="_blank"
|
|
65
|
-
style={{ ...link, color: '#898989' }}
|
|
66
|
-
>
|
|
67
|
-
Notion.so
|
|
68
|
-
</Link>
|
|
69
|
-
, the all-in-one-workspace
|
|
70
|
-
<br />
|
|
71
|
-
for your notes, tasks, wikis, and databases.
|
|
72
|
-
</Text>
|
|
73
|
-
</Container>
|
|
74
|
-
</Section>
|
|
75
|
-
</Html>
|
|
76
|
-
);
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
const main = {
|
|
80
|
-
backgroundColor: '#ffffff',
|
|
81
|
-
};
|
|
82
|
-
|
|
83
|
-
const container = {
|
|
84
|
-
paddingLeft: '12px',
|
|
85
|
-
paddingRight: '12px',
|
|
86
|
-
margin: '0 auto',
|
|
87
|
-
};
|
|
88
|
-
|
|
89
|
-
const h1 = {
|
|
90
|
-
color: '#333',
|
|
91
|
-
fontFamily:
|
|
92
|
-
"-apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif",
|
|
93
|
-
fontSize: '24px',
|
|
94
|
-
fontWeight: 'bold',
|
|
95
|
-
margin: '40px 0',
|
|
96
|
-
padding: '0',
|
|
97
|
-
};
|
|
98
|
-
|
|
99
|
-
const link = {
|
|
100
|
-
color: '#2754C5',
|
|
101
|
-
fontFamily:
|
|
102
|
-
"-apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif",
|
|
103
|
-
fontSize: '14px',
|
|
104
|
-
textDecoration: 'underline',
|
|
105
|
-
};
|
|
106
|
-
|
|
107
|
-
const text = {
|
|
108
|
-
color: '#333',
|
|
109
|
-
fontFamily:
|
|
110
|
-
"-apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif",
|
|
111
|
-
fontSize: '14px',
|
|
112
|
-
margin: '24px 0',
|
|
113
|
-
};
|
|
114
|
-
|
|
115
|
-
const footer = {
|
|
116
|
-
color: '#898989',
|
|
117
|
-
fontFamily:
|
|
118
|
-
"-apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif",
|
|
119
|
-
fontSize: '12px',
|
|
120
|
-
lineHeight: '22px',
|
|
121
|
-
marginTop: '12px',
|
|
122
|
-
marginBottom: '24px',
|
|
123
|
-
};
|
|
124
|
-
|
|
125
|
-
const code = {
|
|
126
|
-
display: 'inline-block',
|
|
127
|
-
padding: '16px 4.5%',
|
|
128
|
-
width: '90.5%',
|
|
129
|
-
backgroundColor: '#f4f4f4',
|
|
130
|
-
borderRadius: '5px',
|
|
131
|
-
border: '1px solid #eee',
|
|
132
|
-
color: '#333',
|
|
133
|
-
};
|