chore: add title and description to individual pages (#847)

Add Title and Description to Individual Pages.
eg:- Security | Documenso, Profile | Documenso etc.
This commit is contained in:
Anik Dhabal Babu
2024-01-29 12:23:44 +05:30
committed by GitHub
parent f3df0d9c13
commit 9d6ee94708
21 changed files with 104 additions and 7 deletions

View File

@ -1,3 +1,5 @@
import type { Metadata } from 'next';
import { IDENTITY_PROVIDER_NAME } from '@documenso/lib/constants/auth';
import { getRequiredServerComponentSession } from '@documenso/lib/next-auth/get-server-component-session';
@ -5,6 +7,10 @@ import { AuthenticatorApp } from '~/components/forms/2fa/authenticator-app';
import { RecoveryCodes } from '~/components/forms/2fa/recovery-codes';
import { PasswordForm } from '~/components/forms/password';
export const metadata: Metadata = {
title: 'Security',
};
export default async function SecuritySettingsPage() {
const { user } = await getRequiredServerComponentSession();