@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.
- package/dist/components/content.d.ts +58 -0
- package/dist/components/content.d.ts.map +1 -0
- package/dist/components/content.js +166 -0
- package/dist/components/content.js.map +1 -0
- package/dist/components/index.d.ts +6 -0
- package/dist/components/index.d.ts.map +1 -0
- package/dist/components/index.js +11 -0
- package/dist/components/index.js.map +1 -0
- package/dist/components/interactive.d.ts +23 -0
- package/dist/components/interactive.d.ts.map +1 -0
- package/dist/components/interactive.js +66 -0
- package/dist/components/interactive.js.map +1 -0
- package/dist/components/layout.d.ts +27 -0
- package/dist/components/layout.d.ts.map +1 -0
- package/dist/components/layout.js +83 -0
- package/dist/components/layout.js.map +1 -0
- package/dist/components/tokens.d.ts +58 -0
- package/dist/components/tokens.d.ts.map +1 -0
- package/dist/components/tokens.js +64 -0
- package/dist/components/tokens.js.map +1 -0
- package/dist/components/typography.d.ts +31 -0
- package/dist/components/typography.d.ts.map +1 -0
- package/dist/components/typography.js +72 -0
- package/dist/components/typography.js.map +1 -0
- package/dist/emails/anniversary.d.ts +12 -0
- package/dist/emails/anniversary.d.ts.map +1 -0
- package/dist/emails/anniversary.js +41 -0
- package/dist/emails/anniversary.js.map +1 -0
- package/dist/emails/app-review-request.d.ts +11 -0
- package/dist/emails/app-review-request.d.ts.map +1 -0
- package/dist/emails/app-review-request.js +24 -0
- package/dist/emails/app-review-request.js.map +1 -0
- package/dist/emails/bodyweight-goal-reached.d.ts +1 -1
- package/dist/emails/bodyweight-goal-reached.d.ts.map +1 -1
- package/dist/emails/bodyweight-goal-reached.js +86 -159
- package/dist/emails/bodyweight-goal-reached.js.map +1 -1
- package/dist/emails/client-inactive-alert.d.ts +14 -0
- package/dist/emails/client-inactive-alert.d.ts.map +1 -0
- package/dist/emails/client-inactive-alert.js +34 -0
- package/dist/emails/client-inactive-alert.js.map +1 -0
- package/dist/emails/client-onboarded.d.ts.map +1 -1
- package/dist/emails/client-onboarded.js +37 -123
- package/dist/emails/client-onboarded.js.map +1 -1
- package/dist/emails/coach-invite.d.ts +1 -1
- package/dist/emails/coach-invite.d.ts.map +1 -1
- package/dist/emails/coach-invite.js +13 -121
- package/dist/emails/coach-invite.js.map +1 -1
- package/dist/emails/coach-removed-client.d.ts +1 -1
- package/dist/emails/coach-removed-client.d.ts.map +1 -1
- package/dist/emails/coach-removed-client.js +3 -76
- package/dist/emails/coach-removed-client.js.map +1 -1
- package/dist/emails/direct-message.d.ts +1 -1
- package/dist/emails/direct-message.d.ts.map +1 -1
- package/dist/emails/direct-message.js +22 -96
- package/dist/emails/direct-message.js.map +1 -1
- package/dist/emails/feature-discovery.d.ts +2 -1
- package/dist/emails/feature-discovery.d.ts.map +1 -1
- package/dist/emails/feature-discovery.js +20 -117
- package/dist/emails/feature-discovery.js.map +1 -1
- package/dist/emails/first-workout-assigned.d.ts +1 -1
- package/dist/emails/first-workout-assigned.d.ts.map +1 -1
- package/dist/emails/first-workout-assigned.js +3 -94
- package/dist/emails/first-workout-assigned.js.map +1 -1
- package/dist/emails/first-workout-completed.d.ts +1 -1
- package/dist/emails/first-workout-completed.d.ts.map +1 -1
- package/dist/emails/first-workout-completed.js +14 -125
- package/dist/emails/first-workout-completed.js.map +1 -1
- package/dist/emails/inactive-reengagement.d.ts +10 -0
- package/dist/emails/inactive-reengagement.d.ts.map +1 -0
- package/dist/emails/inactive-reengagement.js +31 -0
- package/dist/emails/inactive-reengagement.js.map +1 -0
- package/dist/emails/index.d.ts +20 -4
- package/dist/emails/index.d.ts.map +1 -1
- package/dist/emails/index.js +20 -4
- package/dist/emails/index.js.map +1 -1
- package/dist/emails/monthly-report.d.ts +2 -1
- package/dist/emails/monthly-report.d.ts.map +1 -1
- package/dist/emails/monthly-report.js +14 -166
- package/dist/emails/monthly-report.js.map +1 -1
- package/dist/emails/new-follower.d.ts +1 -1
- package/dist/emails/new-follower.d.ts.map +1 -1
- package/dist/emails/new-follower.js +7 -91
- package/dist/emails/new-follower.js.map +1 -1
- package/dist/emails/nps-survey.d.ts +9 -0
- package/dist/emails/nps-survey.d.ts.map +1 -0
- package/dist/emails/nps-survey.js +51 -0
- package/dist/emails/nps-survey.js.map +1 -0
- package/dist/emails/subscription-canceled.d.ts +1 -1
- package/dist/emails/subscription-canceled.d.ts.map +1 -1
- package/dist/emails/subscription-canceled.js +20 -127
- package/dist/emails/subscription-canceled.js.map +1 -1
- package/dist/emails/support-email.d.ts +1 -1
- package/dist/emails/support-email.d.ts.map +1 -1
- package/dist/emails/support-email.js +3 -38
- package/dist/emails/support-email.js.map +1 -1
- package/dist/emails/team-invite.d.ts.map +1 -1
- package/dist/emails/team-invite.js +7 -96
- package/dist/emails/team-invite.js.map +1 -1
- package/dist/emails/team-member-removed-email.d.ts +1 -1
- package/dist/emails/team-member-removed-email.d.ts.map +1 -1
- package/dist/emails/team-member-removed-email.js +3 -93
- package/dist/emails/team-member-removed-email.js.map +1 -1
- package/dist/emails/tracked-magic-link-activate.d.ts +2 -2
- package/dist/emails/tracked-magic-link-activate.d.ts.map +1 -1
- package/dist/emails/tracked-magic-link-activate.js +3 -91
- package/dist/emails/tracked-magic-link-activate.js.map +1 -1
- package/dist/emails/tracked-magic-link.d.ts +3 -3
- package/dist/emails/tracked-magic-link.d.ts.map +1 -1
- package/dist/emails/tracked-magic-link.js +3 -99
- package/dist/emails/tracked-magic-link.js.map +1 -1
- package/dist/emails/week-one-checkin.d.ts +3 -2
- package/dist/emails/week-one-checkin.d.ts.map +1 -1
- package/dist/emails/week-one-checkin.js +22 -136
- package/dist/emails/week-one-checkin.js.map +1 -1
- package/dist/emails/weekly-progress-digest.d.ts +21 -0
- package/dist/emails/weekly-progress-digest.d.ts.map +1 -0
- package/dist/emails/weekly-progress-digest.js +78 -0
- package/dist/emails/weekly-progress-digest.js.map +1 -0
- package/dist/emails/welcome.d.ts +3 -2
- package/dist/emails/welcome.d.ts.map +1 -1
- package/dist/emails/welcome.js +16 -142
- package/dist/emails/welcome.js.map +1 -1
- package/dist/index.d.ts +8 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +11 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/emails/index.tsx +20 -4
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"team-invite.js","sourceRoot":"","sources":["../../src/emails/team-invite.tsx"],"names":[],"mappings":";AACA,OAAO,
|
|
1
|
+
{"version":3,"file":"team-invite.js","sourceRoot":"","sources":["../../src/emails/team-invite.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,GAAG,EAAE,MAAM,yBAAyB,CAAC;AAC9C,OAAO,EACL,WAAW,EACX,WAAW,EACX,WAAW,EACX,OAAO,EACP,SAAS,EACT,aAAa,EACb,aAAa,EACb,QAAQ,GACT,MAAM,eAAe,CAAC;AAWvB,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,EAC9B,QAAQ,GAAG,uBAAuB,EAClC,QAAQ,GAAG,SAAS,EACpB,UAAU,GAAG,oBAAoB,EACjC,SAAS,GAAG,wCAAwC,EACpD,cAAc,GAAG,uCAAuC,GACnC,EAAE,EAAE;IACzB,OAAO,CACL,MAAC,WAAW,IAAC,OAAO,EAAE,mBAAmB,QAAQ,EAAE,aACjD,KAAC,WAAW,KAAG,EAEd,SAAS,IAAI,CACZ,KAAC,GAAG,IACF,GAAG,EAAE,SAAS,EACd,MAAM,EAAC,IAAI,EACX,GAAG,EAAE,QAAQ,EACb,KAAK,EAAE;oBACL,MAAM,EAAE,aAAa;oBACrB,OAAO,EAAE,OAAO;iBACjB,GACD,CACH,EAED,MAAC,OAAO,sCAAqB,QAAQ,IAAW,EAChD,MAAC,SAAS,sCACW,2BAAS,QAAQ,GAAU,sCAEpC,EAEZ,KAAC,aAAa,IAAC,IAAI,EAAE,cAAc,IAAI,GAAG,EAAE,SAAS,gCAErC,EAEhB,MAAC,SAAS,2IAE4C,GAAG,EACvD,KAAC,QAAQ,IAAC,IAAI,EAAE,UAAU,wBAAoB,SACpC,EAEZ,KAAC,aAAa,KAAG,EAEjB,KAAC,WAAW,IAAC,UAAU,EAAE,UAAU,GAAI,IAC3B,CACf,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,eAAe,CAAC"}
|
|
@@ -3,6 +3,6 @@ interface TeamMemberRemovedEmailProps {
|
|
|
3
3
|
websiteUrl?: string;
|
|
4
4
|
teamImage?: string;
|
|
5
5
|
}
|
|
6
|
-
export declare const TeamMemberRemovedEmail: ({ teamName, websiteUrl,
|
|
6
|
+
export declare const TeamMemberRemovedEmail: ({ teamName, websiteUrl, }: TeamMemberRemovedEmailProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
7
|
export default TeamMemberRemovedEmail;
|
|
8
8
|
//# sourceMappingURL=team-member-removed-email.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"team-member-removed-email.d.ts","sourceRoot":"","sources":["../../src/emails/team-member-removed-email.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"team-member-removed-email.d.ts","sourceRoot":"","sources":["../../src/emails/team-member-removed-email.tsx"],"names":[],"mappings":"AAWA,UAAU,2BAA2B;IACnC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,sBAAsB,GAAI,2BAGpC,2BAA2B,4CAsB7B,CAAC;AAEF,eAAe,sBAAsB,CAAC"}
|
|
@@ -1,97 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
3
|
-
const
|
|
4
|
-
|
|
5
|
-
return (_jsxs(Html, { children: [_jsx(Head, {}), _jsx(Preview, { children: "Removed from the team" }), _jsx(Body, { style: main, children: _jsx(Container, { style: container, children: _jsxs(Section, { style: box, children: [_jsx(Img, { src: `${baseUrl}`, width: "40", height: "40", alt: "Tracked" }), _jsx(Hr, { style: hr }), _jsx(Text, { style: heading, children: "Team membership revoked" }), _jsx(Text, { style: paragraph, children: "The team owner has removed you from the team. If you believe this was a mistake, please contact the team owner." }), _jsxs(Text, { style: { ...paragraph }, children: ["If this email was not expected, please ignore it. You can learn more about the Tracked Training Platform by visiting our", " ", _jsx(Link, { style: anchor, href: websiteUrl, children: "website" }), "."] }), _jsxs(Row, { style: row, children: [_jsx(Column, { style: column, children: _jsx(Button, { style: appButton, href: "https://apps.apple.com/app/tracked-training/id6450913418", children: _jsx(Img, { src: "https://cdn.trckd.ca/assets/app-store-black.png", alt: "Download on the App Store", style: img }) }) }), _jsx(Column, { style: column, children: _jsx(Button, { style: appButton, href: "https://play.google.com/store/apps/details?id=com.tracked.mobile", children: _jsx(Img, { src: "https://play.google.com/intl/en_us/badges/static/images/badges/en_badge_web_generic.png", alt: "Google Play", style: img }) }) })] }), _jsx("div", { style: {
|
|
6
|
-
textAlign: "left",
|
|
7
|
-
margin: "24px 0",
|
|
8
|
-
}, children: _jsx("a", { href: "https://www.discord.gg/trackedgg", style: {
|
|
9
|
-
backgroundColor: "#5865F2",
|
|
10
|
-
borderRadius: "8px",
|
|
11
|
-
fontSize: "16px",
|
|
12
|
-
fontWeight: "bold",
|
|
13
|
-
textDecoration: "none",
|
|
14
|
-
padding: "12px 32px",
|
|
15
|
-
display: "inline-block",
|
|
16
|
-
}, 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: "https://tracked.gg/terms", style: { ...footer, paddingRight: 10 }, children: "Terms" }), _jsx(Link, { style: { ...footer, paddingRight: 10 }, children: " | " }), _jsx(Link, { href: "https://tracked.gg/privacy", style: { ...footer, paddingRight: 10 }, children: "Privacy" }), _jsx(Link, { style: { ...footer, paddingRight: 10 }, children: " | " }), _jsx(Link, { href: "https://tracked.gg/support", style: { ...footer, paddingRight: 10 }, children: "Support" })] }), _jsx(Text, { style: footer, children: "This is a service notification by the Tracked Training Platform." })] }) }) })] }));
|
|
2
|
+
import { EmailLayout, EmailHeader, EmailFooter, Heading, Paragraph, DiscordButton, TextLink, } from "../components";
|
|
3
|
+
export const TeamMemberRemovedEmail = ({ teamName = "Team Tracked Training", websiteUrl = "https://tracked.gg", }) => {
|
|
4
|
+
return (_jsxs(EmailLayout, { preview: "Removed from the team", children: [_jsx(EmailHeader, {}), _jsx(Heading, { children: "Team membership revoked" }), _jsx(Paragraph, { children: "The team owner has removed you from the team. If you believe this was a mistake, please contact the team owner." }), _jsxs(Paragraph, { children: ["If this email was not expected, please ignore it. You can learn more about the Tracked Training Platform by visiting our", " ", _jsx(TextLink, { href: websiteUrl, children: "website" }), "."] }), _jsx(DiscordButton, {}), _jsx(EmailFooter, { websiteUrl: websiteUrl })] }));
|
|
17
5
|
};
|
|
18
6
|
export default TeamMemberRemovedEmail;
|
|
19
|
-
const main = {
|
|
20
|
-
backgroundColor: "#1e293b",
|
|
21
|
-
fontFamily: '-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Ubuntu,sans-serif',
|
|
22
|
-
};
|
|
23
|
-
const container = {
|
|
24
|
-
backgroundColor: "#0f172a",
|
|
25
|
-
margin: "0 auto",
|
|
26
|
-
padding: "20px 0 48px",
|
|
27
|
-
marginBottom: "64px",
|
|
28
|
-
borderRadius: "5px",
|
|
29
|
-
};
|
|
30
|
-
const box = {
|
|
31
|
-
padding: "0 48px",
|
|
32
|
-
};
|
|
33
|
-
const row = {
|
|
34
|
-
display: "flex",
|
|
35
|
-
flexDirection: "row",
|
|
36
|
-
};
|
|
37
|
-
const column = {
|
|
38
|
-
flex: "0 0 48%",
|
|
39
|
-
"@media (maxWidth: 600px)": {
|
|
40
|
-
flex: "0 0 100%",
|
|
41
|
-
marginBottom: "10px",
|
|
42
|
-
},
|
|
43
|
-
};
|
|
44
|
-
const img = {
|
|
45
|
-
maxWidth: "100%",
|
|
46
|
-
height: "auto",
|
|
47
|
-
};
|
|
48
|
-
const appButton = {
|
|
49
|
-
backgroundColor: "transparent",
|
|
50
|
-
borderRadius: "5px",
|
|
51
|
-
color: "#ffffff",
|
|
52
|
-
fontSize: "16px",
|
|
53
|
-
fontWeight: "bold",
|
|
54
|
-
textDecoration: "none",
|
|
55
|
-
textAlign: "center",
|
|
56
|
-
display: "block",
|
|
57
|
-
width: "100%",
|
|
58
|
-
maxWidth: "150px",
|
|
59
|
-
};
|
|
60
|
-
const hr = {
|
|
61
|
-
borderColor: "#475569",
|
|
62
|
-
margin: "20px 0",
|
|
63
|
-
};
|
|
64
|
-
const paragraph = {
|
|
65
|
-
color: "#e2e8f0",
|
|
66
|
-
fontSize: "16px",
|
|
67
|
-
lineHeight: "24px",
|
|
68
|
-
textAlign: "left",
|
|
69
|
-
};
|
|
70
|
-
const heading = {
|
|
71
|
-
color: "#e2e8f0",
|
|
72
|
-
fontSize: "24px",
|
|
73
|
-
lineHeight: "32px",
|
|
74
|
-
fontWeight: "bold",
|
|
75
|
-
textAlign: "left",
|
|
76
|
-
};
|
|
77
|
-
const anchor = {
|
|
78
|
-
color: "#4ade80",
|
|
79
|
-
};
|
|
80
|
-
const button = {
|
|
81
|
-
backgroundColor: "#4ade80",
|
|
82
|
-
borderRadius: "5px",
|
|
83
|
-
color: "#0f172a",
|
|
84
|
-
fontSize: "16px",
|
|
85
|
-
fontWeight: "bold",
|
|
86
|
-
textDecoration: "none",
|
|
87
|
-
textAlign: "center",
|
|
88
|
-
display: "block",
|
|
89
|
-
width: "100%",
|
|
90
|
-
padding: "16px 0",
|
|
91
|
-
};
|
|
92
|
-
const footer = {
|
|
93
|
-
color: "#8898aa",
|
|
94
|
-
fontSize: "12px",
|
|
95
|
-
lineHeight: "16px",
|
|
96
|
-
};
|
|
97
7
|
//# sourceMappingURL=team-member-removed-email.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"team-member-removed-email.js","sourceRoot":"","sources":["../../src/emails/team-member-removed-email.tsx"],"names":[],"mappings":";AACA,OAAO,EACL,
|
|
1
|
+
{"version":3,"file":"team-member-removed-email.js","sourceRoot":"","sources":["../../src/emails/team-member-removed-email.tsx"],"names":[],"mappings":";AACA,OAAO,EACL,WAAW,EACX,WAAW,EACX,WAAW,EACX,OAAO,EACP,SAAS,EACT,aAAa,EACb,QAAQ,GACT,MAAM,eAAe,CAAC;AAQvB,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,EACrC,QAAQ,GAAG,uBAAuB,EAClC,UAAU,GAAG,oBAAoB,GACL,EAAE,EAAE;IAChC,OAAO,CACL,MAAC,WAAW,IAAC,OAAO,EAAC,uBAAuB,aAC1C,KAAC,WAAW,KAAG,EAEf,KAAC,OAAO,0CAAkC,EAC1C,KAAC,SAAS,kIAGE,EAEZ,MAAC,SAAS,2IAE4C,GAAG,EACvD,KAAC,QAAQ,IAAC,IAAI,EAAE,UAAU,wBAAoB,SACpC,EAEZ,KAAC,aAAa,KAAG,EAEjB,KAAC,WAAW,IAAC,UAAU,EAAE,UAAU,GAAI,IAC3B,CACf,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,sBAAsB,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
interface Props {
|
|
2
2
|
activateButtonLink: string;
|
|
3
|
-
websiteUrl
|
|
3
|
+
websiteUrl?: string;
|
|
4
4
|
}
|
|
5
5
|
export declare const TrackedMagicLinkActivate: ({ activateButtonLink, websiteUrl, }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
-
export
|
|
6
|
+
export default TrackedMagicLinkActivate;
|
|
7
7
|
//# sourceMappingURL=tracked-magic-link-activate.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tracked-magic-link-activate.d.ts","sourceRoot":"","sources":["../../src/emails/tracked-magic-link-activate.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"tracked-magic-link-activate.d.ts","sourceRoot":"","sources":["../../src/emails/tracked-magic-link-activate.tsx"],"names":[],"mappings":"AAWA,UAAU,KAAK;IACb,kBAAkB,EAAE,MAAM,CAAC;IAC3B,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,eAAO,MAAM,wBAAwB,GAAI,qCAGtC,KAAK,4CAsBP,CAAC;AAEF,eAAe,wBAAwB,CAAC"}
|
|
@@ -1,93 +1,5 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
3
|
-
const
|
|
4
|
-
export
|
|
5
|
-
fontSize: "28px",
|
|
6
|
-
fontWeight: "900",
|
|
7
|
-
fontFamily: "Raleway, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif",
|
|
8
|
-
color: "#020617",
|
|
9
|
-
margin: "0",
|
|
10
|
-
lineHeight: "32px",
|
|
11
|
-
letterSpacing: "0.5px",
|
|
12
|
-
}, children: "TRACKED" }) })] }), _jsx(Hr, { style: hr }), _jsx(Text, { style: paragraph, children: "Welcome to Tracked!" }), _jsx(Text, { style: paragraph, children: "Press the button below to confirm your Tracked account email. You will be redirected to the app." }), _jsx("div", { style: { marginTop: "24px", marginBottom: "24px", textAlign: "left" }, children: _jsx("a", { href: activateButtonLink, style: {
|
|
13
|
-
backgroundColor: "#0f172a",
|
|
14
|
-
borderRadius: "8px",
|
|
15
|
-
fontSize: "16px",
|
|
16
|
-
fontWeight: "bold",
|
|
17
|
-
textDecoration: "none",
|
|
18
|
-
padding: "12px 32px",
|
|
19
|
-
display: "inline-block",
|
|
20
|
-
}, children: _jsx("span", { style: { color: "#ffffff", textDecoration: "none" }, children: "Confirm Email" }) }) }), _jsxs(Text, { style: { ...paragraph }, children: ["If this email was not expected, please ignore it. You can learn more about the Tracked Training Platform by visiting our", " ", _jsx(Link, { style: anchor, href: websiteUrl, children: "website" }), "."] }), _jsxs(Row, { style: row, children: [_jsx(Column, { style: column, children: _jsx(Button, { style: appButton, href: "https://apps.apple.com/app/tracked-training/id6450913418", children: _jsx(Img, { src: "https://cdn.trckd.ca/assets/app-store-black.png", alt: "Download on the App Store", style: img }) }) }), _jsx(Column, { style: column, children: _jsx(Button, { style: appButton, href: "https://play.google.com/store/apps/details?id=com.tracked.mobile", children: _jsx(Img, { src: "https://play.google.com/intl/en_us/badges/static/images/badges/en_badge_web_generic.png", alt: "Google Play", style: img }) }) })] }), _jsx("div", { style: {
|
|
21
|
-
textAlign: "left",
|
|
22
|
-
margin: "24px 0",
|
|
23
|
-
}, children: _jsx("a", { href: "https://www.discord.gg/trackedgg", style: {
|
|
24
|
-
backgroundColor: "#5865F2",
|
|
25
|
-
borderRadius: "8px",
|
|
26
|
-
fontSize: "16px",
|
|
27
|
-
fontWeight: "bold",
|
|
28
|
-
textDecoration: "none",
|
|
29
|
-
padding: "12px 32px",
|
|
30
|
-
display: "inline-block",
|
|
31
|
-
}, 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: "https://tracked.gg/terms", style: { ...footer, paddingRight: 10 }, children: "Terms" }), _jsx(Link, { style: { ...footer, paddingRight: 10 }, children: " | " }), _jsx(Link, { href: "https://tracked.gg/privacy", style: { ...footer, paddingRight: 10 }, children: "Privacy" }), _jsx(Link, { style: { ...footer, paddingRight: 10 }, children: " | " }), _jsx(Link, { href: "https://tracked.gg/support", style: { ...footer, paddingRight: 10 }, children: "Support" })] }), _jsx(Text, { style: footer, children: "This is a service notification by the Tracked Training Platform." })] }) }) })] }));
|
|
32
|
-
const main = {
|
|
33
|
-
backgroundColor: "#020617", // slate-950
|
|
34
|
-
fontFamily: '-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Ubuntu,sans-serif',
|
|
35
|
-
};
|
|
36
|
-
const container = {
|
|
37
|
-
backgroundColor: "#020617", // slate-950
|
|
38
|
-
margin: "0 auto",
|
|
39
|
-
padding: "20px 0 48px",
|
|
40
|
-
marginBottom: "64px",
|
|
41
|
-
borderRadius: "8px",
|
|
42
|
-
};
|
|
43
|
-
const box = {
|
|
44
|
-
padding: "0 24px",
|
|
45
|
-
};
|
|
46
|
-
const hr = {
|
|
47
|
-
borderColor: "#4ade80", // green-400
|
|
48
|
-
margin: "24px 0",
|
|
49
|
-
borderWidth: "1px",
|
|
50
|
-
};
|
|
51
|
-
const anchor = {
|
|
52
|
-
color: "#4ade80", // green-400
|
|
53
|
-
textDecoration: "underline",
|
|
54
|
-
};
|
|
55
|
-
const paragraph = {
|
|
56
|
-
color: "#ffffff", // white
|
|
57
|
-
fontSize: "16px",
|
|
58
|
-
lineHeight: "24px",
|
|
59
|
-
textAlign: "left",
|
|
60
|
-
};
|
|
61
|
-
const row = {
|
|
62
|
-
display: "flex",
|
|
63
|
-
flexDirection: "row",
|
|
64
|
-
};
|
|
65
|
-
const column = {
|
|
66
|
-
flex: "0 0 48%",
|
|
67
|
-
"@media (maxWidth: 600px)": {
|
|
68
|
-
flex: "0 0 100%",
|
|
69
|
-
marginBottom: "10px",
|
|
70
|
-
},
|
|
71
|
-
};
|
|
72
|
-
const img = {
|
|
73
|
-
maxWidth: "100%",
|
|
74
|
-
height: "auto",
|
|
75
|
-
};
|
|
76
|
-
const appButton = {
|
|
77
|
-
backgroundColor: "transparent",
|
|
78
|
-
borderRadius: "8px",
|
|
79
|
-
color: "#ffffff", // white
|
|
80
|
-
fontSize: "16px",
|
|
81
|
-
fontWeight: "bold",
|
|
82
|
-
textDecoration: "none",
|
|
83
|
-
textAlign: "center",
|
|
84
|
-
display: "block",
|
|
85
|
-
width: "100%",
|
|
86
|
-
maxWidth: "150px",
|
|
87
|
-
};
|
|
88
|
-
const footer = {
|
|
89
|
-
color: "#94a3b8", // slate-400 for subtle footer text
|
|
90
|
-
fontSize: "12px",
|
|
91
|
-
lineHeight: "16px",
|
|
92
|
-
};
|
|
2
|
+
import { EmailLayout, EmailHeader, EmailFooter, Paragraph, PrimaryButton, DiscordButton, TextLink, } from "../components";
|
|
3
|
+
export const TrackedMagicLinkActivate = ({ activateButtonLink = "https://tracked.gg/auth/activate?token=abc123", websiteUrl = "https://tracked.gg", }) => (_jsxs(EmailLayout, { preview: "New activation requested for Tracked - The gym tracking platform", children: [_jsx(EmailHeader, {}), _jsx(Paragraph, { children: "Welcome to Tracked!" }), _jsx(Paragraph, { children: "Press the button below to confirm your Tracked account email. You will be redirected to the app." }), _jsx(PrimaryButton, { href: activateButtonLink, children: "Confirm Email" }), _jsxs(Paragraph, { children: ["If this email was not expected, please ignore it. You can learn more about the Tracked Training Platform by visiting our", " ", _jsx(TextLink, { href: websiteUrl, children: "website" }), "."] }), _jsx(DiscordButton, {}), _jsx(EmailFooter, { websiteUrl: websiteUrl })] }));
|
|
4
|
+
export default TrackedMagicLinkActivate;
|
|
93
5
|
//# sourceMappingURL=tracked-magic-link-activate.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tracked-magic-link-activate.js","sourceRoot":"","sources":["../../src/emails/tracked-magic-link-activate.tsx"],"names":[],"mappings":";AACA,OAAO,EACL,
|
|
1
|
+
{"version":3,"file":"tracked-magic-link-activate.js","sourceRoot":"","sources":["../../src/emails/tracked-magic-link-activate.tsx"],"names":[],"mappings":";AACA,OAAO,EACL,WAAW,EACX,WAAW,EACX,WAAW,EACX,SAAS,EACT,aAAa,EACb,aAAa,EACb,QAAQ,GACT,MAAM,eAAe,CAAC;AAOvB,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,EACvC,kBAAkB,GAAG,+CAA+C,EACpE,UAAU,GAAG,oBAAoB,GAC3B,EAAE,EAAE,CAAC,CACX,MAAC,WAAW,IAAC,OAAO,EAAC,kEAAkE,aACrF,KAAC,WAAW,KAAG,EAEf,KAAC,SAAS,sCAAgC,EAC1C,KAAC,SAAS,mHAGE,EAEZ,KAAC,aAAa,IAAC,IAAI,EAAE,kBAAkB,8BAA+B,EAEtE,MAAC,SAAS,2IAEsC,GAAG,EACjD,KAAC,QAAQ,IAAC,IAAI,EAAE,UAAU,wBAAoB,SACpC,EAEZ,KAAC,aAAa,KAAG,EAEjB,KAAC,WAAW,IAAC,UAAU,EAAE,UAAU,GAAI,IAC3B,CACf,CAAC;AAEF,eAAe,wBAAwB,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
interface Props {
|
|
2
2
|
loginButtonLink: string;
|
|
3
|
-
websiteUrl
|
|
3
|
+
websiteUrl?: string;
|
|
4
4
|
}
|
|
5
|
-
export declare const TrackedMagicLink: ({ loginButtonLink, websiteUrl }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
-
export
|
|
5
|
+
export declare const TrackedMagicLink: ({ loginButtonLink, websiteUrl, }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export default TrackedMagicLink;
|
|
7
7
|
//# sourceMappingURL=tracked-magic-link.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tracked-magic-link.d.ts","sourceRoot":"","sources":["../../src/emails/tracked-magic-link.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"tracked-magic-link.d.ts","sourceRoot":"","sources":["../../src/emails/tracked-magic-link.tsx"],"names":[],"mappings":"AAWA,UAAU,KAAK;IACb,eAAe,EAAE,MAAM,CAAC;IACxB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,eAAO,MAAM,gBAAgB,GAAI,kCAG9B,KAAK,4CAsBP,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
|
|
@@ -1,101 +1,5 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
3
|
-
const
|
|
4
|
-
export
|
|
5
|
-
width: "auto",
|
|
6
|
-
verticalAlign: "middle",
|
|
7
|
-
paddingLeft: "4px",
|
|
8
|
-
}, children: _jsx(Text, { style: {
|
|
9
|
-
fontSize: "28px",
|
|
10
|
-
fontWeight: "900",
|
|
11
|
-
fontFamily: "Raleway, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif",
|
|
12
|
-
color: "#020617",
|
|
13
|
-
margin: "0",
|
|
14
|
-
lineHeight: "32px",
|
|
15
|
-
letterSpacing: "0.5px",
|
|
16
|
-
}, children: "TRACKED" }) })] }), _jsx(Hr, { style: hr }), _jsx(Text, { style: paragraph, children: "Welcome to Tracked!" }), _jsx(Text, { style: paragraph, children: "To get started, press the button below to log in to your Tracked account. You will be redirected to the app." }), _jsx("div", { style: {
|
|
17
|
-
marginTop: "24px",
|
|
18
|
-
marginBottom: "24px",
|
|
19
|
-
textAlign: "left",
|
|
20
|
-
}, children: _jsx("a", { href: loginButtonLink, style: {
|
|
21
|
-
backgroundColor: "#0f172a",
|
|
22
|
-
borderRadius: "8px",
|
|
23
|
-
fontSize: "16px",
|
|
24
|
-
fontWeight: "bold",
|
|
25
|
-
textDecoration: "none",
|
|
26
|
-
padding: "12px 32px",
|
|
27
|
-
display: "inline-block",
|
|
28
|
-
}, children: _jsx("span", { style: { color: "#ffffff", textDecoration: "none" }, children: "Login to Tracked" }) }) }), _jsxs(Text, { style: { ...paragraph }, children: ["If this email was not expected, please ignore it. You can learn more about the Tracked Training Platform by visiting our", " ", _jsx(Link, { style: anchor, href: websiteUrl, children: "website" }), "."] }), _jsxs(Row, { style: row, children: [_jsx(Column, { style: column, children: _jsx(Button, { style: appButton, href: "https://apps.apple.com/app/tracked-training/id6450913418", children: _jsx(Img, { src: "https://cdn.trckd.ca/assets/app-store-black.png", alt: "Download on the App Store", style: img }) }) }), _jsx(Column, { style: column, children: _jsx(Button, { style: appButton, href: "https://play.google.com/store/apps/details?id=com.tracked.mobile", children: _jsx(Img, { src: "https://play.google.com/intl/en_us/badges/static/images/badges/en_badge_web_generic.png", alt: "Google Play", style: img }) }) })] }), _jsx("div", { style: {
|
|
29
|
-
textAlign: "left",
|
|
30
|
-
margin: "24px 0",
|
|
31
|
-
}, children: _jsx("a", { href: "https://www.discord.gg/trackedgg", style: {
|
|
32
|
-
backgroundColor: "#5865F2",
|
|
33
|
-
borderRadius: "8px",
|
|
34
|
-
fontSize: "16px",
|
|
35
|
-
fontWeight: "bold",
|
|
36
|
-
textDecoration: "none",
|
|
37
|
-
padding: "12px 32px",
|
|
38
|
-
display: "inline-block",
|
|
39
|
-
}, 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: "https://tracked.gg/terms", style: { ...footer, paddingRight: 10 }, children: "Terms" }), _jsx(Link, { style: { ...footer, paddingRight: 10 }, children: " | " }), _jsx(Link, { href: "https://tracked.gg/privacy", style: { ...footer, paddingRight: 10 }, children: "Privacy" }), _jsx(Link, { style: { ...footer, paddingRight: 10 }, children: " | " }), _jsx(Link, { href: "https://tracked.gg/support", style: { ...footer, paddingRight: 10 }, children: "Support" })] }), _jsx(Text, { style: footer, children: "This is a service notification by the Tracked Training Platform." })] }) }) })] }));
|
|
40
|
-
const main = {
|
|
41
|
-
backgroundColor: "#020617", // slate-950
|
|
42
|
-
fontFamily: '-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Ubuntu,sans-serif',
|
|
43
|
-
};
|
|
44
|
-
const container = {
|
|
45
|
-
backgroundColor: "#020617", // slate-950
|
|
46
|
-
margin: "0 auto",
|
|
47
|
-
padding: "20px 0 48px",
|
|
48
|
-
marginBottom: "64px",
|
|
49
|
-
borderRadius: "8px",
|
|
50
|
-
};
|
|
51
|
-
const box = {
|
|
52
|
-
padding: "0 24px",
|
|
53
|
-
};
|
|
54
|
-
const row = {
|
|
55
|
-
display: "flex",
|
|
56
|
-
flexDirection: "row",
|
|
57
|
-
};
|
|
58
|
-
const column = {
|
|
59
|
-
flex: "0 0 48%",
|
|
60
|
-
"@media (maxWidth: 600px)": {
|
|
61
|
-
flex: "0 0 100%",
|
|
62
|
-
marginBottom: "10px",
|
|
63
|
-
},
|
|
64
|
-
};
|
|
65
|
-
const img = {
|
|
66
|
-
maxWidth: "100%",
|
|
67
|
-
height: "auto",
|
|
68
|
-
};
|
|
69
|
-
const appButton = {
|
|
70
|
-
backgroundColor: "transparent",
|
|
71
|
-
borderRadius: "8px",
|
|
72
|
-
color: "#ffffff", // white
|
|
73
|
-
fontSize: "16px",
|
|
74
|
-
fontWeight: "bold",
|
|
75
|
-
textDecoration: "none",
|
|
76
|
-
textAlign: "center",
|
|
77
|
-
display: "block",
|
|
78
|
-
width: "100%",
|
|
79
|
-
maxWidth: "150px",
|
|
80
|
-
};
|
|
81
|
-
const hr = {
|
|
82
|
-
borderColor: "#4ade80", // green-400
|
|
83
|
-
margin: "24px 0",
|
|
84
|
-
borderWidth: "1px",
|
|
85
|
-
};
|
|
86
|
-
const paragraph = {
|
|
87
|
-
color: "#ffffff", // white
|
|
88
|
-
fontSize: "16px",
|
|
89
|
-
lineHeight: "24px",
|
|
90
|
-
textAlign: "left",
|
|
91
|
-
};
|
|
92
|
-
const anchor = {
|
|
93
|
-
color: "#4ade80", // green-400
|
|
94
|
-
textDecoration: "underline",
|
|
95
|
-
};
|
|
96
|
-
const footer = {
|
|
97
|
-
color: "#94a3b8", // slate-400 for subtle footer text
|
|
98
|
-
fontSize: "12px",
|
|
99
|
-
lineHeight: "16px",
|
|
100
|
-
};
|
|
2
|
+
import { EmailLayout, EmailHeader, EmailFooter, Paragraph, PrimaryButton, DiscordButton, TextLink, } from "../components";
|
|
3
|
+
export const TrackedMagicLink = ({ loginButtonLink = "https://tracked.gg/auth/login?token=abc123", websiteUrl = "https://tracked.gg", }) => (_jsxs(EmailLayout, { preview: "New login requested for Tracked - The gym tracking platform", children: [_jsx(EmailHeader, {}), _jsx(Paragraph, { children: "Welcome to Tracked!" }), _jsx(Paragraph, { children: "To get started, press the button below to log in to your Tracked account. You will be redirected to the app." }), _jsx(PrimaryButton, { href: loginButtonLink, children: "Login to Tracked" }), _jsxs(Paragraph, { children: ["If this email was not expected, please ignore it. You can learn more about the Tracked Training Platform by visiting our", " ", _jsx(TextLink, { href: websiteUrl, children: "website" }), "."] }), _jsx(DiscordButton, {}), _jsx(EmailFooter, { websiteUrl: websiteUrl })] }));
|
|
4
|
+
export default TrackedMagicLink;
|
|
101
5
|
//# sourceMappingURL=tracked-magic-link.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tracked-magic-link.js","sourceRoot":"","sources":["../../src/emails/tracked-magic-link.tsx"],"names":[],"mappings":";AACA,OAAO,EACL,
|
|
1
|
+
{"version":3,"file":"tracked-magic-link.js","sourceRoot":"","sources":["../../src/emails/tracked-magic-link.tsx"],"names":[],"mappings":";AACA,OAAO,EACL,WAAW,EACX,WAAW,EACX,WAAW,EACX,SAAS,EACT,aAAa,EACb,aAAa,EACb,QAAQ,GACT,MAAM,eAAe,CAAC;AAOvB,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,EAC/B,eAAe,GAAG,4CAA4C,EAC9D,UAAU,GAAG,oBAAoB,GAC3B,EAAE,EAAE,CAAC,CACX,MAAC,WAAW,IAAC,OAAO,EAAC,6DAA6D,aAChF,KAAC,WAAW,KAAG,EAEf,KAAC,SAAS,sCAAgC,EAC1C,KAAC,SAAS,+HAGE,EAEZ,KAAC,aAAa,IAAC,IAAI,EAAE,eAAe,iCAAkC,EAEtE,MAAC,SAAS,2IAEsC,GAAG,EACjD,KAAC,QAAQ,IAAC,IAAI,EAAE,UAAU,wBAAoB,SACpC,EAEZ,KAAC,aAAa,KAAG,EAEjB,KAAC,WAAW,IAAC,UAAU,EAAE,UAAU,GAAI,IAC3B,CACf,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
|
|
@@ -3,8 +3,9 @@ interface WeekOneCheckinEmailProps {
|
|
|
3
3
|
workoutsCompleted: number;
|
|
4
4
|
appUrl: string;
|
|
5
5
|
supportUrl?: string;
|
|
6
|
-
websiteUrl
|
|
6
|
+
websiteUrl?: string;
|
|
7
|
+
unsubscribeUrl?: string;
|
|
7
8
|
}
|
|
8
|
-
export declare const WeekOneCheckinEmail: ({ userName, workoutsCompleted, appUrl, supportUrl, websiteUrl, }: WeekOneCheckinEmailProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export declare const WeekOneCheckinEmail: ({ userName, workoutsCompleted, appUrl, supportUrl, websiteUrl, unsubscribeUrl, }: WeekOneCheckinEmailProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
10
|
export default WeekOneCheckinEmail;
|
|
10
11
|
//# sourceMappingURL=week-one-checkin.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"week-one-checkin.d.ts","sourceRoot":"","sources":["../../src/emails/week-one-checkin.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"week-one-checkin.d.ts","sourceRoot":"","sources":["../../src/emails/week-one-checkin.tsx"],"names":[],"mappings":"AAkBA,UAAU,wBAAwB;IAChC,QAAQ,EAAE,MAAM,CAAC;IACjB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,eAAO,MAAM,mBAAmB,GAAI,kFAOjC,wBAAwB,4CA+F1B,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
|