@betterinternship/core 2.26.2 → 2.26.4
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/lib/email/action.js
CHANGED
|
@@ -6,10 +6,9 @@ const escapeHtml = (value) => value
|
|
|
6
6
|
.replaceAll("'", ''');
|
|
7
7
|
export const renderEmailAction = ({ href, label }) => {
|
|
8
8
|
const escapedHref = escapeHtml(href);
|
|
9
|
-
return `<div style="margin:
|
|
9
|
+
return `<div style="margin:20px 0 0">
|
|
10
10
|
<a href="${escapedHref}" style="display:inline-block;padding:12px 22px;background:#155eef;color:#ffffff;border-radius:8px;text-decoration:none;font-size:14px;font-weight:700">${escapeHtml(label)} →</a>
|
|
11
|
-
<p style="margin:
|
|
12
|
-
<p style="margin:5px 0 0;font-size:12px;line-height:1.5;word-break:break-all"><a href="${escapedHref}" style="color:#155eef;text-decoration:underline;word-break:break-all">${escapedHref}</a></p>
|
|
11
|
+
<p style="margin:8px 0 0;font-size:11px;line-height:1.45;color:#8a94a8;word-break:break-all">Or copy this link: <a href="${escapedHref}" style="color:#64748b;text-decoration:underline;word-break:break-all">${escapedHref}</a></p>
|
|
13
12
|
</div>`;
|
|
14
13
|
};
|
|
15
14
|
//# sourceMappingURL=action.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action.js","sourceRoot":"","sources":["../../../lib/email/action.ts"],"names":[],"mappings":"AAKA,MAAM,UAAU,GAAG,CAAC,KAAa,EAAE,EAAE,CACnC,KAAK;KACF,UAAU,CAAC,GAAG,EAAE,OAAO,CAAC;KACxB,UAAU,CAAC,GAAG,EAAE,MAAM,CAAC;KACvB,UAAU,CAAC,GAAG,EAAE,MAAM,CAAC;KACvB,UAAU,CAAC,GAAG,EAAE,QAAQ,CAAC;KACzB,UAAU,CAAC,GAAG,EAAE,OAAO,CAAC,CAAC;AAG9B,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,EAAE,IAAI,EAAE,KAAK,EAAsB,EAAE,EAAE;IACvE,MAAM,WAAW,GAAG,UAAU,CAAC,IAAI,CAAC,CAAC;IACrC,OAAO;aACI,WAAW,2JAA2J,UAAU,CAAC,KAAK,CAAC
|
|
1
|
+
{"version":3,"file":"action.js","sourceRoot":"","sources":["../../../lib/email/action.ts"],"names":[],"mappings":"AAKA,MAAM,UAAU,GAAG,CAAC,KAAa,EAAE,EAAE,CACnC,KAAK;KACF,UAAU,CAAC,GAAG,EAAE,OAAO,CAAC;KACxB,UAAU,CAAC,GAAG,EAAE,MAAM,CAAC;KACvB,UAAU,CAAC,GAAG,EAAE,MAAM,CAAC;KACvB,UAAU,CAAC,GAAG,EAAE,QAAQ,CAAC;KACzB,UAAU,CAAC,GAAG,EAAE,OAAO,CAAC,CAAC;AAG9B,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,EAAE,IAAI,EAAE,KAAK,EAAsB,EAAE,EAAE;IACvE,MAAM,WAAW,GAAG,UAAU,CAAC,IAAI,CAAC,CAAC;IACrC,OAAO;aACI,WAAW,2JAA2J,UAAU,CAAC,KAAK,CAAC;6HACvE,WAAW,0EAA0E,WAAW;OACtN,CAAC;AACR,CAAC,CAAC"}
|
package/dist/lib/email/shell.js
CHANGED
|
@@ -18,7 +18,7 @@ export const renderEmailShell = ({ logoUrl, heading, bodyHtml, footerHtml = 'Thi
|
|
|
18
18
|
</div>
|
|
19
19
|
|
|
20
20
|
<div style="width:100%;max-width:520px;margin:0 auto;background:#ffffff;border:1px solid #e4e8f0;border-radius:14px;overflow:hidden">
|
|
21
|
-
<div style="padding:34px 32px 36px">
|
|
21
|
+
<div style="padding:34px 32px 36px;font-size:15px;line-height:1.7;color:#4b5872">
|
|
22
22
|
${bodyHtml}
|
|
23
23
|
</div>
|
|
24
24
|
|