@tracked/emails 0.2.3 → 0.2.5

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 (102) hide show
  1. package/dist/components/content.js +1 -1
  2. package/dist/components/content.js.map +1 -1
  3. package/dist/components/index.d.ts +5 -5
  4. package/dist/components/index.d.ts.map +1 -1
  5. package/dist/components/index.js +5 -5
  6. package/dist/components/index.js.map +1 -1
  7. package/dist/components/interactive.js +1 -1
  8. package/dist/components/interactive.js.map +1 -1
  9. package/dist/components/layout.js +2 -2
  10. package/dist/components/layout.js.map +1 -1
  11. package/dist/components/typography.js +1 -1
  12. package/dist/components/typography.js.map +1 -1
  13. package/dist/emails/anniversary.js +1 -1
  14. package/dist/emails/anniversary.js.map +1 -1
  15. package/dist/emails/app-review-request.js +1 -1
  16. package/dist/emails/app-review-request.js.map +1 -1
  17. package/dist/emails/bodyweight-goal-reached.js +1 -1
  18. package/dist/emails/bodyweight-goal-reached.js.map +1 -1
  19. package/dist/emails/client-inactive-alert.js +1 -1
  20. package/dist/emails/client-inactive-alert.js.map +1 -1
  21. package/dist/emails/client-onboarded.js +1 -1
  22. package/dist/emails/client-onboarded.js.map +1 -1
  23. package/dist/emails/coach-invite.js +1 -1
  24. package/dist/emails/coach-invite.js.map +1 -1
  25. package/dist/emails/coach-removed-client.js +1 -1
  26. package/dist/emails/coach-removed-client.js.map +1 -1
  27. package/dist/emails/direct-message.js +1 -1
  28. package/dist/emails/direct-message.js.map +1 -1
  29. package/dist/emails/feature-discovery.js +1 -1
  30. package/dist/emails/feature-discovery.js.map +1 -1
  31. package/dist/emails/first-workout-assigned.js +1 -1
  32. package/dist/emails/first-workout-assigned.js.map +1 -1
  33. package/dist/emails/first-workout-completed.d.ts.map +1 -1
  34. package/dist/emails/first-workout-completed.js +2 -12
  35. package/dist/emails/first-workout-completed.js.map +1 -1
  36. package/dist/emails/inactive-reengagement.js +6 -6
  37. package/dist/emails/inactive-reengagement.js.map +1 -1
  38. package/dist/emails/index.d.ts +24 -24
  39. package/dist/emails/index.d.ts.map +1 -1
  40. package/dist/emails/index.js +24 -24
  41. package/dist/emails/index.js.map +1 -1
  42. package/dist/emails/monthly-report.js +1 -1
  43. package/dist/emails/monthly-report.js.map +1 -1
  44. package/dist/emails/new-follower.js +1 -1
  45. package/dist/emails/new-follower.js.map +1 -1
  46. package/dist/emails/nps-survey.js +1 -1
  47. package/dist/emails/nps-survey.js.map +1 -1
  48. package/dist/emails/subscription-canceled.js +1 -1
  49. package/dist/emails/subscription-canceled.js.map +1 -1
  50. package/dist/emails/support-email.js +1 -1
  51. package/dist/emails/support-email.js.map +1 -1
  52. package/dist/emails/team-invite.js +1 -1
  53. package/dist/emails/team-invite.js.map +1 -1
  54. package/dist/emails/team-member-removed-email.js +1 -1
  55. package/dist/emails/team-member-removed-email.js.map +1 -1
  56. package/dist/emails/tracked-magic-link-activate.js +1 -1
  57. package/dist/emails/tracked-magic-link-activate.js.map +1 -1
  58. package/dist/emails/tracked-magic-link.js +1 -1
  59. package/dist/emails/tracked-magic-link.js.map +1 -1
  60. package/dist/emails/week-one-checkin.js +2 -2
  61. package/dist/emails/week-one-checkin.js.map +1 -1
  62. package/dist/emails/weekly-progress-digest.js +1 -1
  63. package/dist/emails/weekly-progress-digest.js.map +1 -1
  64. package/dist/emails/welcome.d.ts.map +1 -1
  65. package/dist/emails/welcome.js +3 -2
  66. package/dist/emails/welcome.js.map +1 -1
  67. package/dist/utils/index.d.ts +2 -2
  68. package/dist/utils/index.d.ts.map +1 -1
  69. package/dist/utils/index.js +2 -2
  70. package/dist/utils/index.js.map +1 -1
  71. package/package.json +1 -1
  72. package/src/components/content.tsx +1 -1
  73. package/src/components/index.ts +5 -5
  74. package/src/components/interactive.tsx +1 -1
  75. package/src/components/layout.tsx +2 -2
  76. package/src/components/typography.tsx +1 -1
  77. package/src/emails/anniversary.tsx +1 -1
  78. package/src/emails/app-review-request.tsx +1 -1
  79. package/src/emails/bodyweight-goal-reached.tsx +1 -1
  80. package/src/emails/client-inactive-alert.tsx +1 -1
  81. package/src/emails/client-onboarded.tsx +1 -1
  82. package/src/emails/coach-invite.tsx +1 -1
  83. package/src/emails/coach-removed-client.tsx +1 -1
  84. package/src/emails/direct-message.tsx +1 -1
  85. package/src/emails/feature-discovery.tsx +1 -1
  86. package/src/emails/first-workout-assigned.tsx +1 -1
  87. package/src/emails/first-workout-completed.tsx +6 -28
  88. package/src/emails/inactive-reengagement.tsx +7 -7
  89. package/src/emails/index.tsx +24 -24
  90. package/src/emails/monthly-report.tsx +1 -1
  91. package/src/emails/new-follower.tsx +1 -1
  92. package/src/emails/nps-survey.tsx +1 -1
  93. package/src/emails/subscription-canceled.tsx +1 -1
  94. package/src/emails/support-email.tsx +1 -1
  95. package/src/emails/team-invite.tsx +1 -1
  96. package/src/emails/team-member-removed-email.tsx +1 -1
  97. package/src/emails/tracked-magic-link-activate.tsx +1 -1
  98. package/src/emails/tracked-magic-link.tsx +1 -1
  99. package/src/emails/week-one-checkin.tsx +3 -3
  100. package/src/emails/weekly-progress-digest.tsx +1 -1
  101. package/src/emails/welcome.tsx +17 -7
  102. package/src/utils/index.ts +2 -2
@@ -11,8 +11,7 @@ import {
11
11
  SmallText,
12
12
  PrimaryButton,
13
13
  DiscordButton,
14
- colors,
15
- } from "../components";
14
+ } from "../components/index.js";
16
15
 
17
16
  interface FirstWorkoutCompletedEmailProps {
18
17
  userName: string;
@@ -44,7 +43,7 @@ export const FirstWorkoutCompletedEmail = ({
44
43
  </Heading>
45
44
  <Paragraph>
46
45
  Congratulations, {userName}! You've just completed your first workout on
47
- Tracked. This is the beginning of an amazing journey.
46
+ Tracked.
48
47
  </Paragraph>
49
48
 
50
49
  <FeatureBox title="Your First Workout:">
@@ -63,37 +62,16 @@ export const FirstWorkoutCompletedEmail = ({
63
62
  )}
64
63
  </FeatureBox>
65
64
 
66
- <Section
67
- style={{
68
- padding: "16px 0 16px 20px",
69
- margin: "24px 0",
70
- borderLeft: `4px solid ${colors.accent}`,
71
- }}
72
- >
73
- <Text
74
- style={{
75
- color: colors.textMuted,
76
- fontSize: "15px",
77
- lineHeight: "22px",
78
- fontStyle: "italic" as const,
79
- margin: "0",
80
- }}
81
- >
82
- "The secret of getting ahead is getting started." - Mark Twain
83
- </Text>
84
- </Section>
85
-
86
65
  <Paragraph>
87
- You've taken the first step towards your fitness goals. Keep showing up,
88
- stay consistent, and watch yourself grow stronger every day.
66
+ You've taken the first step towards standardizing how you train.
67
+ The next workout you track will help you see if you are progressing or regressing.
89
68
  </Paragraph>
90
69
 
91
70
  <PrimaryButton href={workoutHistoryUrl}>View Your Progress</PrimaryButton>
92
71
 
93
72
  <TipBox title="Pro Tip">
94
- Track every workout to see your progress over time. The data you collect
95
- now will help you understand how far you've come in the weeks and months
96
- ahead.
73
+ Want to track warm ups and intensity measures? Check out settings in the app
74
+ to enable these advanced tracking features.
97
75
  </TipBox>
98
76
 
99
77
  <DiscordButton />
@@ -9,7 +9,7 @@ import {
9
9
  FeatureList,
10
10
  PrimaryButton,
11
11
  DiscordButton,
12
- } from "../components";
12
+ } from "../components/index.js";
13
13
 
14
14
  interface InactiveReengagementEmailProps {
15
15
  userName: string;
@@ -28,11 +28,11 @@ export const InactiveReengagementEmail = ({
28
28
  }: InactiveReengagementEmailProps) => {
29
29
  const getMessage = () => {
30
30
  if (daysInactive >= 30) {
31
- return "It's been a while! Your fitness journey is waiting for you.";
31
+ return "It's been a while! We're here ready to help you standardize your training.";
32
32
  } else if (daysInactive >= 14) {
33
- return "We noticed you've been away. Ready to get back on track?";
33
+ return "We've been working on exciting new features while you've been away.";
34
34
  } else {
35
- return "Hey, we miss you! Your workout streak is waiting to be continued.";
35
+ return "Rest time is up, let's get back to it.";
36
36
  }
37
37
  };
38
38
 
@@ -40,7 +40,7 @@ export const InactiveReengagementEmail = ({
40
40
  <EmailLayout preview={`We miss you, ${userName}! Come back to Tracked`}>
41
41
  <EmailHeader />
42
42
 
43
- <Heading>We Miss You!</Heading>
43
+ <Heading>Come back to Tracked!</Heading>
44
44
  <Paragraph>
45
45
  Hi {userName}, it's been {daysInactive} days since your last workout.{" "}
46
46
  {getMessage()}
@@ -65,10 +65,10 @@ export const InactiveReengagementEmail = ({
65
65
  />
66
66
  </FeatureBox>
67
67
 
68
- <PrimaryButton href={appUrl}>Log a Workout</PrimaryButton>
68
+ <PrimaryButton href={appUrl}>Get Tracking</PrimaryButton>
69
69
 
70
70
  <Paragraph muted>
71
- Remember: consistency beats perfection. Even a 10-minute session counts!
71
+ Remember: consistency beats perfection. Putting even just a little effort into tracking helps you stay accountable and see progress over time.
72
72
  </Paragraph>
73
73
 
74
74
  <DiscordButton />
@@ -1,24 +1,24 @@
1
- export * from "./anniversary";
2
- export * from "./app-review-request";
3
- export * from "./bodyweight-goal-reached";
4
- export * from "./client-inactive-alert";
5
- export * from "./client-onboarded";
6
- export * from "./coach-invite";
7
- export * from "./coach-removed-client";
8
- export * from "./direct-message";
9
- export * from "./feature-discovery";
10
- export * from "./first-workout-assigned";
11
- export * from "./first-workout-completed";
12
- export * from "./inactive-reengagement";
13
- export * from "./monthly-report";
14
- export * from "./new-follower";
15
- export * from "./nps-survey";
16
- export * from "./subscription-canceled";
17
- export * from "./support-email";
18
- export * from "./team-invite";
19
- export * from "./team-member-removed-email";
20
- export * from "./tracked-magic-link";
21
- export * from "./tracked-magic-link-activate";
22
- export * from "./week-one-checkin";
23
- export * from "./weekly-progress-digest";
24
- export * from "./welcome";
1
+ export * from "./anniversary.js";
2
+ export * from "./app-review-request.js";
3
+ export * from "./bodyweight-goal-reached.js";
4
+ export * from "./client-inactive-alert.js";
5
+ export * from "./client-onboarded.js";
6
+ export * from "./coach-invite.js";
7
+ export * from "./coach-removed-client.js";
8
+ export * from "./direct-message.js";
9
+ export * from "./feature-discovery.js";
10
+ export * from "./first-workout-assigned.js";
11
+ export * from "./first-workout-completed.js";
12
+ export * from "./inactive-reengagement.js";
13
+ export * from "./monthly-report.js";
14
+ export * from "./new-follower.js";
15
+ export * from "./nps-survey.js";
16
+ export * from "./subscription-canceled.js";
17
+ export * from "./support-email.js";
18
+ export * from "./team-invite.js";
19
+ export * from "./team-member-removed-email.js";
20
+ export * from "./tracked-magic-link.js";
21
+ export * from "./tracked-magic-link-activate.js";
22
+ export * from "./week-one-checkin.js";
23
+ export * from "./weekly-progress-digest.js";
24
+ export * from "./welcome.js";
@@ -12,7 +12,7 @@ import {
12
12
  HighlightBanner,
13
13
  SmallText,
14
14
  colors,
15
- } from "../components";
15
+ } from "../components/index.js";
16
16
 
17
17
  interface MuscleGroup {
18
18
  muscleGroupId: string;
@@ -11,7 +11,7 @@ import {
11
11
  PrimaryButton,
12
12
  DiscordButton,
13
13
  colors,
14
- } from "../components";
14
+ } from "../components/index.js";
15
15
 
16
16
  interface NewFollowerEmailProps {
17
17
  userName: string;
@@ -9,7 +9,7 @@ import {
9
9
  colors,
10
10
  spacing,
11
11
  borderRadius,
12
- } from "../components";
12
+ } from "../components/index.js";
13
13
 
14
14
  interface NpsSurveyEmailProps {
15
15
  userName: string;
@@ -12,7 +12,7 @@ import {
12
12
  SecondaryButton,
13
13
  DiscordButton,
14
14
  colors,
15
- } from "../components";
15
+ } from "../components/index.js";
16
16
 
17
17
  interface SubscriptionCanceledEmailProps {
18
18
  userName: string;
@@ -7,7 +7,7 @@ import {
7
7
  FeatureBox,
8
8
  SmallText,
9
9
  DiscordButton,
10
- } from "../components";
10
+ } from "../components/index.js";
11
11
 
12
12
  interface SupportEmailProps {
13
13
  email: string;
@@ -9,7 +9,7 @@ import {
9
9
  PrimaryButton,
10
10
  DiscordButton,
11
11
  TextLink,
12
- } from "../components";
12
+ } from "../components/index.js";
13
13
 
14
14
  interface TeamInviteEmailProps {
15
15
  teamName?: string;
@@ -7,7 +7,7 @@ import {
7
7
  Paragraph,
8
8
  DiscordButton,
9
9
  TextLink,
10
- } from "../components";
10
+ } from "../components/index.js";
11
11
 
12
12
  interface TeamMemberRemovedEmailProps {
13
13
  teamName?: string;
@@ -7,7 +7,7 @@ import {
7
7
  PrimaryButton,
8
8
  DiscordButton,
9
9
  TextLink,
10
- } from "../components";
10
+ } from "../components/index.js";
11
11
 
12
12
  interface Props {
13
13
  activateButtonLink: string;
@@ -7,7 +7,7 @@ import {
7
7
  PrimaryButton,
8
8
  DiscordButton,
9
9
  TextLink,
10
- } from "../components";
10
+ } from "../components/index.js";
11
11
 
12
12
  interface Props {
13
13
  loginButtonLink: string;
@@ -14,7 +14,7 @@ import {
14
14
  DiscordButton,
15
15
  TextLink,
16
16
  colors,
17
- } from "../components";
17
+ } from "../components/index.js";
18
18
 
19
19
  interface WeekOneCheckinEmailProps {
20
20
  userName: string;
@@ -108,11 +108,11 @@ export const WeekOneCheckinEmail = ({
108
108
  )}
109
109
 
110
110
  <PrimaryButton href={appUrl}>
111
- {isActive ? "Continue Your Journey" : "Log Your First Workout"}
111
+ {isActive ? "Continue Tracking" : "Log Your First Workout"}
112
112
  </PrimaryButton>
113
113
 
114
114
  <TipBox title="Need Help?">
115
- Our support team is here to help you get the most out of Tracked.
115
+ Our team is here to help you get the most out of Tracked.
116
116
  {supportUrl && (
117
117
  <>
118
118
  {" "}
@@ -11,7 +11,7 @@ import {
11
11
  colors,
12
12
  spacing,
13
13
  borderRadius,
14
- } from "../components";
14
+ } from "../components/index.js";
15
15
 
16
16
  interface WeeklyProgressDigestEmailProps {
17
17
  userName: string;
@@ -7,10 +7,10 @@ import {
7
7
  Paragraph,
8
8
  FeatureBox,
9
9
  FeatureList,
10
- TipBox,
11
10
  PrimaryButton,
12
11
  DiscordButton,
13
- } from "../components";
12
+ } from "../components/index.js";
13
+ import { Img } from "@react-email/components";
14
14
 
15
15
  interface WelcomeEmailProps {
16
16
  userName: string;
@@ -56,12 +56,22 @@ export const WelcomeEmail = ({
56
56
  />
57
57
  </FeatureBox>
58
58
 
59
- <PrimaryButton href={appUrl}>Open the App</PrimaryButton>
59
+ <PrimaryButton href={appUrl}>Get Tracking</PrimaryButton>
60
60
 
61
- <TipBox>
62
- Consistency is key to seeing results, and we make it easy to track your
63
- progress every step of the way. Try your best to STAY IN THE GREEN!
64
- </TipBox>
61
+ <Heading>A Message from the Founders</Heading>
62
+ <Paragraph>
63
+ We started Tracked because we believe everyone deserves access to
64
+ world-class training tools. As athletes ourselves, we recognize the importance tracking has on your training.
65
+ We genuinely appreciate the support,
66
+ and we're committed to building the best possible experience for you.
67
+ With gratitude, Keenan & Jackson
68
+ </Paragraph>
69
+
70
+ <Img
71
+ src="https://cdn.trckd.ca/assets/348E45F2-A1E4-4B5B-9239-77CF9BF5B782.png"
72
+ alt="Founders of Tracked"
73
+ style={{ width: "100%", marginTop: "24px" }}
74
+ />
65
75
 
66
76
  <DiscordButton />
67
77
 
@@ -8,6 +8,6 @@ export {
8
8
  isPrivateRelayEmail,
9
9
  isValidEmailFormat,
10
10
  shouldSendEmailTo,
11
- } from "./email-validation";
11
+ } from "./email-validation.js";
12
12
 
13
- export { isAnonymousUsername, getSafeDisplayName } from "./username-validation";
13
+ export { isAnonymousUsername, getSafeDisplayName } from "./username-validation.js";