mirror of
https://github.com/documenso/documenso.git
synced 2026-07-27 02:15:05 +10:00
138d663c25
Merge origin/main into feat/external-2fa-codes. Resolve formatting conflicts caused by biome rollout; preserve both feature streams: PR's external 2FA token + signing-session 2FA proof additions plus main's RateLimit/RecipientExpired/signingReminders/date-auto-insert. In complete-document-with-token.ts, drop the duplicate early field-fetching block introduced when main moved that logic later with date auto-insert support; keep the EXTERNAL_TWO_FACTOR_AUTH check using derivedRecipientActionAuth.
29 lines
1.1 KiB
TypeScript
29 lines
1.1 KiB
TypeScript
import { cn } from '@documenso/ui/lib/utils';
|
|
|
|
import { Trans } from '@lingui/react/macro';
|
|
import type { HTMLAttributes } from 'react';
|
|
import { Link } from 'react-router';
|
|
|
|
export type DocumentSigningDisclosureProps = HTMLAttributes<HTMLParagraphElement>;
|
|
|
|
export const DocumentSigningDisclosure = ({ className, ...props }: DocumentSigningDisclosureProps) => {
|
|
return (
|
|
<p className={cn('text-muted-foreground text-xs', className)} {...props}>
|
|
<Trans>
|
|
By proceeding with your electronic signature, you acknowledge and consent that it will be used to sign the given
|
|
document and holds the same legal validity as a handwritten signature. By completing the electronic signing
|
|
process, you affirm your understanding and acceptance of these conditions.
|
|
</Trans>
|
|
<span className="mt-2 block">
|
|
<Trans>
|
|
Read the full{' '}
|
|
<Link className="text-documenso-700 underline" to="/articles/signature-disclosure" target="_blank">
|
|
signature disclosure
|
|
</Link>
|
|
.
|
|
</Trans>
|
|
</span>
|
|
</p>
|
|
);
|
|
};
|