review fixes

This commit is contained in:
x032205
2025-10-10 14:37:52 -04:00
parent e752391dbf
commit 2f01d096c6
7 changed files with 36 additions and 22 deletions
@@ -4,7 +4,7 @@ import { BaseEmailWrapper, BaseEmailWrapperProps } from "./BaseEmailWrapper";
import { BaseLink } from "./BaseLink";
interface HealthAlertTemplateProps extends Omit<BaseEmailWrapperProps, "title" | "preview" | "children"> {
type: "gateway" | "relay";
type: "gateway" | "relay" | "instance-relay";
names: string;
}
@@ -24,8 +24,14 @@ export const HealthAlertTemplate = ({ siteUrl, names, type }: HealthAlertTemplat
heartbeat in over an hour: <strong>{names}</strong>.
</Text>
<Text className="text-black text-[14px] leading-[24px]">
If your issue persists, you can contact the Infisical team at{" "}
<BaseLink href="mailto:[email protected]">[email protected]</BaseLink>.
{type === "instance-relay" && (
<>
If your issue persists, you can contact the Infisical team at{" "}
<BaseLink href="mailto:[email protected]">[email protected]</BaseLink>.
</>
)}
{type === "relay" && <>Please contact your relay administrators.</>}
{type === "gateway" && <>Please contact your gateway administrators.</>}
</Text>
</Section>
</BaseEmailWrapper>