@tracked/emails 0.2.0 → 0.2.2

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.
Files changed (128) hide show
  1. package/dist/components/content.d.ts +58 -0
  2. package/dist/components/content.d.ts.map +1 -0
  3. package/dist/components/content.js +166 -0
  4. package/dist/components/content.js.map +1 -0
  5. package/dist/components/index.d.ts +6 -0
  6. package/dist/components/index.d.ts.map +1 -0
  7. package/dist/components/index.js +11 -0
  8. package/dist/components/index.js.map +1 -0
  9. package/dist/components/interactive.d.ts +23 -0
  10. package/dist/components/interactive.d.ts.map +1 -0
  11. package/dist/components/interactive.js +66 -0
  12. package/dist/components/interactive.js.map +1 -0
  13. package/dist/components/layout.d.ts +27 -0
  14. package/dist/components/layout.d.ts.map +1 -0
  15. package/dist/components/layout.js +83 -0
  16. package/dist/components/layout.js.map +1 -0
  17. package/dist/components/tokens.d.ts +58 -0
  18. package/dist/components/tokens.d.ts.map +1 -0
  19. package/dist/components/tokens.js +64 -0
  20. package/dist/components/tokens.js.map +1 -0
  21. package/dist/components/typography.d.ts +31 -0
  22. package/dist/components/typography.d.ts.map +1 -0
  23. package/dist/components/typography.js +72 -0
  24. package/dist/components/typography.js.map +1 -0
  25. package/dist/emails/anniversary.d.ts +12 -0
  26. package/dist/emails/anniversary.d.ts.map +1 -0
  27. package/dist/emails/anniversary.js +41 -0
  28. package/dist/emails/anniversary.js.map +1 -0
  29. package/dist/emails/app-review-request.d.ts +11 -0
  30. package/dist/emails/app-review-request.d.ts.map +1 -0
  31. package/dist/emails/app-review-request.js +24 -0
  32. package/dist/emails/app-review-request.js.map +1 -0
  33. package/dist/emails/bodyweight-goal-reached.d.ts +1 -1
  34. package/dist/emails/bodyweight-goal-reached.d.ts.map +1 -1
  35. package/dist/emails/bodyweight-goal-reached.js +86 -159
  36. package/dist/emails/bodyweight-goal-reached.js.map +1 -1
  37. package/dist/emails/client-inactive-alert.d.ts +14 -0
  38. package/dist/emails/client-inactive-alert.d.ts.map +1 -0
  39. package/dist/emails/client-inactive-alert.js +34 -0
  40. package/dist/emails/client-inactive-alert.js.map +1 -0
  41. package/dist/emails/client-onboarded.d.ts.map +1 -1
  42. package/dist/emails/client-onboarded.js +37 -123
  43. package/dist/emails/client-onboarded.js.map +1 -1
  44. package/dist/emails/coach-invite.d.ts +1 -1
  45. package/dist/emails/coach-invite.d.ts.map +1 -1
  46. package/dist/emails/coach-invite.js +13 -121
  47. package/dist/emails/coach-invite.js.map +1 -1
  48. package/dist/emails/coach-removed-client.d.ts +1 -1
  49. package/dist/emails/coach-removed-client.d.ts.map +1 -1
  50. package/dist/emails/coach-removed-client.js +3 -76
  51. package/dist/emails/coach-removed-client.js.map +1 -1
  52. package/dist/emails/direct-message.d.ts +1 -1
  53. package/dist/emails/direct-message.d.ts.map +1 -1
  54. package/dist/emails/direct-message.js +22 -96
  55. package/dist/emails/direct-message.js.map +1 -1
  56. package/dist/emails/feature-discovery.d.ts +2 -1
  57. package/dist/emails/feature-discovery.d.ts.map +1 -1
  58. package/dist/emails/feature-discovery.js +20 -117
  59. package/dist/emails/feature-discovery.js.map +1 -1
  60. package/dist/emails/first-workout-assigned.d.ts +1 -1
  61. package/dist/emails/first-workout-assigned.d.ts.map +1 -1
  62. package/dist/emails/first-workout-assigned.js +3 -94
  63. package/dist/emails/first-workout-assigned.js.map +1 -1
  64. package/dist/emails/first-workout-completed.d.ts +1 -1
  65. package/dist/emails/first-workout-completed.d.ts.map +1 -1
  66. package/dist/emails/first-workout-completed.js +14 -125
  67. package/dist/emails/first-workout-completed.js.map +1 -1
  68. package/dist/emails/inactive-reengagement.d.ts +10 -0
  69. package/dist/emails/inactive-reengagement.d.ts.map +1 -0
  70. package/dist/emails/inactive-reengagement.js +31 -0
  71. package/dist/emails/inactive-reengagement.js.map +1 -0
  72. package/dist/emails/index.d.ts +20 -4
  73. package/dist/emails/index.d.ts.map +1 -1
  74. package/dist/emails/index.js +20 -4
  75. package/dist/emails/index.js.map +1 -1
  76. package/dist/emails/monthly-report.d.ts +2 -1
  77. package/dist/emails/monthly-report.d.ts.map +1 -1
  78. package/dist/emails/monthly-report.js +14 -166
  79. package/dist/emails/monthly-report.js.map +1 -1
  80. package/dist/emails/new-follower.d.ts +1 -1
  81. package/dist/emails/new-follower.d.ts.map +1 -1
  82. package/dist/emails/new-follower.js +7 -91
  83. package/dist/emails/new-follower.js.map +1 -1
  84. package/dist/emails/nps-survey.d.ts +9 -0
  85. package/dist/emails/nps-survey.d.ts.map +1 -0
  86. package/dist/emails/nps-survey.js +51 -0
  87. package/dist/emails/nps-survey.js.map +1 -0
  88. package/dist/emails/subscription-canceled.d.ts +1 -1
  89. package/dist/emails/subscription-canceled.d.ts.map +1 -1
  90. package/dist/emails/subscription-canceled.js +20 -127
  91. package/dist/emails/subscription-canceled.js.map +1 -1
  92. package/dist/emails/support-email.d.ts +1 -1
  93. package/dist/emails/support-email.d.ts.map +1 -1
  94. package/dist/emails/support-email.js +3 -38
  95. package/dist/emails/support-email.js.map +1 -1
  96. package/dist/emails/team-invite.d.ts.map +1 -1
  97. package/dist/emails/team-invite.js +7 -96
  98. package/dist/emails/team-invite.js.map +1 -1
  99. package/dist/emails/team-member-removed-email.d.ts +1 -1
  100. package/dist/emails/team-member-removed-email.d.ts.map +1 -1
  101. package/dist/emails/team-member-removed-email.js +3 -93
  102. package/dist/emails/team-member-removed-email.js.map +1 -1
  103. package/dist/emails/tracked-magic-link-activate.d.ts +2 -2
  104. package/dist/emails/tracked-magic-link-activate.d.ts.map +1 -1
  105. package/dist/emails/tracked-magic-link-activate.js +3 -91
  106. package/dist/emails/tracked-magic-link-activate.js.map +1 -1
  107. package/dist/emails/tracked-magic-link.d.ts +3 -3
  108. package/dist/emails/tracked-magic-link.d.ts.map +1 -1
  109. package/dist/emails/tracked-magic-link.js +3 -99
  110. package/dist/emails/tracked-magic-link.js.map +1 -1
  111. package/dist/emails/week-one-checkin.d.ts +3 -2
  112. package/dist/emails/week-one-checkin.d.ts.map +1 -1
  113. package/dist/emails/week-one-checkin.js +22 -136
  114. package/dist/emails/week-one-checkin.js.map +1 -1
  115. package/dist/emails/weekly-progress-digest.d.ts +21 -0
  116. package/dist/emails/weekly-progress-digest.d.ts.map +1 -0
  117. package/dist/emails/weekly-progress-digest.js +78 -0
  118. package/dist/emails/weekly-progress-digest.js.map +1 -0
  119. package/dist/emails/welcome.d.ts +3 -2
  120. package/dist/emails/welcome.d.ts.map +1 -1
  121. package/dist/emails/welcome.js +16 -142
  122. package/dist/emails/welcome.js.map +1 -1
  123. package/dist/index.d.ts +8 -1
  124. package/dist/index.d.ts.map +1 -1
  125. package/dist/index.js +11 -1
  126. package/dist/index.js.map +1 -1
  127. package/package.json +1 -1
  128. package/src/emails/index.tsx +20 -4
@@ -1,103 +1,29 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { Body, Column, Container, Head, Hr, Html, Img, Link, Preview, Row, Section, Text, } from "@react-email/components";
3
- const baseUrl = "https://tracked.gg/android-chrome-192x192.png";
4
- export const DirectMessageEmail = ({ recipientName, senderName, senderUsername, messagePreview, messageUrl, websiteUrl = "https://tracked.gg", }) => {
2
+ import { Section, Text } from "@react-email/components";
3
+ import { EmailLayout, EmailHeader, EmailFooter, Heading, Paragraph, SmallText, PrimaryButton, DiscordButton, colors, } from "../components";
4
+ export const DirectMessageEmail = ({ recipientName = "Alex", senderName = "Jordan Smith", senderUsername = "jordanfitness", messagePreview = "Hey! Great workout today. I noticed you hit a new PR on bench press - that's awesome! Want to share your training program?", messageUrl = "tracked://app", websiteUrl = "https://tracked.gg", }) => {
5
5
  const displayName = senderUsername
6
6
  ? `${senderName} (@${senderUsername})`
7
7
  : senderName;
8
- return (_jsxs(Html, { children: [_jsxs(Head, { children: [_jsx("meta", { name: "color-scheme", content: "light only" }), _jsx("meta", { name: "supported-color-schemes", content: "light only" })] }), _jsxs(Preview, { children: ["New message from ", senderName, " on Tracked"] }), _jsx(Body, { style: main, children: _jsx(Container, { style: container, children: _jsxs(Section, { style: box, children: [_jsxs(Row, { style: { marginBottom: "8px" }, children: [_jsx(Column, { style: { width: "auto", verticalAlign: "middle" }, children: _jsx(Img, { src: `${baseUrl}`, width: "28", height: "28", alt: "Tracked" }) }), _jsx(Column, { style: {
9
- width: "auto",
10
- verticalAlign: "middle",
11
- paddingLeft: "4px",
12
- }, children: _jsx(Text, { style: {
13
- fontSize: "28px",
14
- fontWeight: "900",
15
- fontFamily: "Raleway, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif",
16
- color: "#020617",
17
- margin: "0",
18
- lineHeight: "32px",
19
- letterSpacing: "0.5px",
20
- }, children: "TRACKED" }) })] }), _jsx(Hr, { style: hr }), _jsx(Text, { style: heading, children: "You Have a New Message" }), _jsxs(Text, { style: paragraph, children: ["Hi ", recipientName, ", ", displayName, " sent you a message on Tracked."] }), _jsxs(Section, { style: messageBox, children: [_jsx(Text, { style: messageLabel, children: "Message Preview:" }), _jsx(Text, { style: messageText, children: messagePreview })] }), _jsx("div", { style: {
21
- marginTop: "24px",
22
- marginBottom: "24px",
23
- textAlign: "left",
24
- }, children: _jsx("a", { href: messageUrl, style: {
25
- backgroundColor: "#0f172a",
26
- borderRadius: "8px",
27
- fontSize: "16px",
28
- fontWeight: "bold",
29
- textDecoration: "none",
30
- padding: "12px 32px",
31
- display: "inline-block",
32
- }, children: _jsx("span", { style: { color: "#ffffff", textDecoration: "none" }, children: "View Message" }) }) }), _jsx(Text, { style: { ...paragraph, fontSize: "14px", color: "#94a3b8" }, children: "Open the Tracked app to read the full message and reply." }), _jsx("div", { style: {
33
- textAlign: "left",
34
- margin: "24px 0",
35
- }, children: _jsx("a", { href: "https://www.discord.gg/trackedgg", style: {
36
- backgroundColor: "#5865F2",
37
- borderRadius: "8px",
38
- fontSize: "16px",
39
- fontWeight: "bold",
40
- textDecoration: "none",
41
- padding: "12px 32px",
42
- display: "inline-block",
43
- }, children: _jsx("span", { style: { color: "#ffffff", textDecoration: "none" }, children: "Join our Discord Community" }) }) }), _jsx(Hr, { style: hr }), _jsxs(Text, { style: footer, children: ["Copyright \u00A9 Tracked Training Platform Inc. ", _jsx("br", {}), " 9101 Horne Street, Vancouver, BC"] }), _jsxs(Container, { children: [_jsx(Link, { href: `${websiteUrl}/terms`, style: { ...footer, paddingRight: 10 }, children: "Terms" }), _jsx(Link, { style: { ...footer, paddingRight: 10 }, children: " | " }), _jsx(Link, { href: `${websiteUrl}/privacy`, style: { ...footer, paddingRight: 10 }, children: "Privacy" }), _jsx(Link, { style: { ...footer, paddingRight: 10 }, children: " | " }), _jsx(Link, { href: `${websiteUrl}/support`, style: { ...footer, paddingRight: 10 }, children: "Support" })] }), _jsx(Text, { style: footer, children: "This is a service notification by the Tracked Training Platform." })] }) }) })] }));
44
- };
45
- const main = {
46
- backgroundColor: "#020617", // slate-950
47
- fontFamily: '-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Ubuntu,sans-serif',
48
- };
49
- const container = {
50
- backgroundColor: "#020617", // slate-950
51
- margin: "0 auto",
52
- padding: "20px 0 48px",
53
- marginBottom: "64px",
54
- borderRadius: "8px",
55
- };
56
- const box = {
57
- padding: "0 24px",
58
- };
59
- const hr = {
60
- borderColor: "#4ade80", // green-400
61
- margin: "24px 0",
62
- borderWidth: "1px",
63
- };
64
- const paragraph = {
65
- color: "#ffffff", // white
66
- fontSize: "16px",
67
- lineHeight: "24px",
68
- textAlign: "left",
69
- };
70
- const heading = {
71
- color: "#ffffff", // white
72
- fontSize: "24px",
73
- lineHeight: "32px",
74
- fontWeight: "bold",
75
- marginBottom: "16px",
76
- };
77
- const messageBox = {
78
- backgroundColor: "#1e293b",
79
- padding: "16px 24px",
80
- borderRadius: "8px",
81
- margin: "24px 0",
82
- borderLeft: "4px solid #4ade80",
83
- };
84
- const messageLabel = {
85
- color: "#94a3b8",
86
- fontSize: "12px",
87
- fontWeight: "bold",
88
- textTransform: "uppercase",
89
- marginBottom: "8px",
90
- };
91
- const messageText = {
92
- color: "#ffffff",
93
- fontSize: "15px",
94
- lineHeight: "22px",
95
- fontStyle: "italic",
96
- };
97
- const footer = {
98
- color: "#94a3b8", // slate-400 for subtle footer text
99
- fontSize: "12px",
100
- lineHeight: "16px",
8
+ return (_jsxs(EmailLayout, { preview: `New message from ${senderName} on Tracked`, children: [_jsx(EmailHeader, {}), _jsx(Heading, { children: "You Have a New Message" }), _jsxs(Paragraph, { children: ["Hi ", recipientName, ", ", displayName, " sent you a message on Tracked."] }), _jsxs(Section, { style: {
9
+ backgroundColor: colors.surface,
10
+ padding: "16px 24px",
11
+ borderRadius: "8px",
12
+ margin: "24px 0",
13
+ borderLeft: `4px solid ${colors.accent}`,
14
+ }, children: [_jsx(Text, { style: {
15
+ color: colors.textMuted,
16
+ fontSize: "12px",
17
+ fontWeight: "bold",
18
+ textTransform: "uppercase",
19
+ marginBottom: "8px",
20
+ }, children: "Message Preview:" }), _jsx(Text, { style: {
21
+ color: colors.textPrimary,
22
+ fontSize: "15px",
23
+ lineHeight: "22px",
24
+ fontStyle: "italic",
25
+ margin: "0",
26
+ }, children: messagePreview })] }), _jsx(PrimaryButton, { href: messageUrl, children: "View Message" }), _jsx(SmallText, { muted: true, children: "Open the Tracked app to read the full message and reply." }), _jsx(DiscordButton, {}), _jsx(EmailFooter, { websiteUrl: websiteUrl })] }));
101
27
  };
102
28
  export default DirectMessageEmail;
103
29
  //# sourceMappingURL=direct-message.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"direct-message.js","sourceRoot":"","sources":["../../src/emails/direct-message.tsx"],"names":[],"mappings":";AACA,OAAO,EACL,IAAI,EACJ,MAAM,EACN,SAAS,EACT,IAAI,EACJ,EAAE,EACF,IAAI,EACJ,GAAG,EACH,IAAI,EACJ,OAAO,EACP,GAAG,EACH,OAAO,EACP,IAAI,GACL,MAAM,yBAAyB,CAAC;AAWjC,MAAM,OAAO,GAAG,+CAA+C,CAAC;AAEhE,MAAM,CAAC,MAAM,kBAAkB,GAAG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E,QAAQ;IAChB,WAAW,EAAE,KAAK;CACnB,CAAC;AAEF,MAAM,SAAS,GAAG;IAChB,KAAK,EAAE,SAAS,EAAE,QAAQ;IAC1B,QAAQ,EAAE,MAAM;IAChB,UAAU,EAAE,MAAM;IAClB,SAAS,EAAE,MAAe;CAC3B,CAAC;AAEF,MAAM,OAAO,GAAG;IACd,KAAK,EAAE,SAAS,EAAE,QAAQ;IAC1B,QAAQ,EAAE,MAAM;IAChB,UAAU,EAAE,MAAM;IAClB,UAAU,EAAE,MAAM;IAClB,YAAY,EAAE,MAAM;CACrB,CAAC;AAEF,MAAM,UAAU,GAAG;IACjB,eAAe,EAAE,SAAS;IAC1B,OAAO,EAAE,WAAW;IACpB,YAAY,EAAE,KAAK;IACnB,MAAM,EAAE,QAAQ;IAChB,UAAU,EAAE,mBAAmB;CAChC,CAAC;AAEF,MAAM,YAAY,GAAG;IACnB,KAAK,EAAE,SAAS;IAChB,QAAQ,EAAE,MAAM;IAChB,UAAU,EAAE,MAAM;IAClB,aAAa,EAAE,WAAoB;IACnC,YAAY,EAAE,KAAK;CACpB,CAAC;AAEF,MAAM,WAAW,GAAG;IAClB,KAAK,EAAE,SAAS;IAChB,QAAQ,EAAE,MAAM;IAChB,UAAU,EAAE,MAAM;IAClB,SAAS,EAAE,QAAiB;CAC7B,CAAC;AAEF,MAAM,MAAM,GAAG;IACb,KAAK,EAAE,SAAS,EAAE,mCAAmC;IACrD,QAAQ,EAAE,MAAM;IAChB,UAAU,EAAE,MAAM;CACnB,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
1
+ {"version":3,"file":"direct-message.js","sourceRoot":"","sources":["../../src/emails/direct-message.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,yBAAyB,CAAC;AACxD,OAAO,EACL,WAAW,EACX,WAAW,EACX,WAAW,EACX,OAAO,EACP,SAAS,EACT,SAAS,EACT,aAAa,EACb,aAAa,EACb,MAAM,GACP,MAAM,eA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WAAW,IAAC,UAAU,EAAE,UAAU,GAAI,IAC3B,CACf,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
@@ -5,7 +5,8 @@ interface FeatureDiscoveryEmailProps {
5
5
  featureBenefits?: string[];
6
6
  featureUrl?: string;
7
7
  websiteUrl?: string;
8
+ unsubscribeUrl?: string;
8
9
  }
9
- export declare const FeatureDiscoveryEmail: ({ userName, featureName, featureDescription, featureBenefits, featureUrl, websiteUrl, }: FeatureDiscoveryEmailProps) => import("react/jsx-runtime").JSX.Element;
10
+ export declare const FeatureDiscoveryEmail: ({ userName, featureName, featureDescription, featureBenefits, featureUrl, websiteUrl, unsubscribeUrl, }: FeatureDiscoveryEmailProps) => import("react/jsx-runtime").JSX.Element;
10
11
  export default FeatureDiscoveryEmail;
11
12
  //# sourceMappingURL=feature-discovery.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"feature-discovery.d.ts","sourceRoot":"","sources":["../../src/emails/feature-discovery.tsx"],"names":[],"mappings":"AAgBA,UAAU,0BAA0B;IAClC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,eAAe,CAAC,EAAE,MAAM,EAAE,CAAC;IAC3B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAID,eAAO,MAAM,qBAAqB,GAAI,yFAYnC,0BAA0B,4CA+J5B,CAAC;AA+FF,eAAe,qBAAqB,CAAC"}
1
+ {"version":3,"file":"feature-discovery.d.ts","sourceRoot":"","sources":["../../src/emails/feature-discovery.tsx"],"names":[],"mappings":"AAgBA,UAAU,0BAA0B;IAClC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,eAAe,CAAC,EAAE,MAAM,EAAE,CAAC;IAC3B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,eAAO,MAAM,qBAAqB,GAAI,yGAanC,0BAA0B,4CAoE5B,CAAC;AAEF,eAAe,qBAAqB,CAAC"}
@@ -1,126 +1,29 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { Body, Column, Container, Head, Hr, Html, Img, Link, Preview, Row, Section, Text, } from "@react-email/components";
3
- const baseUrl = "https://tracked.gg/android-chrome-192x192.png";
2
+ import { Section, Text } from "@react-email/components";
3
+ import { EmailLayout, EmailHeader, EmailFooter, Heading, Paragraph, FeatureBox, FeatureList, SmallText, PrimaryButton, DiscordButton, colors, } from "../components";
4
4
  export const FeatureDiscoveryEmail = ({ userName = "Alex", featureName = "Progress Photos", featureDescription = "Track your transformation visually with our new Progress Photos feature. Take photos, compare side-by-side, and see your hard work paying off over time.", featureBenefits = [
5
5
  "Compare photos side-by-side to see your progress",
6
6
  "Automatic privacy controls - your photos are only visible to you",
7
7
  "Set reminders to take consistent progress photos",
8
8
  "Track multiple angles and body positions",
9
- ], featureUrl = "https://tracked.gg/progress-photos", websiteUrl = "https://tracked.gg", }) => {
10
- return (_jsxs(Html, { children: [_jsxs(Head, { children: [_jsx("meta", { name: "color-scheme", content: "light only" }), _jsx("meta", { name: "supported-color-schemes", content: "light only" })] }), _jsxs(Preview, { children: ["Discover ", featureName, " on Tracked"] }), _jsx(Body, { style: main, children: _jsx(Container, { style: container, children: _jsxs(Section, { style: box, children: [_jsxs(Row, { style: { marginBottom: "8px" }, children: [_jsx(Column, { style: { width: "auto", verticalAlign: "middle" }, children: _jsx(Img, { src: `${baseUrl}`, width: "28", height: "28", alt: "Tracked" }) }), _jsx(Column, { style: {
11
- width: "auto",
12
- verticalAlign: "middle",
13
- paddingLeft: "4px",
14
- }, children: _jsx(Text, { style: {
15
- fontSize: "28px",
16
- fontWeight: "900",
17
- fontFamily: "Raleway, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif",
18
- color: "#020617",
19
- margin: "0",
20
- lineHeight: "32px",
21
- letterSpacing: "0.5px",
22
- }, children: "TRACKED" }) })] }), _jsx(Hr, { style: hr }), _jsx(Section, { style: { textAlign: "center", margin: "16px 0" }, children: _jsx(Text, { style: { fontSize: "36px", margin: "0" }, children: "\uD83D\uDCA1" }) }), _jsx(Text, { style: heading, children: "Unlock More with Tracked" }), _jsxs(Text, { style: paragraph, children: ["Hi ", userName, ", we noticed you haven't tried ", featureName, " yet - a powerful feature that could take your training to the next level."] }), _jsxs(Section, { style: featureBox, children: [_jsx(Text, { style: featureHeading, children: featureName }), _jsx(Text, { style: featureDescriptionStyle, children: featureDescription })] }), featureBenefits.length > 0 && (_jsxs(Section, { style: benefitsBox, children: [_jsx(Text, { style: benefitsHeading, children: "Why you'll love it:" }), _jsx("ul", { style: benefitsList, children: featureBenefits.map((benefit, index) => (_jsx("li", { style: benefitItem, children: benefit }, index))) })] })), _jsx("div", { style: {
23
- marginTop: "24px",
24
- marginBottom: "24px",
25
- textAlign: "left",
26
- }, children: _jsx("a", { href: featureUrl, style: {
27
- backgroundColor: "#0f172a",
28
- borderRadius: "8px",
29
- fontSize: "16px",
30
- fontWeight: "bold",
31
- textDecoration: "none",
32
- padding: "12px 32px",
33
- display: "inline-block",
34
- }, children: _jsxs("span", { style: { color: "#ffffff", textDecoration: "none" }, children: ["Try ", featureName] }) }) }), _jsx(Text, { style: { ...paragraph, fontSize: "14px", color: "#94a3b8" }, children: "We're constantly adding new features to help you reach your fitness goals. Stay tuned for more updates!" }), _jsx("div", { style: {
35
- textAlign: "left",
36
- margin: "24px 0",
37
- }, children: _jsx("a", { href: "https://www.discord.gg/trackedgg", style: {
38
- backgroundColor: "#5865F2",
39
- borderRadius: "8px",
40
- fontSize: "16px",
41
- fontWeight: "bold",
42
- textDecoration: "none",
43
- padding: "12px 32px",
44
- display: "inline-block",
45
- }, children: _jsx("span", { style: { color: "#ffffff", textDecoration: "none" }, children: "Join our Discord Community" }) }) }), _jsx(Hr, { style: hr }), _jsxs(Text, { style: footer, children: ["Copyright \u00A9 Tracked Training Platform Inc. ", _jsx("br", {}), " 9101 Horne Street, Vancouver, BC"] }), _jsxs(Container, { children: [_jsx(Link, { href: `${websiteUrl}/terms`, style: { ...footer, paddingRight: 10 }, children: "Terms" }), _jsx(Link, { style: { ...footer, paddingRight: 10 }, children: " | " }), _jsx(Link, { href: `${websiteUrl}/privacy`, style: { ...footer, paddingRight: 10 }, children: "Privacy" }), _jsx(Link, { style: { ...footer, paddingRight: 10 }, children: " | " }), _jsx(Link, { href: `${websiteUrl}/support`, style: { ...footer, paddingRight: 10 }, children: "Support" })] }), _jsx(Text, { style: footer, children: "This is a service notification by the Tracked Training Platform." })] }) }) })] }));
46
- };
47
- const main = {
48
- backgroundColor: "#020617", // slate-950
49
- fontFamily: '-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Ubuntu,sans-serif',
50
- };
51
- const container = {
52
- backgroundColor: "#020617", // slate-950
53
- margin: "0 auto",
54
- padding: "20px 0 48px",
55
- marginBottom: "64px",
56
- borderRadius: "8px",
57
- };
58
- const box = {
59
- padding: "0 24px",
60
- };
61
- const hr = {
62
- borderColor: "#4ade80", // green-400
63
- margin: "24px 0",
64
- borderWidth: "1px",
65
- };
66
- const paragraph = {
67
- color: "#ffffff", // white
68
- fontSize: "16px",
69
- lineHeight: "24px",
70
- textAlign: "left",
71
- };
72
- const heading = {
73
- color: "#ffffff", // white
74
- fontSize: "24px",
75
- lineHeight: "32px",
76
- fontWeight: "bold",
77
- marginBottom: "16px",
78
- textAlign: "center",
79
- };
80
- const featureBox = {
81
- backgroundColor: "#1e293b",
82
- padding: "20px 24px",
83
- borderRadius: "8px",
84
- margin: "24px 0",
85
- borderLeft: "4px solid #4ade80",
86
- };
87
- const featureHeading = {
88
- color: "#4ade80",
89
- fontSize: "18px",
90
- fontWeight: "bold",
91
- marginBottom: "8px",
92
- };
93
- const featureDescriptionStyle = {
94
- color: "#e2e8f0",
95
- fontSize: "15px",
96
- lineHeight: "22px",
97
- };
98
- const benefitsBox = {
99
- backgroundColor: "#1e293b",
100
- padding: "16px 24px",
101
- borderRadius: "8px",
102
- margin: "24px 0",
103
- };
104
- const benefitsHeading = {
105
- color: "#ffffff",
106
- fontSize: "16px",
107
- fontWeight: "bold",
108
- marginBottom: "12px",
109
- };
110
- const benefitsList = {
111
- margin: "0",
112
- paddingLeft: "20px",
113
- };
114
- const benefitItem = {
115
- color: "#e2e8f0",
116
- fontSize: "14px",
117
- lineHeight: "24px",
118
- marginBottom: "8px",
119
- };
120
- const footer = {
121
- color: "#94a3b8", // slate-400 for subtle footer text
122
- fontSize: "12px",
123
- lineHeight: "16px",
9
+ ], featureUrl = "tracked://physique-photos", websiteUrl = "https://tracked.gg", unsubscribeUrl, }) => {
10
+ return (_jsxs(EmailLayout, { preview: `Discover ${featureName} on Tracked`, children: [_jsx(EmailHeader, {}), _jsx(Section, { style: { textAlign: "center", margin: "16px 0" }, children: _jsx(Text, { style: { fontSize: "36px", margin: "0" }, children: "\uD83D\uDCA1" }) }), _jsx(Heading, { style: { textAlign: "center" }, children: "Unlock More with Tracked" }), _jsxs(Paragraph, { children: ["Hi ", userName, ", we noticed you haven't tried ", featureName, " yet - a powerful feature that could take your training to the next level."] }), _jsxs(Section, { style: {
11
+ backgroundColor: colors.surface,
12
+ padding: "20px 24px",
13
+ borderRadius: "8px",
14
+ margin: "24px 0",
15
+ borderLeft: `4px solid ${colors.accent}`,
16
+ }, children: [_jsx(Text, { style: {
17
+ color: colors.accent,
18
+ fontSize: "18px",
19
+ fontWeight: "bold",
20
+ marginBottom: "8px",
21
+ }, children: featureName }), _jsx(Text, { style: {
22
+ color: colors.textSecondary,
23
+ fontSize: "15px",
24
+ lineHeight: "22px",
25
+ margin: "0",
26
+ }, children: featureDescription })] }), featureBenefits.length > 0 && (_jsx(FeatureBox, { title: "Why you'll love it:", children: _jsx(FeatureList, { items: featureBenefits.map((benefit) => ({ title: benefit })) }) })), _jsxs(PrimaryButton, { href: featureUrl, children: ["Try ", featureName] }), _jsx(SmallText, { muted: true, children: "We're constantly adding new features to help you reach your fitness goals. Stay tuned for more updates!" }), _jsx(DiscordButton, {}), _jsx(EmailFooter, { websiteUrl: websiteUrl, marketing: true, unsubscribeUrl: unsubscribeUrl })] }));
124
27
  };
125
28
  export default FeatureDiscoveryEmail;
126
29
  //# sourceMappingURL=feature-discovery.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"feature-discovery.js","sourceRoot":"","sources":["../../src/emails/feature-discovery.tsx"],"names":[],"mappings":";AACA,OAAO,EACL,IAAI,EACJ,MAAM,EACN,SAAS,EACT,IAAI,EACJ,EAAE,EACF,IAAI,EACJ,GAAG,EACH,IAAI,EACJ,OAAO,EACP,GAAG,EACH,OAAO,EACP,IAAI,GACL,MAAM,yBAAyB,CAAC;AAWjC,MAAM,OAAO,GAAG,+CAA+C,CAAC;AAEhE,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,EACpC,QAAQ,GAAG,MAAM,EACjB,WAAW,GAAG,iBAAiB,EAC/B,kBAAkB,GAAG,0JAA0J,EAC/K,eAAe,GAAG;IAChB,kDAAkD;IAClD,kEAAkE;IAClE,kDAAkD;IAClD,0CAA0C;CAC3C,EACD,UAAU,GAAG,oCAAoC,EACjD,UAAU,GAAG,oBAAoB,GACN,EAAE,EAAE;IAC/B,OAAO,CACL,MAAC,IAAI,eACH,MAAC,IAAI,eACH,eAAM,IAAI,EAAC,cAAc,EAAC,OAAO,EAAC,YAAY,GAAG,EACjD,eAAM,IAAI,EAAC,yBAAyB,EAAC,OAAO,EAAC,YAAY,GAAG,IACvD,EACP,MAAC,OAAO,4BAAW,WAAW,mBAAsB,EACpD,KAAC,IAAI,IAAC,KAAK,EAAE,IAAI,YACf,KAAC,SAAS,IAAC,KAAK,EAAE,SAAS,YAC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AS;IAChB,QAAQ,EAAE,MAAM;IAChB,UAAU,EAAE,MAAM;IAClB,YAAY,EAAE,KAAK;CACpB,CAAC;AAEF,MAAM,MAAM,GAAG;IACb,KAAK,EAAE,SAAS,EAAE,mCAAmC;IACrD,QAAQ,EAAE,MAAM;IAChB,UAAU,EAAE,MAAM;CACnB,CAAC;AAEF,eAAe,qBAAqB,CAAC"}
1
+ {"version":3,"file":"feature-discovery.js","sourceRoot":"","sources":["../../src/emails/feature-discovery.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,yBAAyB,CAAC;AACxD,OAAO,EACL,WAAW,EACX,WAAW,EACX,WAAW,EACX,OAAO,EACP,SAAS,EACT,UAAU,EACV,WAAW,EACX,SAAS,EACT,aAAa,EACb,aAAa,EACb,MAAM,GACP,MAAM,eAAe,CAAC;AAYvB,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,EACpC,QAAQ,GAAG,MAAM,EACjB,WAAW,GAAG,iBAAiB,EAC/B,kBAAkB,GAAG,0JAA0J,EAC/K,eAAe,GAAG;IAChB,kDAAkD;IAClD,kEAAkE;IAClE,kDAAkD;IAClD,0CAA0C;CAC3C,EACD,UAAU,GAAG,2BAA2B,EACxC,UAAU,GAAG,oBAAoB,EACjC,cAAc,GACa,EAAE,EAAE;IAC/B,OAAO,CACL,MAAC,WAAW,IAAC,OAAO,EAAE,YAAY,WAAW,aAAa,aACxD,KAAC,WAAW,KAAG,EAEf,KAAC,OAAO,IAAC,KAAK,EAAE,EAAE,SAAS,EAAE,QAAiB,EAAE,MAAM,EAAE,QAAQ,EAAE,YAChE,KAAC,IAAI,IAAC,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,6BAAW,GACjD,EAEV,KAAC,OAAO,IAAC,KAAK,EAAE,EAAE,SAAS,EAAE,QAAiB,EAAE,yCAEtC,EACV,MAAC,SAAS,sBACJ,QAAQ,qCAAiC,WAAW,kFAE9C,EAEZ,MAAC,OAAO,IACN,KAAK,EAAE;oBACL,eAAe,EAAE,MAAM,CAAC,OAAO;oBAC/B,OAAO,EAAE,WAAW;oBACpB,YAAY,EAAE,KAAK;oBACnB,MAAM,EAAE,QAAQ;oBAChB,UAAU,EAAE,aAAa,MAAM,CAAC,MAAM,EAAE;iBACzC,aAED,KAAC,IAAI,IACH,KAAK,EAAE;4BACL,KAAK,EAAE,MAAM,CAAC,MAAM;4BACpB,QAAQ,EAAE,MAAM;4BAChB,UAAU,EAAE,MAAe;4BAC3B,YAAY,EAAE,KAAK;yBACpB,YAEA,WAAW,GACP,EACP,KAAC,IAAI,IACH,KAAK,EAAE;4BACL,KAAK,EAAE,MAAM,CAAC,aAAa;4BAC3B,QAAQ,EAAE,MAAM;4BAChB,UAAU,EAAE,MAAM;4BAClB,MAAM,EAAE,GAAG;yBACZ,YAEA,kBAAkB,GACd,IACC,EAET,eAAe,CAAC,MAAM,GAAG,CAAC,IAAI,CAC7B,KAAC,UAAU,IAAC,KAAK,EAAC,qBAAqB,YACrC,KAAC,WAAW,IACV,KAAK,EAAE,eAAe,CAAC,GAAG,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC,EAAE,KAAK,EAAE,OAAO,EAAE,CAAC,CAAC,GAC7D,GACS,CACd,EAED,MAAC,aAAa,IAAC,IAAI,EAAE,UAAU,qBAAO,WAAW,IAAiB,EAElE,KAAC,SAAS,IAAC,KAAK,8HAGJ,EAEZ,KAAC,aAAa,KAAG,EAEjB,KAAC,WAAW,IAAC,UAAU,EAAE,UAAU,EAAE,SAAS,QAAC,cAAc,EAAE,cAAc,GAAI,IACrE,CACf,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,qBAAqB,CAAC"}
@@ -3,7 +3,7 @@ interface FirstWorkoutAssignedEmailProps {
3
3
  coachName: string;
4
4
  programName: string;
5
5
  workoutUrl: string;
6
- websiteUrl: string;
6
+ websiteUrl?: string;
7
7
  }
8
8
  export declare const FirstWorkoutAssignedEmail: ({ clientName, coachName, programName, workoutUrl, websiteUrl, }: FirstWorkoutAssignedEmailProps) => import("react/jsx-runtime").JSX.Element;
9
9
  export default FirstWorkoutAssignedEmail;
@@ -1 +1 @@
1
- {"version":3,"file":"first-workout-assigned.d.ts","sourceRoot":"","sources":["../../src/emails/first-workout-assigned.tsx"],"names":[],"mappings":"AAgBA,UAAU,8BAA8B;IACtC,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;CACpB;AAID,eAAO,MAAM,yBAAyB,GAAI,iEAMvC,8BAA8B,4CA0JhC,CAAC;AAoEF,eAAe,yBAAyB,CAAC"}
1
+ {"version":3,"file":"first-workout-assigned.d.ts","sourceRoot":"","sources":["../../src/emails/first-workout-assigned.tsx"],"names":[],"mappings":"AAaA,UAAU,8BAA8B;IACtC,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,eAAO,MAAM,yBAAyB,GAAI,iEAMvC,8BAA8B,4CAuChC,CAAC;AAEF,eAAe,yBAAyB,CAAC"}
@@ -1,98 +1,7 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { Body, Column, Container, Head, Hr, Html, Img, Link, Preview, Row, Section, Text, } from "@react-email/components";
3
- const baseUrl = "https://tracked.gg/android-chrome-192x192.png";
4
- export const FirstWorkoutAssignedEmail = ({ clientName, coachName, programName, workoutUrl, websiteUrl = "https://tracked.gg", }) => {
5
- return (_jsxs(Html, { children: [_jsxs(Head, { children: [_jsx("meta", { name: "color-scheme", content: "light only" }), _jsx("meta", { name: "supported-color-schemes", content: "light only" })] }), _jsxs(Preview, { children: [coachName, " has assigned your first workout program on Tracked"] }), _jsx(Body, { style: main, children: _jsx(Container, { style: container, children: _jsxs(Section, { style: box, children: [_jsxs(Row, { style: { marginBottom: "8px" }, children: [_jsx(Column, { style: { width: "auto", verticalAlign: "middle" }, children: _jsx(Img, { src: `${baseUrl}`, width: "28", height: "28", alt: "Tracked" }) }), _jsx(Column, { style: {
6
- width: "auto",
7
- verticalAlign: "middle",
8
- paddingLeft: "4px",
9
- }, children: _jsx(Text, { style: {
10
- fontSize: "28px",
11
- fontWeight: "900",
12
- fontFamily: "Raleway, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif",
13
- color: "#020617",
14
- margin: "0",
15
- lineHeight: "32px",
16
- letterSpacing: "0.5px",
17
- }, children: "TRACKED" }) })] }), _jsx(Hr, { style: hr }), _jsx(Text, { style: heading, children: "Your Training Journey Begins!" }), _jsxs(Text, { style: paragraph, children: ["Hi ", clientName, ", ", coachName, " has created your personalized workout program and it's ready for you to start."] }), _jsxs(Section, { style: infoBox, children: [_jsx(Text, { style: infoHeading, children: "Program Details:" }), _jsxs(Text, { style: infoText, children: [_jsx("strong", { children: "Program:" }), " ", programName] }), _jsxs(Text, { style: infoText, children: [_jsx("strong", { children: "Coach:" }), " ", coachName] })] }), _jsx(Text, { style: paragraph, children: "Your coach has designed this program specifically for your goals. Open the app to view your workouts and get started!" }), _jsx("div", { style: {
18
- marginTop: "24px",
19
- marginBottom: "24px",
20
- textAlign: "left",
21
- }, children: _jsx("a", { href: workoutUrl, style: {
22
- backgroundColor: "#0f172a",
23
- borderRadius: "8px",
24
- fontSize: "16px",
25
- fontWeight: "bold",
26
- textDecoration: "none",
27
- padding: "12px 32px",
28
- display: "inline-block",
29
- }, children: _jsx("span", { style: { color: "#ffffff", textDecoration: "none" }, children: "View Your Program" }) }) }), _jsx(Text, { style: { ...paragraph }, children: "Remember to track each workout and communicate with your coach if you have any questions or concerns." }), _jsx("div", { style: {
30
- textAlign: "left",
31
- margin: "24px 0",
32
- }, children: _jsx("a", { href: "https://www.discord.gg/trackedgg", style: {
33
- backgroundColor: "#5865F2",
34
- borderRadius: "8px",
35
- fontSize: "16px",
36
- fontWeight: "bold",
37
- textDecoration: "none",
38
- padding: "12px 32px",
39
- display: "inline-block",
40
- }, children: _jsx("span", { style: { color: "#ffffff", textDecoration: "none" }, children: "Join our Discord Community" }) }) }), _jsx(Hr, { style: hr }), _jsxs(Text, { style: footer, children: ["Copyright \u00A9 Tracked Training Platform Inc. ", _jsx("br", {}), " 9101 Horne Street, Vancouver, BC"] }), _jsxs(Container, { children: [_jsx(Link, { href: `${websiteUrl}/terms`, style: { ...footer, paddingRight: 10 }, children: "Terms" }), _jsx(Link, { style: { ...footer, paddingRight: 10 }, children: " | " }), _jsx(Link, { href: `${websiteUrl}/privacy`, style: { ...footer, paddingRight: 10 }, children: "Privacy" }), _jsx(Link, { style: { ...footer, paddingRight: 10 }, children: " | " }), _jsx(Link, { href: `${websiteUrl}/support`, style: { ...footer, paddingRight: 10 }, children: "Support" })] }), _jsx(Text, { style: footer, children: "This is a service notification by the Tracked Training Platform." })] }) }) })] }));
41
- };
42
- const main = {
43
- backgroundColor: "#020617", // slate-950
44
- fontFamily: '-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Ubuntu,sans-serif',
45
- };
46
- const container = {
47
- backgroundColor: "#020617", // slate-950
48
- margin: "0 auto",
49
- padding: "20px 0 48px",
50
- marginBottom: "64px",
51
- borderRadius: "8px",
52
- };
53
- const box = {
54
- padding: "0 24px",
55
- };
56
- const hr = {
57
- borderColor: "#4ade80", // green-400
58
- margin: "24px 0",
59
- borderWidth: "1px",
60
- };
61
- const paragraph = {
62
- color: "#ffffff", // white
63
- fontSize: "16px",
64
- lineHeight: "24px",
65
- textAlign: "left",
66
- };
67
- const heading = {
68
- color: "#ffffff", // white
69
- fontSize: "24px",
70
- lineHeight: "32px",
71
- fontWeight: "bold",
72
- marginBottom: "16px",
73
- };
74
- const infoBox = {
75
- backgroundColor: "#1e293b",
76
- padding: "16px 24px",
77
- borderRadius: "8px",
78
- margin: "24px 0",
79
- };
80
- const infoHeading = {
81
- color: "#ffffff",
82
- fontSize: "16px",
83
- fontWeight: "bold",
84
- marginBottom: "12px",
85
- };
86
- const infoText = {
87
- color: "#e2e8f0",
88
- fontSize: "14px",
89
- lineHeight: "24px",
90
- marginBottom: "4px",
91
- };
92
- const footer = {
93
- color: "#94a3b8", // slate-400 for subtle footer text
94
- fontSize: "12px",
95
- lineHeight: "16px",
2
+ import { EmailLayout, EmailHeader, EmailFooter, Heading, Paragraph, FeatureBox, SmallText, PrimaryButton, DiscordButton, } from "../components";
3
+ export const FirstWorkoutAssignedEmail = ({ clientName = "Alex", coachName = "Sarah Johnson", programName = "8-Week Strength Builder", workoutUrl = "tracked://app", websiteUrl = "https://tracked.gg", }) => {
4
+ return (_jsxs(EmailLayout, { preview: `${coachName} has assigned your first workout program on Tracked`, children: [_jsx(EmailHeader, {}), _jsx(Heading, { children: "Your Training Journey Begins!" }), _jsxs(Paragraph, { children: ["Hi ", clientName, ", ", coachName, " has created your personalized workout program and it's ready for you to start."] }), _jsxs(FeatureBox, { title: "Program Details:", children: [_jsxs(SmallText, { children: [_jsx("strong", { children: "Program:" }), " ", programName] }), _jsxs(SmallText, { style: { marginTop: "4px" }, children: [_jsx("strong", { children: "Coach:" }), " ", coachName] })] }), _jsx(Paragraph, { children: "Your coach has designed this program specifically for your goals. Open the app to view your workouts and get started!" }), _jsx(PrimaryButton, { href: workoutUrl, children: "View Your Program" }), _jsx(Paragraph, { children: "Remember to track each workout and communicate with your coach if you have any questions or concerns." }), _jsx(DiscordButton, {}), _jsx(EmailFooter, { websiteUrl: websiteUrl })] }));
96
5
  };
97
6
  export default FirstWorkoutAssignedEmail;
98
7
  //# sourceMappingURL=first-workout-assigned.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"first-workout-assigned.js","sourceRoot":"","sources":["../../src/emails/first-workout-assigned.tsx"],"names":[],"mappings":";AACA,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AAE,aAAa;IACtB,YAAY,EAAE,MAAM;IACpB,YAAY,EAAE,KAAK;CACpB,CAAC;AAEF,MAAM,GAAG,GAAG;IACV,OAAO,EAAE,QAAQ;CAClB,CAAC;AAEF,MAAM,EAAE,GAAG;IACT,WAAW,EAAE,SAAS,EAAE,YAAY;IACpC,MAAM,EAAE,QAAQ;IAChB,WAAW,EAAE,KAAK;CACnB,CAAC;AAEF,MAAM,SAAS,GAAG;IAChB,KAAK,EAAE,SAAS,EAAE,QAAQ;IAC1B,QAAQ,EAAE,MAAM;IAChB,UAAU,EAAE,MAAM;IAClB,SAAS,EAAE,MAAe;CAC3B,CAAC;AAEF,MAAM,OAAO,GAAG;IACd,KAAK,EAAE,SAAS,EAAE,QAAQ;IAC1B,QAAQ,EAAE,MAAM;IAChB,UAAU,EAAE,MAAM;IAClB,UAAU,EAAE,MAAM;IAClB,YAAY,EAAE,MAAM;CACrB,CAAC;AAEF,MAAM,OAAO,GAAG;IACd,eAAe,EAAE,SAAS;IAC1B,OAAO,EAAE,WAAW;IACpB,YAAY,EAAE,KAAK;IACnB,MAAM,EAAE,QAAQ;CACjB,CAAC;AAEF,MAAM,WAAW,GAAG;IAClB,KAAK,EAAE,SAAS;IAChB,QAAQ,EAAE,MAAM;IAChB,UAAU,EAAE,MAAM;IAClB,YAAY,EAAE,MAAM;CACrB,CAAC;AAEF,MAAM,QAAQ,GAAG;IACf,KAAK,EAAE,SAAS;IAChB,QAAQ,EAAE,MAAM;IAChB,UAAU,EAAE,MAAM;IAClB,YAAY,EAAE,KAAK;CACpB,CAAC;AAEF,MAAM,MAAM,GAAG;IACb,KAAK,EAAE,SAAS,EAAE,mCAAmC;IACrD,QAAQ,EAAE,MAAM;IAChB,UAAU,EAAE,MAAM;CACnB,CAAC;AAEF,eAAe,yBAAyB,CAAC"}
1
+ {"version":3,"file":"first-workout-assigned.js","sourceRoot":"","sources":["../../src/emails/first-workout-assigned.tsx"],"names":[],"mappings":";AACA,OAAO,EACL,WAAW,EACX,WAAW,EACX,WAAW,EACX,OAAO,EACP,SAAS,EACT,UAAU,EACV,SAAS,EACT,aAAa,EACb,aAAa,GACd,MAAM,eAAe,CAAC;AAUvB,MAAM,CAAC,MAAM,yBAAyB,GAAG,CAAC,EACxC,UAAU,GAAG,MAAM,EACnB,SAAS,GAAG,eAAe,EAC3B,WAAW,GAAG,yBAAyB,EACvC,UAAU,GAAG,eAAe,EAC5B,UAAU,GAAG,oBAAoB,GACF,EAAE,EAAE;IACnC,OAAO,CACL,MAAC,WAAW,IACV,OAAO,EAAE,GAAG,SAAS,qDAAqD,aAE1E,KAAC,WAAW,KAAG,EAEf,KAAC,OAAO,gDAAwC,EAChD,MAAC,SAAS,sBACJ,UAAU,QAAI,SAAS,uFAEjB,EAEZ,MAAC,UAAU,IAAC,KAAK,EAAC,kBAAkB,aAClC,MAAC,SAAS,eACR,wCAAyB,OAAE,WAAW,IAC5B,EACZ,MAAC,SAAS,IAAC,KAAK,EAAE,EAAE,SAAS,EAAE,KAAK,EAAE,aACpC,sCAAuB,OAAE,SAAS,IACxB,IACD,EAEb,KAAC,SAAS,wIAGE,EAEZ,KAAC,aAAa,IAAC,IAAI,EAAE,UAAU,kCAAmC,EAElE,KAAC,SAAS,wHAGE,EAEZ,KAAC,aAAa,KAAG,EAEjB,KAAC,WAAW,IAAC,UAAU,EAAE,UAAU,GAAI,IAC3B,CACf,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,yBAAyB,CAAC"}
@@ -4,7 +4,7 @@ interface FirstWorkoutCompletedEmailProps {
4
4
  totalSets?: number;
5
5
  totalReps?: number;
6
6
  workoutHistoryUrl: string;
7
- websiteUrl: string;
7
+ websiteUrl?: string;
8
8
  }
9
9
  export declare const FirstWorkoutCompletedEmail: ({ userName, workoutName, totalSets, totalReps, workoutHistoryUrl, websiteUrl, }: FirstWorkoutCompletedEmailProps) => import("react/jsx-runtime").JSX.Element;
10
10
  export default FirstWorkoutCompletedEmail;
@@ -1 +1 @@
1
- {"version":3,"file":"first-workout-completed.d.ts","sourceRoot":"","sources":["../../src/emails/first-workout-completed.tsx"],"names":[],"mappings":"AAgBA,UAAU,+BAA+B;IACvC,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,UAAU,EAAE,MAAM,CAAC;CACpB;AAID,eAAO,MAAM,0BAA0B,GAAI,iFAOxC,+BAA+B,4CA6KjC,CAAC;AAwGF,eAAe,0BAA0B,CAAC"}
1
+ {"version":3,"file":"first-workout-completed.d.ts","sourceRoot":"","sources":["../../src/emails/first-workout-completed.tsx"],"names":[],"mappings":"AAgBA,UAAU,+BAA+B;IACvC,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,eAAO,MAAM,0BAA0B,GAAI,iFAOxC,+BAA+B,4CAuEjC,CAAC;AAEF,eAAe,0BAA0B,CAAC"}