2025-08-28 18:27:07 +02:00
|
|
|
import { Button, Heading, Row, Section, Text } from "@react-email/components";
|
2025-08-04 17:45:44 +02:00
|
|
|
import Base from "./base";
|
|
|
|
|
export type PwResetLink_NewMail = {
|
2025-08-28 18:27:07 +02:00
|
|
|
mailType: "pwResetLink";
|
|
|
|
|
props: PwResetLinkProps;
|
2025-08-04 17:45:44 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
type PwResetLinkProps = {
|
2025-08-28 18:27:07 +02:00
|
|
|
resetlink: string;
|
2025-08-04 17:45:44 +02:00
|
|
|
};
|
|
|
|
|
const PwResetLink = ({ resetlink }: PwResetLinkProps) => {
|
2025-08-28 18:27:07 +02:00
|
|
|
return (
|
|
|
|
|
<Base preview="Link Reset Password">
|
|
|
|
|
<>
|
|
|
|
|
<Heading className="text-center text-3xl leading-8">
|
|
|
|
|
Link Reset Password
|
|
|
|
|
</Heading>
|
|
|
|
|
<Section className="px-5 text-left text-base md:px-12">
|
|
|
|
|
<Row>
|
|
|
|
|
<Text>
|
|
|
|
|
Abbiamo ricevuto la tua richiesta di reset password, clicca sul
|
|
|
|
|
link sottostante per procedere.
|
|
|
|
|
</Text>
|
|
|
|
|
</Row>
|
|
|
|
|
<Section className="mb-5">
|
|
|
|
|
<Button
|
|
|
|
|
className="mx-auto box-border inline-flex h-10 items-center justify-center rounded-md bg-neutral-100 px-4 py-2 text-center align-middle font-semibold whitespace-nowrap text-neutral-900"
|
|
|
|
|
href={resetlink}
|
|
|
|
|
>
|
|
|
|
|
Clicca qui per il reset della password
|
|
|
|
|
</Button>
|
|
|
|
|
</Section>
|
|
|
|
|
</Section>
|
|
|
|
|
</>
|
|
|
|
|
</Base>
|
|
|
|
|
);
|
2025-08-04 17:45:44 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export default PwResetLink;
|