mirror of
https://github.com/hanzoai/sign.git
synced 2026-10-21 01:21:51 +00:00
The product is branded Hanzo eSign (esign.hanzo.ai, repo hanzoai/esign). Rename all workspace packages @hanzo/sign-* → @hanzo/esign-* (1052 files) and align docker/Dockerfile turbo --scope/--filter to the actual remix package name @hanzo/esign (was a pre-existing mismatch with -remix that broke the build). Protected deps (@hanzo/insights, @hanzo/logo) untouched.
37 lines
1.2 KiB
TypeScript
37 lines
1.2 KiB
TypeScript
import { Trans } from '@lingui/react/macro';
|
|
import type { Signature } from '@prisma/client';
|
|
|
|
import signingCelebration from '@hanzo/esign-assets/images/signing-celebration.png';
|
|
import { SigningCard3D } from '@hanzo/esign-ui/components/signing-card';
|
|
|
|
export type EmbedDocumentCompletedPageProps = {
|
|
name?: string;
|
|
signature?: Signature;
|
|
};
|
|
|
|
export const EmbedDocumentCompleted = ({ name, signature }: EmbedDocumentCompletedPageProps) => {
|
|
return (
|
|
<div className="embed--DocumentCompleted relative mx-auto flex min-h-[100dvh] max-w-screen-lg flex-col items-center justify-center p-6">
|
|
<h3 className="text-foreground text-2xl font-semibold">
|
|
<Trans>Document Completed!</Trans>
|
|
</h3>
|
|
|
|
<div className="mt-8 w-full max-w-md">
|
|
<SigningCard3D
|
|
className="mx-auto w-full"
|
|
name={name || 'Hanzo eSign'}
|
|
signature={signature}
|
|
signingCelebrationImage={signingCelebration}
|
|
/>
|
|
</div>
|
|
|
|
<p className="text-muted-foreground mt-8 max-w-[50ch] text-center text-sm">
|
|
<Trans>
|
|
The document is now completed, please follow any instructions provided within the parent
|
|
application.
|
|
</Trans>
|
|
</p>
|
|
</div>
|
|
);
|
|
};
|