Files
probo/packages/emails/src/TrustCenterAccess.tsx
Sacha Al Himdani 1f0a5dff5c Redesign trust center console
Signed-off-by: Sacha Al Himdani <sacha@getprobo.com>
2025-10-28 16:42:56 +01:00

26 lines
900 B
TypeScript

import { Button, Section, Text } from '@react-email/components';
import * as React from 'react';
import EmailLayout, { bodyText, button, buttonContainer, footerText } from './components/EmailLayout';
export const TrustCenterAccess = () => {
return (
<EmailLayout subject={`Trust Center Access Invitation - ${'{{.OrganizationName}}'}`} organizationName={'{{.OrganizationName}}'}>
<Text style={bodyText}>
You have been granted access to <strong>{'{{.OrganizationName}}'}</strong>'s Trust Center! Click the button below to access it:
</Text>
<Section style={buttonContainer}>
<Button style={button} href={'{{.AccessUrl}}'}>
Access Trust Center
</Button>
</Section>
<Text style={footerText}>
This link will expire in {'{{.DurationInDays}}'} days.
</Text>
</EmailLayout>
);
};
export default TrustCenterAccess;