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,4 @@
import type { Metadata } from 'next';
import Link from 'next/link';
import { getRequiredServerComponentSession } from '@documenso/lib/next-auth/get-server-component-session';
@ -25,6 +26,9 @@ export type DocumentsPageProps = {
};
};
export const metadata: Metadata = {
title: 'Documents',
};
export default async function DocumentsPage({ searchParams = {} }: DocumentsPageProps) {
const { user } = await getRequiredServerComponentSession();