Skip to content

Scheduling infrastructure for absolutely everyone.

removed imgur from emails, added missing / to footer logo (#1245)

Peer Richelsenbd51316c686d
diff --git a/lib/emails/templates/common/body-logo.ts b/lib/emails/templates/common/body-logo.ts
index 5d816b13b38..3b5b143e8aa 100644
--- a/lib/emails/templates/common/body-logo.ts
+++ b/lib/emails/templates/common/body-logo.ts
@@ -1,7 +1,9 @@
import { IS_PRODUCTION, BASE_URL } from "@lib/config/constants";
export const emailBodyLogo = (): string => {
- const image = IS_PRODUCTION ? BASE_URL + "emails/[email protected]" : "https://i.imgur.com/esapZ47.png";
+ const image = IS_PRODUCTION
+ ? BASE_URL + "/emails/[email protected]"
+ : "https://app.cal.com/emails/[email protected]";
return `
<!--[if mso | IE]></td></tr></table><table align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:600px;" width="600" ><tr><td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;"><![endif]-->
diff --git a/lib/emails/templates/common/link-icon.ts b/lib/emails/templates/common/link-icon.ts
index 52ffb74bf3a..434ae2cbcb7 100644
--- a/lib/emails/templates/common/link-icon.ts
+++ b/lib/emails/templates/common/link-icon.ts
@@ -1,5 +1,5 @@
import { IS_PRODUCTION, BASE_URL } from "@lib/config/constants";
export const linkIcon = (): string => {
- return IS_PRODUCTION ? BASE_URL + "/emails/linkIcon.png" : "https://i.imgur.com/rKsIBcc.png";
+ return IS_PRODUCTION ? BASE_URL + "/emails/linkIcon.png" : "https://app.cal.com/emails/linkIcon.png";
};
diff --git a/lib/emails/templates/common/scheduling-body-head.ts b/lib/emails/templates/common/scheduling-body-head.ts
index 56f80cce3fd..7f3a6d6690f 100644
--- a/lib/emails/templates/common/scheduling-body-head.ts
+++ b/lib/emails/templates/common/scheduling-body-head.ts
@@ -5,11 +5,17 @@ export type BodyHeadType = "checkCircle" | "xCircle" | "calendarCircle";
export const getHeadImage = (headerType: BodyHeadType): string => {
switch (headerType) {
case "checkCircle":
- return IS_PRODUCTION ? BASE_URL + "/emails/[email protected]" : "https://i.imgur.com/6BHFgjS.png";
+ return IS_PRODUCTION
+ ? BASE_URL + "/emails/[email protected]"
+ : "https://app.cal.com/emails/[email protected]";
case "xCircle":
- return IS_PRODUCTION ? BASE_URL + "/emails/[email protected]" : "https://i.imgur.com/44Dq2je.png";
+ return IS_PRODUCTION
+ ? BASE_URL + "/emails/[email protected]"
+ : "https://app.cal.com/emails/[email protected]";
case "calendarCircle":
- return IS_PRODUCTION ? BASE_URL + "/emails/[email protected]" : "https://i.imgur.com/aQOp1mm.png";
+ return IS_PRODUCTION
+ ? BASE_URL + "/emails/[email protected]"
+ : "https://app.cal.com/emails/[email protected]";
}
};