infoalloggi-monorepo/apps/infoalloggi/emails/registrazione-avvenuta.tsx

40 lines
1.2 KiB
TypeScript
Raw Normal View History

2025-08-04 17:45:44 +02:00
import { Button, Heading, Row, Section, Text } from "@react-email/components";
import Base from "./base";
export type RegistrazioneAvvenuta_NewMail = {
2025-08-29 16:18:32 +02:00
mailType: "registrazioneAvvenuta";
props: RegistrazioneAvvenutaProps;
};
type RegistrazioneAvvenutaProps = {
baseUrl: string;
2025-08-04 17:45:44 +02:00
};
const RegistrazioneAvvenuta = ({ baseUrl }: RegistrazioneAvvenutaProps) => {
2025-08-29 16:18:32 +02:00
return (
<Base preview="Registrazione Avvenuta">
<>
<Heading className="text-center text-3xl leading-8">
Registrazione avvenuta
</Heading>
<Section className="px-5 text-left text-base md:px-12">
<Row>
<Text>
La tua registrazione è avvenuta con successo! Ora puoi accedere al
nostro sito con le tue credenziali.
</Text>
</Row>
<Section className="mb-5">
<Button
2025-10-10 16:18:43 +02:00
className="mx-auto box-border inline-flex h-10 items-center justify-center whitespace-nowrap rounded-md bg-neutral-100 px-4 py-2 text-center align-middle font-semibold text-neutral-900"
href={`${baseUrl}/area-riservata/dashboard`}
2025-08-29 16:18:32 +02:00
>
Vai al tuo account
</Button>
</Section>
</Section>
</>
</Base>
);
2025-08-04 17:45:44 +02:00
};
export default RegistrazioneAvvenuta;