infoalloggi-monorepo/apps/infoalloggi/emails/pagamento-conferma.tsx

43 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 PagamentoConferma_NewMail = {
2025-08-28 18:27:07 +02:00
mailType: "pagamentoConferma";
props: PagamentoConfermaProps;
2025-08-04 17:45:44 +02:00
};
type PagamentoConfermaProps = {
2025-08-28 18:27:07 +02:00
receiptHref: string;
2025-08-04 17:45:44 +02:00
};
const PagamentoConferma = ({ receiptHref }: PagamentoConfermaProps) => {
2025-08-28 18:27:07 +02:00
return (
<Base preview="Conferma Pagamento">
<>
<Heading className="text-center text-3xl leading-8">
Conferma Pagamento
</Heading>
<Section className="px-5 text-left text-base md:px-12">
<Row>
<Text>
Gentile Cliente, la informiamo che il pagamento è stato confermato
con successo. Procederemo ad attivare i servizi acquistati se non
lo fossero già. Può controllare lo stato del suo account nella
sezione dedicata.
</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"
2025-08-28 18:27:07 +02:00
href={receiptHref}
>
Vai al tuo account
</Button>
</Section>
</Section>
</>
</Base>
);
2025-08-04 17:45:44 +02:00
};
export default PagamentoConferma;