feat: add page title translations (#2629)

This commit is contained in:
David Nguyen
2026-03-19 15:44:53 +11:00
committed by GitHub
parent 4f8132be61
commit e87aa29823
53 changed files with 761 additions and 121 deletions
+4 -2
View File
@@ -1,12 +1,14 @@
import { type MessageDescriptor, i18n } from '@lingui/core';
import { NEXT_PUBLIC_WEBAPP_URL } from '@documenso/lib/constants/app';
export const appMetaTags = (title?: string) => {
export const appMetaTags = (title?: MessageDescriptor) => {
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',
title: title ? `${i18n._(title)} - Documenso` : 'Documenso',
},
{
name: 'description',