mirror of
https://github.com/hanzoai/sign.git
synced 2026-10-21 01:21:51 +00:00
Emails, the signing page's title, the sealed PDF's reason, the sign-in refusal and the dialogs still said Hanzo Sign. The catalogs change with the strings, message for message, so every translation keeps its id.
33 lines
736 B
TypeScript
33 lines
736 B
TypeScript
import { Column, Img, Row, Section } from '../components';
|
|
|
|
export interface TemplateDocumentImageProps {
|
|
assetBaseUrl: string;
|
|
className?: string;
|
|
}
|
|
|
|
export const TemplateDocumentImage = ({ assetBaseUrl, className }: TemplateDocumentImageProps) => {
|
|
const getAssetUrl = (path: string) => {
|
|
return new URL(path, assetBaseUrl).toString();
|
|
};
|
|
|
|
return (
|
|
<Section className={className}>
|
|
<Row className="table-fixed">
|
|
<Column />
|
|
|
|
<Column>
|
|
<Img
|
|
className="h-42 mx-auto"
|
|
src={getAssetUrl('/static/document.png')}
|
|
alt="Hanzo eSign"
|
|
/>
|
|
</Column>
|
|
|
|
<Column />
|
|
</Row>
|
|
</Section>
|
|
);
|
|
};
|
|
|
|
export default TemplateDocumentImage;
|