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

39 lines
1.2 KiB
TypeScript

import { Button, Heading, Row, Section, Text } from "@react-email/components";
import Base from "./base";
export type RegistrazioneAvvenuta_NewMail = {
mailType: "registrazioneAvvenuta";
props: RegistrazioneAvvenutaProps;
};
type RegistrazioneAvvenutaProps = {
baseUrl: string;
};
const RegistrazioneAvvenuta = ({ baseUrl }: RegistrazioneAvvenutaProps) => {
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
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`}
>
Vai al tuo account
</Button>
</Section>
</Section>
</>
</Base>
);
};
export default RegistrazioneAvvenuta;