Files
sign/apps/remix/app/components/general/document-signing/document-signing-disclosure.tsx

38 lines
1.1 KiB
TypeScript
Raw Normal View History

2024-04-02 14:16:36 +07:00
import type { HTMLAttributes } from 'react';
2025-01-02 15:33:37 +11:00
import { Trans } from '@lingui/react/macro';
import { Link } from 'react-router';
2024-04-02 14:16:36 +07:00
import { cn } from '@documenso/ui/lib/utils';
2025-01-02 15:33:37 +11:00
export type DocumentSigningDisclosureProps = HTMLAttributes<HTMLParagraphElement>;
2024-04-02 14:16:36 +07:00
2025-01-02 15:33:37 +11:00
export const DocumentSigningDisclosure = ({
className,
...props
}: DocumentSigningDisclosureProps) => {
2024-04-02 14:16:36 +07:00
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>
2024-04-02 14:16:36 +07:00
<span className="mt-2 block">
<Trans>
Read the full{' '}
<Link
className="text-documenso-700 underline"
2025-01-02 15:33:37 +11:00
to="/articles/signature-disclosure"
target="_blank"
>
signature disclosure
</Link>
.
</Trans>
2024-04-02 14:16:36 +07:00
</span>
</p>
);
};