fixed members login and permissions issues
This commit is contained in:
@@ -4,18 +4,17 @@ import { Text, Button } from '@react-email/components';
|
||||
|
||||
type EmailProps = {
|
||||
invitedBy: string;
|
||||
companyName: string;
|
||||
url: string;
|
||||
};
|
||||
|
||||
const Email = ({ invitedBy, companyName, url }: EmailProps) => {
|
||||
const Email = ({ invitedBy, url }: EmailProps) => {
|
||||
return (
|
||||
<Layout>
|
||||
<Container>
|
||||
<Text className="pt-4 text-2xl">Invitation to our platform</Text>
|
||||
<Text>You have been invited by {invitedBy || '<invitedBy>'} to join Pertento.ai</Text>
|
||||
<Text>as a member of {companyName || '<companyName>'}</Text>
|
||||
<Button href={url || 'https://example.com'}>Click here to accept our invitation</Button>
|
||||
<Text className="pt-4 text-2xl">You're invited to Officer</Text>
|
||||
<Text>You have been invited by {invitedBy || '<invitedBy>'} to join Officer.</Text>
|
||||
<Text>Click the button below to set up your account.</Text>
|
||||
<Button href={url || 'https://example.com'}>Accept Invitation</Button>
|
||||
</Container>
|
||||
</Layout>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user