mirror of
https://github.com/documenso/documenso.git
synced 2025-11-21 12:11:29 +10:00
fix: meta
This commit is contained in:
@ -30,6 +30,7 @@ import { RefreshOnFocus } from './components/general/refresh-on-focus';
|
||||
import { PostHogPageview } from './providers/posthog';
|
||||
import { langCookie } from './storage/lang-cookie.server';
|
||||
import { themeSessionResolver } from './storage/theme-session.server';
|
||||
import { appMetaTags } from './utils/meta';
|
||||
|
||||
const { trackPageview } = Plausible({
|
||||
domain: 'documenso.com',
|
||||
@ -53,36 +54,9 @@ export const links: Route.LinksFunction = () => [
|
||||
{ rel: 'stylesheet', href: stylesheet },
|
||||
];
|
||||
|
||||
// Todo: Meta data.
|
||||
// export function generateMetadata() {
|
||||
// return {
|
||||
// title: {
|
||||
// template: '%s - Documenso',
|
||||
// default: 'Documenso',
|
||||
// },
|
||||
// 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.',
|
||||
// keywords:
|
||||
// 'Documenso, open source, DocuSign alternative, document signing, open signing infrastructure, open-source community, fast signing, beautiful signing, smart templates',
|
||||
// authors: { name: 'Documenso, Inc.' },
|
||||
// robots: 'index, follow',
|
||||
// metadataBase: new URL(NEXT_PUBLIC_WEBAPP_URL() ?? 'http://localhost:3000'),
|
||||
// openGraph: {
|
||||
// title: 'Documenso - The Open Source DocuSign Alternative',
|
||||
// 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.',
|
||||
// type: 'website',
|
||||
// images: ['/opengraph-image.jpg'],
|
||||
// },
|
||||
// twitter: {
|
||||
// site: '@documenso',
|
||||
// card: 'summary_large_image',
|
||||
// images: ['/opengraph-image.jpg'],
|
||||
// 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.',
|
||||
// },
|
||||
// };
|
||||
// }
|
||||
export function meta() {
|
||||
return appMetaTags();
|
||||
}
|
||||
|
||||
export async function loader({ request }: Route.LoaderArgs) {
|
||||
const session = getOptionalLoaderSession();
|
||||
|
||||
Reference in New Issue
Block a user