feat(MED-48): add synlab analysis package email

This commit is contained in:
2025-07-24 07:59:17 +03:00
parent 2db67b7f20
commit 8633ac4bce
9 changed files with 162 additions and 2 deletions

View File

@@ -0,0 +1,22 @@
import { TFunction } from "i18next";
import { Text } from "@react-email/components";
import { EmailFooter } from "./footer";
export default function CommonFooter({ t }: { t: TFunction }) {
const namespace = 'common';
const lines = [
t(`${namespace}:footer.lines1`),
t(`${namespace}:footer.lines2`),
t(`${namespace}:footer.lines3`),
t(`${namespace}:footer.lines4`),
];
return (
<EmailFooter>
{lines.map((line, index) => (
<Text key={index} className="text-[16px] leading-[24px] text-[#242424]" dangerouslySetInnerHTML={{ __html: line }} />
))}
</EmailFooter>
)
}

View File

@@ -2,7 +2,7 @@ import { Container, Text } from '@react-email/components';
export function EmailFooter(props: React.PropsWithChildren) {
return (
<Container>
<Container className="mt-[24px]">
<Text className="px-4 text-[12px] leading-[20px] text-gray-300">
{props.children}
</Text>