mirror of
https://github.com/documenso/documenso.git
synced 2025-11-13 00:03:33 +10:00
62 lines
1.7 KiB
TypeScript
62 lines
1.7 KiB
TypeScript
import { NEXT_PUBLIC_WEBAPP_URL } from '@documenso/lib/constants/app';
|
|
|
|
export const appMetaTags = (title?: string) => {
|
|
const description =
|
|
'Join Documenso, the open signing infrastructure, and get a 10x better signing experience. Pricing starts at $30/mo. forever! Sign in now and enjoy a faster, smarter, and more beautiful document signing process. Integrates with your favorite tools, customizable, and expandable. Support our mission and become a part of our open-source community.';
|
|
|
|
return [
|
|
{
|
|
title: title ? `${title} - Documenso` : 'Documenso',
|
|
},
|
|
{
|
|
name: 'description',
|
|
content: description,
|
|
},
|
|
{
|
|
name: 'keywords',
|
|
content:
|
|
'Documenso, open source, DocuSign alternative, document signing, open signing infrastructure, open-source community, fast signing, beautiful signing, smart templates',
|
|
},
|
|
{
|
|
name: 'author',
|
|
content: 'Documenso, Inc.',
|
|
},
|
|
{
|
|
name: 'robots',
|
|
content: 'index, follow',
|
|
},
|
|
{
|
|
property: 'og:title',
|
|
content: 'Documenso - The Open Source DocuSign Alternative',
|
|
},
|
|
{
|
|
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: '@documenso',
|
|
},
|
|
{
|
|
name: 'twitter:description',
|
|
content: description,
|
|
},
|
|
{
|
|
name: 'twitter:image',
|
|
content: `${NEXT_PUBLIC_WEBAPP_URL()}/opengraph-image.jpg`,
|
|
},
|
|
];
|
|
};
|