mirror of
https://github.com/documenso/documenso.git
synced 2025-11-13 00:03:33 +10:00
fix: update email template
This commit is contained in:
@ -1,14 +1,20 @@
|
|||||||
import { Link, Section, Text } from '@react-email/components';
|
import { Link, Section, Text } from '@react-email/components';
|
||||||
|
|
||||||
export const TemplateFooter = () => {
|
export type TemplateFooterProps = {
|
||||||
|
isDocument?: boolean;
|
||||||
|
};
|
||||||
|
|
||||||
|
export const TemplateFooter = ({ isDocument = true }: TemplateFooterProps) => {
|
||||||
return (
|
return (
|
||||||
<Section>
|
<Section>
|
||||||
<Text className="my-4 text-base text-slate-400">
|
{isDocument && (
|
||||||
This document was sent using{' '}
|
<Text className="my-4 text-base text-slate-400">
|
||||||
<Link className="text-[#7AC455]" href="https://documenso.com">
|
This document was sent using{' '}
|
||||||
Documenso.
|
<Link className="text-[#7AC455]" href="https://documenso.com">
|
||||||
</Link>
|
Documenso.
|
||||||
</Text>
|
</Link>
|
||||||
|
</Text>
|
||||||
|
)}
|
||||||
|
|
||||||
<Text className="my-8 text-sm text-slate-400">
|
<Text className="my-8 text-sm text-slate-400">
|
||||||
Documenso
|
Documenso
|
||||||
|
|||||||
@ -62,7 +62,7 @@ export const ForgotPasswordTemplate = ({
|
|||||||
<div className="mx-auto mt-12 max-w-xl" />
|
<div className="mx-auto mt-12 max-w-xl" />
|
||||||
|
|
||||||
<Container className="mx-auto max-w-xl">
|
<Container className="mx-auto max-w-xl">
|
||||||
<TemplateFooter />
|
<TemplateFooter isDocument={false} />
|
||||||
</Container>
|
</Container>
|
||||||
</Section>
|
</Section>
|
||||||
</Body>
|
</Body>
|
||||||
|
|||||||
@ -90,7 +90,7 @@ export const ResetPasswordTemplate = ({
|
|||||||
<Hr className="mx-auto mt-12 max-w-xl" />
|
<Hr className="mx-auto mt-12 max-w-xl" />
|
||||||
|
|
||||||
<Container className="mx-auto max-w-xl">
|
<Container className="mx-auto max-w-xl">
|
||||||
<TemplateFooter />
|
<TemplateFooter isDocument={false} />
|
||||||
</Container>
|
</Container>
|
||||||
</Section>
|
</Section>
|
||||||
</Body>
|
</Body>
|
||||||
|
|||||||
Reference in New Issue
Block a user