The Open Source DocuSign Alternative.
TypeScript digital-signaturedocument-signingdocusign-alternativee-signatureesignesignaturenext-authnextjsopen-sourcepades-standardpdfpdf-signpdf-signaturepostgresqlprismaself-hostedsigningtypescript
fix: update email template
Mythie8f03782fe343
diff --git a/packages/email/template-components/template-footer.tsx b/packages/email/template-components/template-footer.tsxindex ee395a1e9..7f93f0063 100644--- a/packages/email/template-components/template-footer.tsx+++ b/packages/email/template-components/template-footer.tsx@@ -1,14 +1,20 @@import { Link, Section, Text } from '@react-email/components';-export const TemplateFooter = () => {+export type TemplateFooterProps = {+ isDocument?: boolean;+};++export const TemplateFooter = ({ isDocument = true }: TemplateFooterProps) => {return (<Section>- <Text className="my-4 text-base text-slate-400">- This document was sent using{' '}- <Link className="text-[#7AC455]" href="https://documenso.com">- Documenso.- </Link>- </Text>+ {isDocument && (+ <Text className="my-4 text-base text-slate-400">+ This document was sent using{' '}+ <Link className="text-[#7AC455]" href="https://documenso.com">+ Documenso.+ </Link>+ </Text>+ )}<Text className="my-8 text-sm text-slate-400">Documensodiff --git a/packages/email/templates/forgot-password.tsx b/packages/email/templates/forgot-password.tsxindex 5f1db1afc..ab3db58f5 100644--- a/packages/email/templates/forgot-password.tsx+++ b/packages/email/templates/forgot-password.tsx@@ -62,7 +62,7 @@ export const ForgotPasswordTemplate = ({<div className="mx-auto mt-12 max-w-xl" /><Container className="mx-auto max-w-xl">- <TemplateFooter />+ <TemplateFooter isDocument={false} /></Container></Section></Body>diff --git a/packages/email/templates/reset-password.tsx b/packages/email/templates/reset-password.tsxindex ce06acbd1..35881fe72 100644--- a/packages/email/templates/reset-password.tsx+++ b/packages/email/templates/reset-password.tsx@@ -90,7 +90,7 @@ export const ResetPasswordTemplate = ({<Hr className="mx-auto mt-12 max-w-xl" /><Container className="mx-auto max-w-xl">- <TemplateFooter />+ <TemplateFooter isDocument={false} /></Container></Section></Body>