2025-07-13 21:57:24 -07:00
|
|
|
import React from "react";
|
|
|
|
import { Body, Head, Html, Preview, Tailwind } from "@react-email/components";
|
2025-01-04 20:22:01 -05:00
|
|
|
import { themeColors } from "./lib/theme";
|
|
|
|
import {
|
|
|
|
EmailContainer,
|
|
|
|
EmailFooter,
|
|
|
|
EmailGreeting,
|
|
|
|
EmailHeading,
|
|
|
|
EmailLetterHead,
|
2025-01-05 00:06:24 -05:00
|
|
|
EmailSignature,
|
2025-01-04 20:22:01 -05:00
|
|
|
EmailText
|
|
|
|
} from "./components/Email";
|
2024-12-22 17:27:09 -05:00
|
|
|
|
|
|
|
interface Props {
|
|
|
|
email: string;
|
|
|
|
}
|
|
|
|
|
|
|
|
export const ConfirmPasswordReset = ({ email }: Props) => {
|
2025-07-13 21:57:24 -07:00
|
|
|
const previewText = `Your password has been successfully reset.`;
|
2024-12-22 17:27:09 -05:00
|
|
|
|
|
|
|
return (
|
|
|
|
<Html>
|
|
|
|
<Head />
|
|
|
|
<Preview>{previewText}</Preview>
|
2025-01-04 20:22:01 -05:00
|
|
|
<Tailwind config={themeColors}>
|
2025-07-13 21:57:24 -07:00
|
|
|
<Body className="font-sans bg-gray-50">
|
2025-01-04 20:22:01 -05:00
|
|
|
<EmailContainer>
|
|
|
|
<EmailLetterHead />
|
|
|
|
|
2025-07-13 21:57:24 -07:00
|
|
|
{/* <EmailHeading>Password Successfully Reset</EmailHeading> */}
|
2025-01-04 20:22:01 -05:00
|
|
|
|
2025-07-13 21:57:24 -07:00
|
|
|
<EmailGreeting>Hi there,</EmailGreeting>
|
2024-12-30 23:41:06 -05:00
|
|
|
|
2025-01-04 20:22:01 -05:00
|
|
|
<EmailText>
|
2025-07-13 21:57:24 -07:00
|
|
|
Your password has been successfully reset. You can
|
|
|
|
now sign in to your account using your new password.
|
2025-01-04 20:22:01 -05:00
|
|
|
</EmailText>
|
|
|
|
|
|
|
|
<EmailText>
|
2025-07-13 21:57:24 -07:00
|
|
|
If you didn't make this change, please contact our
|
|
|
|
support team immediately to secure your account.
|
2025-01-04 20:22:01 -05:00
|
|
|
</EmailText>
|
|
|
|
|
|
|
|
<EmailFooter>
|
2025-01-05 00:06:24 -05:00
|
|
|
<EmailSignature />
|
2025-01-04 20:22:01 -05:00
|
|
|
</EmailFooter>
|
|
|
|
</EmailContainer>
|
2024-12-22 17:27:09 -05:00
|
|
|
</Body>
|
|
|
|
</Tailwind>
|
|
|
|
</Html>
|
|
|
|
);
|
|
|
|
};
|
|
|
|
|
|
|
|
export default ConfirmPasswordReset;
|