mirror of
https://github.com/hanzoai/sign.git
synced 2026-11-02 23:26:15 +00:00
Mechanical brand swap across user-visible strings only. Internal package identifiers (@hanzo/sign-*), database column names, and upstream npm package names are unchanged so existing installs and APIs keep working. - 'Hanzo Sign' → 'Hanzo eSign' in README, docs, marketing pages, email copy, UI strings, page titles, meta tags, alt text. - sign.hanzo.ai → esign.hanzo.ai on every marketing link, FROM_ADDRESS fallback ([email protected]), support email, OAuth callback hosts, documentation domain, OG image URL. - github.com/hanzoai/sign → github.com/hanzoai/esign in README badges, CONTRIBUTING, docs, deploy workflow, openpage-api github proxy routes.
52 lines
1.4 KiB
TypeScript
52 lines
1.4 KiB
TypeScript
import { Trans } from '@lingui/react/macro';
|
|
|
|
import { Link, Section, Text } from '../components';
|
|
import { useBranding } from '../providers/branding';
|
|
|
|
export type TemplateFooterProps = {
|
|
isDocument?: boolean;
|
|
};
|
|
|
|
export const TemplateFooter = ({ isDocument = true }: TemplateFooterProps) => {
|
|
const branding = useBranding();
|
|
|
|
return (
|
|
<Section>
|
|
{isDocument && !branding.brandingHidePoweredBy && (
|
|
<Text className="my-4 text-base text-slate-400">
|
|
<Trans>
|
|
This document was sent using{' '}
|
|
<Link className="text-[#7AC455]" href="https://esign.hanzo.ai/mail-footer">
|
|
Hanzo eSign
|
|
</Link>
|
|
.
|
|
</Trans>
|
|
</Text>
|
|
)}
|
|
|
|
{branding.brandingEnabled && branding.brandingCompanyDetails && (
|
|
<Text className="my-8 text-sm text-slate-400">
|
|
{branding.brandingCompanyDetails.split('\n').map((line, idx) => {
|
|
return (
|
|
<>
|
|
{idx > 0 && <br />}
|
|
{line}
|
|
</>
|
|
);
|
|
})}
|
|
</Text>
|
|
)}
|
|
|
|
{!branding.brandingEnabled && (
|
|
<Text className="my-8 text-sm text-slate-400">
|
|
Hanzo eSign, Inc.
|
|
<br />
|
|
2261 Market Street, #5211, San Francisco, CA 94114, USA
|
|
</Text>
|
|
)}
|
|
</Section>
|
|
);
|
|
};
|
|
|
|
export default TemplateFooter;
|