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.
15 lines
635 B
TypeScript
15 lines
635 B
TypeScript
import { env } from '@hanzo/esign-lib/utils/env';
|
|
|
|
/**
|
|
* The tenant's wordmark and company, read at runtime so one image serves every tenant.
|
|
*
|
|
* NEXT_PUBLIC_APP_NAME the wordmark, e.g. "Hanzo eSign" | "Acme Sign"
|
|
* NEXT_PUBLIC_COMPANY_NAME the holder of the copyright line, e.g. "Hanzo AI, Inc."
|
|
*
|
|
* `env` reads `window.__ENV__` in the browser, so these are deployment values,
|
|
* never baked into the bundle. This is the one place they are resolved.
|
|
*/
|
|
export const appName = () => env('NEXT_PUBLIC_APP_NAME') || 'Hanzo eSign';
|
|
|
|
export const companyName = () => env('NEXT_PUBLIC_COMPANY_NAME') || 'Hanzo AI, Inc.';
|