2025-01-02 15:33:37 +11:00
|
|
|
import { Trans } from '@lingui/react/macro';
|
2024-11-05 11:52:54 +11:00
|
|
|
|
2023-12-02 09:38:24 +11:00
|
|
|
import { Column, Img, Section, Text } from '../components';
|
2023-09-27 15:34:16 +10:00
|
|
|
import { TemplateDocumentImage } from './template-document-image';
|
2023-09-26 15:39:34 +10:00
|
|
|
|
2023-08-07 23:10:27 +10:00
|
|
|
export interface TemplateDocumentPendingProps {
|
|
|
|
|
documentName: string;
|
|
|
|
|
assetBaseUrl: string;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export const TemplateDocumentPending = ({
|
|
|
|
|
documentName,
|
|
|
|
|
assetBaseUrl,
|
|
|
|
|
}: TemplateDocumentPendingProps) => {
|
|
|
|
|
const getAssetUrl = (path: string) => {
|
|
|
|
|
return new URL(path, assetBaseUrl).toString();
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
return (
|
2023-12-02 09:38:24 +11:00
|
|
|
<>
|
2023-09-26 15:39:34 +10:00
|
|
|
<TemplateDocumentImage className="mt-6" assetBaseUrl={assetBaseUrl} />
|
2023-09-22 12:27:54 +00:00
|
|
|
|
|
|
|
|
<Section>
|
2023-09-26 15:39:34 +10:00
|
|
|
<Section className="mb-4">
|
|
|
|
|
<Column align="center">
|
|
|
|
|
<Text className="text-base font-semibold text-blue-500">
|
|
|
|
|
<Img
|
|
|
|
|
src={getAssetUrl('/static/clock.png')}
|
|
|
|
|
className="-mt-0.5 mr-2 inline h-7 w-7 align-middle"
|
|
|
|
|
/>
|
2024-11-05 11:52:54 +11:00
|
|
|
<Trans>Waiting for others</Trans>
|
2023-09-26 15:39:34 +10:00
|
|
|
</Text>
|
|
|
|
|
</Column>
|
|
|
|
|
</Section>
|
2023-08-07 23:10:27 +10:00
|
|
|
|
|
|
|
|
<Text className="text-primary mb-0 text-center text-lg font-semibold">
|
2024-11-05 11:52:54 +11:00
|
|
|
<Trans>“{documentName}” has been signed</Trans>
|
2023-08-07 23:10:27 +10:00
|
|
|
</Text>
|
|
|
|
|
|
|
|
|
|
<Text className="mx-auto mb-6 mt-1 max-w-[80%] text-center text-base text-slate-400">
|
2024-11-05 11:52:54 +11:00
|
|
|
<Trans>
|
|
|
|
|
We're still waiting for other signers to sign this document.
|
|
|
|
|
<br />
|
|
|
|
|
We'll notify you as soon as it's ready.
|
|
|
|
|
</Trans>
|
2023-08-07 23:10:27 +10:00
|
|
|
</Text>
|
|
|
|
|
</Section>
|
2023-12-02 09:38:24 +11:00
|
|
|
</>
|
2023-08-07 23:10:27 +10:00
|
|
|
);
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export default TemplateDocumentPending;
|