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.
33 lines
999 B
TypeScript
33 lines
999 B
TypeScript
import { Trans } from '@lingui/react/macro';
|
|
|
|
import { Alert, AlertDescription } from '@hanzo/esign-ui/primitives/alert';
|
|
|
|
import { SignInForm } from '~/components/forms/signin';
|
|
import { BrandingLogo } from '~/components/general/branding-logo';
|
|
|
|
export type EmbedAuthenticationRequiredProps = {
|
|
email?: string;
|
|
returnTo: string;
|
|
};
|
|
|
|
export const EmbedAuthenticationRequired = ({ returnTo }: EmbedAuthenticationRequiredProps) => {
|
|
return (
|
|
<div className="flex min-h-[100dvh] w-full items-center justify-center">
|
|
<div className="flex w-full max-w-md flex-col">
|
|
<BrandingLogo className="h-8" />
|
|
|
|
<Alert className="mt-8" variant="warning">
|
|
<AlertDescription>
|
|
<Trans>
|
|
To view this document you need to be signed into your account, please sign in to
|
|
continue.
|
|
</Trans>
|
|
</AlertDescription>
|
|
</Alert>
|
|
|
|
<SignInForm className="mt-4" returnTo={returnTo} />
|
|
</div>
|
|
</div>
|
|
);
|
|
};
|