import { Text } from "@react-email/components" import { LinkButton } from "../ui/Button" import { Heading } from "../ui/Heading" import { Layout } from "../ui/Layout" import { Link } from "../ui/Link" type ResetPasswordProps = { project_name: string username: string link: string valid_hours: string } export default function ResetPassword({ project_name = "{{ project_name }}", username = "{{ username }}", link = "{{ link }}", valid_hours = "{{ valid_hours }}", }: ResetPasswordProps) { return ( Reset your password Hi {username}, We've received a request to reset the password for your {project_name}{" "} account. Choose a new one by clicking the button below: Reset password Or copy and paste this link into your browser:
{link}
This link will expire in {valid_hours} hours. If you didn't request a password recovery, you can safely ignore this email.
) } const bodyTextStyle = { color: "#334155", fontSize: "15px", lineHeight: "26px", margin: "0 0 18px", } const supportingTextStyle = { color: "#64748b", fontSize: "14px", lineHeight: "23px", margin: "0 0 16px", }