fixed members login and permissions issues

This commit is contained in:
2026-02-23 00:57:34 +00:00
parent ed0debfeac
commit 97da2e2736
42 changed files with 574 additions and 113 deletions
+5 -6
View File
@@ -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>
);