mirror of
https://github.com/docmost/docmost.git
synced 2026-05-20 00:14:10 +08:00
fix: email copy
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
import { Section, Text } from '@react-email/components';
|
import { Link, Section, Text } from '@react-email/components';
|
||||||
import * as React from 'react';
|
import * as React from 'react';
|
||||||
import { content, paragraph } from '../css/styles';
|
import { content, link, paragraph } from '../css/styles';
|
||||||
import { EmailButton, MailBody } from '../partials/partials';
|
import { EmailButton, MailBody } from '../partials/partials';
|
||||||
|
|
||||||
interface Props {
|
interface Props {
|
||||||
@@ -20,10 +20,13 @@ export const PageUpdateEmail = ({
|
|||||||
<Text style={paragraph}>Hi there,</Text>
|
<Text style={paragraph}>Hi there,</Text>
|
||||||
<Text style={paragraph}>
|
<Text style={paragraph}>
|
||||||
<strong>{actorName}</strong> updated{' '}
|
<strong>{actorName}</strong> updated{' '}
|
||||||
<strong>{pageTitle}</strong>.
|
<Link href={pageUrl} style={link}>
|
||||||
|
<strong>{pageTitle}</strong>
|
||||||
|
</Link>
|
||||||
|
.
|
||||||
</Text>
|
</Text>
|
||||||
</Section>
|
</Section>
|
||||||
<EmailButton href={pageUrl}>View</EmailButton>
|
<EmailButton href={pageUrl}>View page</EmailButton>
|
||||||
</MailBody>
|
</MailBody>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user