SubscriptionDowngradeEmail.tsx 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. import Link from "next/link";
  2. import { Section, Text } from "@react-email/components";
  3. import { getServerUrl } from "@/shared/lib/server-url";
  4. import { SiteConfig } from "@/shared/config/site-config";
  5. import { BaseEmailLayout } from "./utils/BaseEmailLayout";
  6. export default function SubscribtionDowngradeEmail() {
  7. return (
  8. <BaseEmailLayout previewText={"Your Premium Access Has Been Paused"}>
  9. <Section className="my-6">
  10. <Text className="text-lg leading-6">Hello,</Text>
  11. <Text className="text-lg leading-6">
  12. {
  13. "We're reaching out to inform you that your account has reverted to our basic access level. This change is due to the recent issues with your premium subscription payment."
  14. }
  15. </Text>
  16. <Text className="text-lg leading-6">
  17. {
  18. "While you'll still enjoy our core services, access to premium features is now limited. We'd love to have you back in our premium community!"
  19. }
  20. </Text>
  21. <Text className="text-lg leading-6">To reactivate your premium status, simply update your payment information here:</Text>
  22. <Text className="text-lg leading-6">
  23. <Link className="text-sky-500 hover:underline" href={`${getServerUrl()}/account/billing`}>
  24. Click to Update Payment and Keep Using ${SiteConfig.title}
  25. </Link>
  26. </Text>
  27. <Text className="text-lg leading-6">If you have any questions or need assistance, our team is always here to help.</Text>
  28. </Section>
  29. <Text className="text-lg leading-6">
  30. Best,
  31. <br />- {SiteConfig.maker.name} from {SiteConfig.title}
  32. </Text>
  33. </BaseEmailLayout>
  34. );
  35. }