mirror of
https://github.com/hanzoai/sign.git
synced 2026-10-21 01:21:51 +00:00
The wordmark was an SVG that guessed its own width, and clipped the name to "Hanzo Sigı". It is now text: NEXT_PUBLIC_APP_NAME, "Hanzo eSign" by default, measured by the browser and sized by the caller, with no mark in front of it anywhere. The mobile menu and the public profile header drew the upstream Documenso logo; the emails and the sealed PDF's certificate and audit log drew it too, from static/logo.png, which is now the wordmark set in Zen. The app header is hanzo.ai's: the wordmark at the left, quiet nav, pill controls at the right, a hairline under it. A visitor without a session sees the same bar with the wordmark alone, and a footer with the copyright and hanzo.ai's terms and privacy policy, on sign-in, the other unauthenticated pages, a recipient's completion and result pages and public profiles. The signing pages keep their own bar, which now shows the wordmark at every width.
33 lines
1004 B
TypeScript
33 lines
1004 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="text-2xl" />
|
|
|
|
<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>
|
|
);
|
|
};
|