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.
65 lines
1.6 KiB
TypeScript
65 lines
1.6 KiB
TypeScript
import { NEXT_PUBLIC_WEBAPP_URL } from '@hanzo/esign-lib/constants/app';
|
|
import { env } from '@hanzo/esign-lib/utils/env';
|
|
|
|
const APP_NAME = env('NEXT_PUBLIC_APP_NAME') || 'Hanzo eSign';
|
|
const COMPANY_NAME = env('NEXT_PUBLIC_COMPANY_NAME') || 'Hanzo AI, Inc.';
|
|
const TWITTER_HANDLE = env('NEXT_PUBLIC_TWITTER_HANDLE') || '@hanzoai';
|
|
|
|
export const appMetaTags = (title?: string) => {
|
|
const description = `${APP_NAME} — Secure document signing infrastructure. Fast, smart, and beautiful document signing with integrations and customizable templates.`;
|
|
|
|
return [
|
|
{
|
|
title: title ? `${title} - ${APP_NAME}` : APP_NAME,
|
|
},
|
|
{
|
|
name: 'description',
|
|
content: description,
|
|
},
|
|
{
|
|
name: 'keywords',
|
|
content: `${APP_NAME}, document signing, secure signing infrastructure, smart templates, e-signatures`,
|
|
},
|
|
{
|
|
name: 'author',
|
|
content: COMPANY_NAME,
|
|
},
|
|
{
|
|
name: 'robots',
|
|
content: 'index, follow',
|
|
},
|
|
{
|
|
property: 'og:title',
|
|
content: `${APP_NAME} — Secure Document Signing Infrastructure`,
|
|
},
|
|
{
|
|
property: 'og:description',
|
|
content: description,
|
|
},
|
|
{
|
|
property: 'og:image',
|
|
content: `${NEXT_PUBLIC_WEBAPP_URL()}/opengraph-image.jpg`,
|
|
},
|
|
{
|
|
property: 'og:type',
|
|
content: 'website',
|
|
},
|
|
{
|
|
name: 'twitter:card',
|
|
content: 'summary_large_image',
|
|
},
|
|
{
|
|
name: 'twitter:site',
|
|
content: TWITTER_HANDLE,
|
|
},
|
|
{
|
|
name: 'twitter:description',
|
|
content: description,
|
|
},
|
|
{
|
|
name: 'twitter:image',
|
|
content: `${NEXT_PUBLIC_WEBAPP_URL()}/opengraph-image.jpg`,
|
|
},
|
|
];
|
|
};
|