@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.
- package/dist/components/content.js +1 -1
- package/dist/components/content.js.map +1 -1
- package/dist/components/index.d.ts +5 -5
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +5 -5
- package/dist/components/index.js.map +1 -1
- package/dist/components/interactive.js +1 -1
- package/dist/components/interactive.js.map +1 -1
- package/dist/components/layout.js +2 -2
- package/dist/components/layout.js.map +1 -1
- package/dist/components/typography.js +1 -1
- package/dist/components/typography.js.map +1 -1
- package/dist/emails/anniversary.js +1 -1
- package/dist/emails/anniversary.js.map +1 -1
- package/dist/emails/app-review-request.js +1 -1
- package/dist/emails/app-review-request.js.map +1 -1
- package/dist/emails/bodyweight-goal-reached.js +1 -1
- package/dist/emails/bodyweight-goal-reached.js.map +1 -1
- package/dist/emails/client-inactive-alert.js +1 -1
- package/dist/emails/client-inactive-alert.js.map +1 -1
- package/dist/emails/client-onboarded.js +1 -1
- package/dist/emails/client-onboarded.js.map +1 -1
- package/dist/emails/coach-invite.js +1 -1
- package/dist/emails/coach-invite.js.map +1 -1
- package/dist/emails/coach-removed-client.js +1 -1
- package/dist/emails/coach-removed-client.js.map +1 -1
- package/dist/emails/direct-message.js +1 -1
- package/dist/emails/direct-message.js.map +1 -1
- package/dist/emails/feature-discovery.js +1 -1
- package/dist/emails/feature-discovery.js.map +1 -1
- package/dist/emails/first-workout-assigned.js +1 -1
- package/dist/emails/first-workout-assigned.js.map +1 -1
- package/dist/emails/first-workout-completed.d.ts.map +1 -1
- package/dist/emails/first-workout-completed.js +2 -12
- package/dist/emails/first-workout-completed.js.map +1 -1
- package/dist/emails/inactive-reengagement.js +6 -6
- package/dist/emails/inactive-reengagement.js.map +1 -1
- package/dist/emails/index.d.ts +24 -24
- package/dist/emails/index.d.ts.map +1 -1
- package/dist/emails/index.js +24 -24
- package/dist/emails/index.js.map +1 -1
- package/dist/emails/monthly-report.js +1 -1
- package/dist/emails/monthly-report.js.map +1 -1
- package/dist/emails/new-follower.js +1 -1
- package/dist/emails/new-follower.js.map +1 -1
- package/dist/emails/nps-survey.js +1 -1
- package/dist/emails/nps-survey.js.map +1 -1
- package/dist/emails/subscription-canceled.js +1 -1
- package/dist/emails/subscription-canceled.js.map +1 -1
- package/dist/emails/support-email.js +1 -1
- package/dist/emails/support-email.js.map +1 -1
- package/dist/emails/team-invite.js +1 -1
- package/dist/emails/team-invite.js.map +1 -1
- package/dist/emails/team-member-removed-email.js +1 -1
- package/dist/emails/team-member-removed-email.js.map +1 -1
- package/dist/emails/tracked-magic-link-activate.js +1 -1
- package/dist/emails/tracked-magic-link-activate.js.map +1 -1
- package/dist/emails/tracked-magic-link.js +1 -1
- package/dist/emails/tracked-magic-link.js.map +1 -1
- package/dist/emails/week-one-checkin.js +2 -2
- package/dist/emails/week-one-checkin.js.map +1 -1
- package/dist/emails/weekly-progress-digest.js +1 -1
- package/dist/emails/weekly-progress-digest.js.map +1 -1
- package/dist/emails/welcome.d.ts.map +1 -1
- package/dist/emails/welcome.js +3 -2
- package/dist/emails/welcome.js.map +1 -1
- package/dist/utils/index.d.ts +2 -2
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/index.js +2 -2
- package/dist/utils/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/content.tsx +1 -1
- package/src/components/index.ts +5 -5
- package/src/components/interactive.tsx +1 -1
- package/src/components/layout.tsx +2 -2
- package/src/components/typography.tsx +1 -1
- package/src/emails/anniversary.tsx +1 -1
- package/src/emails/app-review-request.tsx +1 -1
- package/src/emails/bodyweight-goal-reached.tsx +1 -1
- package/src/emails/client-inactive-alert.tsx +1 -1
- package/src/emails/client-onboarded.tsx +1 -1
- package/src/emails/coach-invite.tsx +1 -1
- package/src/emails/coach-removed-client.tsx +1 -1
- package/src/emails/direct-message.tsx +1 -1
- package/src/emails/feature-discovery.tsx +1 -1
- package/src/emails/first-workout-assigned.tsx +1 -1
- package/src/emails/first-workout-completed.tsx +6 -28
- package/src/emails/inactive-reengagement.tsx +7 -7
- package/src/emails/index.tsx +24 -24
- package/src/emails/monthly-report.tsx +1 -1
- package/src/emails/new-follower.tsx +1 -1
- package/src/emails/nps-survey.tsx +1 -1
- package/src/emails/subscription-canceled.tsx +1 -1
- package/src/emails/support-email.tsx +1 -1
- package/src/emails/team-invite.tsx +1 -1
- package/src/emails/team-member-removed-email.tsx +1 -1
- package/src/emails/tracked-magic-link-activate.tsx +1 -1
- package/src/emails/tracked-magic-link.tsx +1 -1
- package/src/emails/week-one-checkin.tsx +3 -3
- package/src/emails/weekly-progress-digest.tsx +1 -1
- package/src/emails/welcome.tsx +17 -7
- package/src/utils/index.ts +2 -2
|
@@ -11,8 +11,7 @@ import {
|
|
|
11
11
|
SmallText,
|
|
12
12
|
PrimaryButton,
|
|
13
13
|
DiscordButton,
|
|
14
|
-
|
|
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.
|
|
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
|
|
88
|
-
|
|
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
|
-
|
|
95
|
-
|
|
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!
|
|
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
|
|
33
|
+
return "We've been working on exciting new features while you've been away.";
|
|
34
34
|
} else {
|
|
35
|
-
return "
|
|
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>
|
|
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}>
|
|
68
|
+
<PrimaryButton href={appUrl}>Get Tracking</PrimaryButton>
|
|
69
69
|
|
|
70
70
|
<Paragraph muted>
|
|
71
|
-
Remember: consistency beats perfection.
|
|
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 />
|
package/src/emails/index.tsx
CHANGED
|
@@ -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";
|
|
@@ -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
|
|
111
|
+
{isActive ? "Continue Tracking" : "Log Your First Workout"}
|
|
112
112
|
</PrimaryButton>
|
|
113
113
|
|
|
114
114
|
<TipBox title="Need Help?">
|
|
115
|
-
Our
|
|
115
|
+
Our team is here to help you get the most out of Tracked.
|
|
116
116
|
{supportUrl && (
|
|
117
117
|
<>
|
|
118
118
|
{" "}
|
package/src/emails/welcome.tsx
CHANGED
|
@@ -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}>
|
|
59
|
+
<PrimaryButton href={appUrl}>Get Tracking</PrimaryButton>
|
|
60
60
|
|
|
61
|
-
<
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
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
|
|
package/src/utils/index.ts
CHANGED
|
@@ -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";
|