-
Notifications
You must be signed in to change notification settings - Fork 648
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a3331fd
commit f11b066
Showing
2 changed files
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
packages/react-email/src/utils/__snapshots__/get-email-component.spec.ts.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html | ||
|
||
exports[`getEmailComponent() with a demo email template 1`] = `"<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html dir="ltr" lang="en"><head><link rel="preload" as="image" href="/static/vercel-logo.png"/><link rel="preload" as="image" href="/static/vercel-user.png"/><link rel="preload" as="image" href="/static/vercel-arrow.png"/><link rel="preload" as="image" href="/static/vercel-team.png"/><meta content="text/html; charset=UTF-8" http-equiv="Content-Type"/><meta name="x-apple-disable-message-reformatting"/></head><div style="display:none;overflow:hidden;line-height:1px;opacity:0;max-height:0;max-width:0">Join Alan on Vercel<div>Β βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»Ώ</div></div><body style="background-color:rgb(255,255,255);margin-top:auto;margin-bottom:auto;margin-left:auto;margin-right:auto;font-family:ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";padding-left:0.5rem;padding-right:0.5rem"><table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation" style="max-width:465px;border-width:1px;border-style:solid;border-color:rgb(234,234,234);border-radius:0.25rem;margin-top:40px;margin-bottom:40px;margin-left:auto;margin-right:auto;padding:20px"><tbody><tr style="width:100%"><td><table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation" style="margin-top:32px"><tbody><tr><td><img alt="Vercel" height="37" src="/static/vercel-logo.png" style="display:block;outline:none;border:none;text-decoration:none;margin-top:0px;margin-bottom:0px;margin-left:auto;margin-right:auto" width="40"/></td></tr></tbody></table><h1 style="color:rgb(0,0,0);font-size:24px;font-weight:400;text-align:center;padding:0px;margin-top:30px;margin-bottom:30px;margin-left:0px;margin-right:0px">Join <strong>Enigma</strong> on <strong>Vercel</strong></h1><p style="font-size:14px;line-height:24px;margin:16px 0;color:rgb(0,0,0)">Hello <!-- -->alanturing<!-- -->,</p><p style="font-size:14px;line-height:24px;margin:16px 0;color:rgb(0,0,0)"><strong>Alan</strong> (<a href="mailto:alan.turing@example.com" style="color:rgb(37,99,235);text-decoration:none;text-decoration-line:none" target="_blank">alan.turing@example.com</a>) has invited you to the <strong>Enigma</strong> team on<!-- --> <strong>Vercel</strong>.</p><table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation"><tbody><tr><td><table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation"><tbody style="width:100%"><tr style="width:100%"><td align="right" data-id="__react-email-column"><img height="64" src="/static/vercel-user.png" style="display:block;outline:none;border:none;text-decoration:none;border-radius:9999px" width="64"/></td><td align="center" data-id="__react-email-column"><img alt="invited you to" height="9" src="/static/vercel-arrow.png" style="display:block;outline:none;border:none;text-decoration:none" width="12"/></td><td align="left" data-id="__react-email-column"><img height="64" src="/static/vercel-team.png" style="display:block;outline:none;border:none;text-decoration:none;border-radius:9999px" width="64"/></td></tr></tbody></table></td></tr></tbody></table><table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation" style="text-align:center;margin-top:32px;margin-bottom:32px"><tbody><tr><td><a href="https://vercel.com/teams/invite/foo" style="line-height:100%;text-decoration:none;display:inline-block;max-width:100%;background-color:rgb(0,0,0);border-radius:0.25rem;color:rgb(255,255,255);font-size:12px;font-weight:600;text-decoration-line:none;text-align:center;padding-left:1.25rem;padding-right:1.25rem;padding-top:0.75rem;padding-bottom:0.75rem;padding:12px 20px 12px 20px" target="_blank"><span><!--[if mso]><i style="letter-spacing: 20px;mso-font-width:-100%;mso-text-raise:18" hidden> </i><![endif]--></span><span style="max-width:100%;display:inline-block;line-height:120%;mso-padding-alt:0px;mso-text-raise:9px">Join the team</span><span><!--[if mso]><i style="letter-spacing: 20px;mso-font-width:-100%" hidden> </i><![endif]--></span></a></td></tr></tbody></table><p style="font-size:14px;line-height:24px;margin:16px 0;color:rgb(0,0,0)">or copy and paste this URL into your browser:<!-- --> <a href="https://vercel.com/teams/invite/foo" style="color:rgb(37,99,235);text-decoration:none;text-decoration-line:none" target="_blank">https://vercel.com/teams/invite/foo</a></p><hr style="width:100%;border:none;border-top:1px solid #eaeaea;border-width:1px;border-style:solid;border-color:rgb(234,234,234);margin-top:26px;margin-bottom:26px;margin-left:0px;margin-right:0px"/><p style="font-size:12px;line-height:24px;margin:16px 0;color:rgb(102,102,102)">This invitation was intended for<!-- --> <span style="color:rgb(0,0,0)">alanturing</span>. This invite was sent from <span style="color:rgb(0,0,0)">204.13.186.218</span> <!-- -->located in<!-- --> <span style="color:rgb(0,0,0)">SΓ£o Paulo, Brazil</span>. If you were not expecting this invitation, you can ignore this email. If you are concerned about your account's safety, please reply to this email to get in touch with us.</p></td></tr></tbody></table></body></html>"`; | ||
exports[`getEmailComponent() with a demo email template 1`] = `"<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html dir="ltr" lang="en"><head><link rel="preload" as="image" href="/static/vercel-logo.png"/><link rel="preload" as="image" href="/static/vercel-user.png"/><link rel="preload" as="image" href="/static/vercel-arrow.png"/><link rel="preload" as="image" href="/static/vercel-team.png"/><meta content="text/html; charset=UTF-8" http-equiv="Content-Type"/><meta name="x-apple-disable-message-reformatting"/></head><div style="display:none;overflow:hidden;line-height:1px;opacity:0;max-height:0;max-width:0">Join Alan on Vercel<div>Β βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»ΏΒ βββββο»Ώ</div></div><body style="background-color:rgb(255,255,255);margin-top:auto;margin-bottom:auto;margin-left:auto;margin-right:auto;font-family:ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";padding-left:0.5rem;padding-right:0.5rem"><table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation" style="max-width:465px;border-width:1px;border-style:solid;border-color:rgb(234,234,234);border-radius:0.25rem;margin-top:40px;margin-bottom:40px;margin-left:auto;margin-right:auto;padding:20px"><tbody><tr style="width:100%"><td><table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation" style="margin-top:32px"><tbody><tr><td><img alt="Vercel" height="37" src="/static/vercel-logo.png" style="display:block;outline:none;border:none;text-decoration:none;margin-top:0px;margin-bottom:0px;margin-left:auto;margin-right:auto" width="40"/></td></tr></tbody></table><h1 style="color:rgb(0,0,0);font-size:24px;font-weight:400;text-align:center;padding:0px;margin-top:30px;margin-bottom:30px;margin-left:0px;margin-right:0px">Join <strong>Enigma</strong> on <strong>Vercel</strong></h1><p style="font-size:14px;line-height:24px;margin:16px 0;color:rgb(0,0,0)">Hello <!-- -->alanturing<!-- -->,</p><p style="font-size:14px;line-height:24px;margin:16px 0;color:rgb(0,0,0)"><strong>Alan</strong> (<a href="mailto:alan.turing@example.com" style="color:rgb(37,99,235);text-decoration:none;text-decoration-line:none" target="_blank">alan.turing@example.com</a>) has invited you to the <strong>Enigma</strong> team on<!-- --> <strong>Vercel</strong>.</p><table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation"><tbody><tr><td><table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation"><tbody style="width:100%"><tr style="width:100%"><td align="right" data-id="__react-email-column"><img height="64" src="/static/vercel-user.png" style="display:block;outline:none;border:none;text-decoration:none;border-radius:9999px" width="64"/></td><td align="center" data-id="__react-email-column"><img alt="invited you to" height="9" src="/static/vercel-arrow.png" style="display:block;outline:none;border:none;text-decoration:none" width="12"/></td><td align="left" data-id="__react-email-column"><img height="64" src="/static/vercel-team.png" style="display:block;outline:none;border:none;text-decoration:none;border-radius:9999px" width="64"/></td></tr></tbody></table></td></tr></tbody></table><table align="center" width="100%" border="0" cellPadding="0" cellSpacing="0" role="presentation" style="text-align:center;margin-top:32px;margin-bottom:32px"><tbody><tr><td><a href="https://vercel.com/teams/invite/foo" style="line-height:100%;text-decoration:none;display:inline-block;max-width:100%;background-color:rgb(0,0,0);border-radius:0.25rem;color:rgb(255,255,255);font-size:12px;font-weight:600;text-decoration-line:none;text-align:center;padding-left:1.25rem;padding-right:1.25rem;padding-top:0.75rem;padding-bottom:0.75rem;padding:12px 20px 12px 20px" target="_blank"><span><!--[if mso]><i style="mso-font-width:500%;mso-text-raise:18" hidden>  </i><![endif]--></span><span style="max-width:100%;display:inline-block;line-height:120%;mso-padding-alt:0px;mso-text-raise:9px">Join the team</span><span><!--[if mso]><i style="mso-font-width:500%" hidden>  ​</i><![endif]--></span></a></td></tr></tbody></table><p style="font-size:14px;line-height:24px;margin:16px 0;color:rgb(0,0,0)">or copy and paste this URL into your browser:<!-- --> <a href="https://vercel.com/teams/invite/foo" style="color:rgb(37,99,235);text-decoration:none;text-decoration-line:none" target="_blank">https://vercel.com/teams/invite/foo</a></p><hr style="width:100%;border:none;border-top:1px solid #eaeaea;border-width:1px;border-style:solid;border-color:rgb(234,234,234);margin-top:26px;margin-bottom:26px;margin-left:0px;margin-right:0px"/><p style="font-size:12px;line-height:24px;margin:16px 0;color:rgb(102,102,102)">This invitation was intended for<!-- --> <span style="color:rgb(0,0,0)">alanturing</span>. This invite was sent from <span style="color:rgb(0,0,0)">204.13.186.218</span> <!-- -->located in<!-- --> <span style="color:rgb(0,0,0)">SΓ£o Paulo, Brazil</span>. If you were not expecting this invitation, you can ignore this email. If you are concerned about your account's safety, please reply to this email to get in touch with us.</p></td></tr></tbody></table></body></html>"`; |