Files
sign/packages/lib/mail/signingCompleteTemplate.ts

29 lines
846 B
TypeScript
Raw Normal View History

2023-02-21 17:42:30 +01:00
import { NEXT_PUBLIC_WEBAPP_URL } from "../constants";
import { baseEmailTemplate } from "./baseTemplate";
2023-04-04 22:02:32 +00:00
import { Document as PrismaDocument } from "@prisma/client";
2023-02-21 17:42:30 +01:00
export const signingCompleteTemplate = (message: string) => {
const customContent = `
<div style="
width: 100px;
height: 100px;
margin: auto;
padding-top: 14px;
">
<img src="${NEXT_PUBLIC_WEBAPP_URL}/images/signed_100.png" alt="Documenso Logo" style="width: 100px; display: block;">
</div>
<p style="margin-top: 14px;">
A copy of the signed document has been attached to this email.
</p>
<p style="margin-top: 14px;">
2023-05-28 06:16:48 +02:00
<small>Like Documenso? <a href="https://documenso.com">Hosted Documenso is here!</a>.</small>
2023-02-21 17:42:30 +01:00
</p>`;
const html = baseEmailTemplate(message, customContent);
return html;
};
export default signingCompleteTemplate;