Skip to content

The Open Source DocuSign Alternative.

chore: merged main

Catalin Pitc0bb5205e18d
diff --cc apps/web/src/app/(unauthenticated)/signin/page.tsx
index bbea70ecb,1332a3f37..11f47d734
--- a/apps/web/src/app/(unauthenticated)/signin/page.tsx
+++ b/apps/web/src/app/(unauthenticated)/signin/page.tsx
@@@ -1,14 -1,15 +1,19 @@@
+ import type { Metadata } from 'next';
import Link from 'next/link';
+import { env } from 'next-runtime-env';
+
import { IS_GOOGLE_SSO_ENABLED } from '@documenso/lib/constants/auth';
import { SignInForm } from '~/components/forms/signin';
+ export const metadata: Metadata = {
+ title: 'Sign In',
+ };
+
export default function SignInPage() {
+ const NEXT_PUBLIC_DISABLE_SIGNUP = env('NEXT_PUBLIC_DISABLE_SIGNUP');
+
return (
<div>
<h1 className="text-4xl font-semibold">Sign in to your account</h1>
diff --cc apps/web/src/app/(unauthenticated)/signup/page.tsx
index e6e8b0176,c6d49f891..2387b1c96
--- a/apps/web/src/app/(unauthenticated)/signup/page.tsx
+++ b/apps/web/src/app/(unauthenticated)/signup/page.tsx
@@@ -7,10 -6,12 +8,14 @@@ import { IS_GOOGLE_SSO_ENABLED } from '
import { SignUpForm } from '~/components/forms/signup';
+ export const metadata: Metadata = {
+ title: 'Sign Up',
+ };
+
export default function SignUpPage() {
- if (process.env.NEXT_PUBLIC_DISABLE_SIGNUP === 'true') {
+ const NEXT_PUBLIC_DISABLE_SIGNUP = env('NEXT_PUBLIC_DISABLE_SIGNUP');
+
+ if (NEXT_PUBLIC_DISABLE_SIGNUP === 'true') {
redirect('/signin');
}
diff --cc apps/web/src/app/layout.tsx
index f36d59353,17f92fa2b..1e6619a46
--- a/apps/web/src/app/layout.tsx
+++ b/apps/web/src/app/layout.tsx
@@@ -21,10 -19,11 +21,13 @@@ import './globals.css'
const fontInter = Inter({ subsets: ['latin'], variable: '--font-sans' });
const fontCaveat = Caveat({ subsets: ['latin'], variable: '--font-signature' });
+const NEXT_PUBLIC_WEBAPP_URL = env('NEXT_PUBLIC_WEBAPP_URL');
+
export const metadata = {
- title: 'Documenso - The Open Source DocuSign Alternative',
+ 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: