|
1 |
| -import { Body, Head, Html, Link, Preview, Section, Text } from "@react-email/components"; |
| 1 | +import { |
| 2 | + Body, |
| 3 | + Container, |
| 4 | + Head, |
| 5 | + Html, |
| 6 | + Link, |
| 7 | + Preview, |
| 8 | + Tailwind, |
| 9 | + Text, |
| 10 | +} from "@react-email/components"; |
2 | 11 | import { Footer } from "./components/Footer";
|
3 |
| -import { anchor, bullets, footerItalic, main, paragraphLight } from "./components/styles"; |
4 | 12 |
|
5 | 13 | export default function Email({ name }: { name?: string }) {
|
6 | 14 | return (
|
7 | 15 | <Html>
|
8 | 16 | <Head />
|
9 |
| - <Preview>Power up your workflows</Preview> |
10 |
| - <Body style={main}> |
11 |
| - <Text style={paragraphLight}>Hey {name ?? "there"},</Text> |
12 |
| - <Text style={paragraphLight}>I’m Matt, CEO of Trigger.dev.</Text> |
13 |
| - <Text style={paragraphLight}> |
14 |
| - Our goal is to give developers like you the ability to effortlessly create powerful |
15 |
| - workflows in code. |
16 |
| - </Text> |
17 |
| - <Text style={paragraphLight}> |
18 |
| - We recommend{" "} |
19 |
| - <Link style={anchor} href="https://app.trigger.dev/templates"> |
20 |
| - getting started with one of our templates |
21 |
| - </Link>{" "} |
22 |
| - to get familiar with how Trigger.dev works, and then moving on to create your own |
23 |
| - workflows. |
24 |
| - </Text> |
| 17 | + <Preview>Welcome to Trigger.dev</Preview> |
| 18 | + <Tailwind> |
| 19 | + <Body className="bg-[#121317] my-auto mx-auto font-sans"> |
| 20 | + <Container className="mb-[40px] mx-auto p-[20px] max-w-[600px]"> |
| 21 | + <Text className="text-[16px] text-[#D7D9DD]">Hey {name ?? "there"},</Text> |
| 22 | + <Text className="text-[16px] text-[#D7D9DD]">I’m Matt, CEO of Trigger.dev.</Text> |
| 23 | + <Text className="text-[16px] text-[#D7D9DD]"> |
| 24 | + Our goal is to give developers like you the ability to effortlessly create powerful AI |
| 25 | + agents and workflows in code. |
| 26 | + </Text> |
| 27 | + <Text className="text-[16px] text-[#D7D9DD]"> |
| 28 | + I recommend our{" "} |
| 29 | + <Link |
| 30 | + className="text-[#6366F1] text-[16px] no-underline" |
| 31 | + href="https://trigger.dev/docs/quick-start" |
| 32 | + > |
| 33 | + quick start guide |
| 34 | + </Link>{" "} |
| 35 | + to get started, or{" "} |
| 36 | + <Link |
| 37 | + className="text-[#6366F1] text-[16px] no-underline" |
| 38 | + href="https://trigger.dev/docs/guides/introduction" |
| 39 | + > |
| 40 | + one of our examples |
| 41 | + </Link>{" "} |
| 42 | + to get familiar with how Trigger.dev works, and then move on to create your own |
| 43 | + workflow. |
| 44 | + </Text> |
25 | 45 |
|
26 |
| - <Text style={paragraphLight}> |
27 |
| - Feel free to reply to me if you have any questions. You can also{" "} |
28 |
| - <Link style={anchor} href="https://cal.com/team/triggerdotdev/call"> |
29 |
| - schedule a call |
30 |
| - </Link>{" "} |
31 |
| - , or join our{" "} |
32 |
| - <Link style={anchor} href="https://discord.gg/JtBAxBr2m3"> |
33 |
| - Discord server |
34 |
| - </Link>{" "} |
35 |
| - to connect with the community and our team. |
36 |
| - </Text> |
| 46 | + <Text className="text-[16px] text-[#D7D9DD]"> |
| 47 | + Feel free to reply to this email if you have any questions or join our{" "} |
| 48 | + <Link |
| 49 | + className="text-[#6366F1] text-[16px] no-underline" |
| 50 | + href="https://discord.gg/JtBAxBr2m3" |
| 51 | + > |
| 52 | + Discord |
| 53 | + </Link>{" "} |
| 54 | + to connect with the community and our team. |
| 55 | + </Text> |
37 | 56 |
|
38 |
| - <Text style={paragraphLight}>We hope you enjoy using Trigger.dev!</Text> |
| 57 | + <Text className="text-[16px] text-[#D7D9DD]">We hope you enjoy using Trigger.dev!</Text> |
39 | 58 |
|
40 |
| - <Text style={bullets}>Best,</Text> |
41 |
| - <Text style={bullets}>Matt</Text> |
42 |
| - <Text style={paragraphLight}>CEO, Trigger.dev</Text> |
43 |
| - <Text style={footerItalic}> |
44 |
| - If you don’t want me to contact you again, please just let me know and I’ll update your |
45 |
| - preferences. |
46 |
| - </Text> |
47 |
| - <Footer /> |
48 |
| - </Body> |
| 59 | + <Text className="text-[16px] text-[#D7D9DD]">Best,</Text> |
| 60 | + <Text className="text-[16px] text-[#D7D9DD]">Matt</Text> |
| 61 | + <Text className="text-[16px] text-[#D7D9DD]">CEO, Trigger.dev</Text> |
| 62 | + <Text className="text-[16px] text-[#D7D9DD]"> |
| 63 | + If you don’t want me to contact you again, please just let me know and I’ll update |
| 64 | + your preferences. |
| 65 | + </Text> |
| 66 | + <Footer /> |
| 67 | + </Container> |
| 68 | + </Body> |
| 69 | + </Tailwind> |
49 | 70 | </Html>
|
50 | 71 | );
|
51 | 72 | }
|
0 commit comments