Files
medreport_mrb2b/packages/email-templates/src/components/common-footer.tsx
Danel Kungla 72f6f2b716 feat: create email template for TTO reservation confirmation
feat: implement order notifications service with TTO reservation confirmation handling

feat: create migration for TTO booking email webhook trigger
2025-09-30 16:05:43 +03:00

34 lines
1.1 KiB
TypeScript

import { Text } from '@react-email/components';
import { TFunction } from 'i18next';
import { EmailFooter } from './footer';
export default function CommonFooter({ t }: { t: TFunction }) {
const namespace = 'common';
return (
<EmailFooter>
<Text className="text-[16px] leading-[24px] text-[#242424]">
{t(`${namespace}:footer.title`)}
</Text>
<Text className="text-[16px] leading-[24px] text-[#242424]">
{t(`${namespace}:footer.emailField`)}{' '}
<a href={`mailto:${t(`${namespace}:footer.title`)}`}>
{t(`${namespace}:footer.email`)}
</a>
</Text>
<Text className="text-[16px] leading-[24px] text-[#242424]">
{t(`${namespace}:footer.phoneField`)}{' '}
<a href={`tel:${t(`${namespace}:footer.phone`)}`}>
{t(`${namespace}:footer.phone`)}
</a>
</Text>
<Text className="text-[16px] leading-[24px] text-[#242424]">
<a href={`https://${t(`${namespace}:footer.website`)}`}>
{t(`${namespace}:footer.website`)}
</a>
</Text>
</EmailFooter>
);
}