mirror of
https://github.com/documenso/documenso.git
synced 2025-11-23 05:01:54 +10:00
page titles and nav
This commit is contained in:
@ -1,10 +1,20 @@
|
||||
import Head from "next/head";
|
||||
import type { ReactElement } from "react";
|
||||
import Layout from "../components/layout";
|
||||
import Settings from "../components/settings";
|
||||
import type { NextPageWithLayout } from "./_app";
|
||||
|
||||
const DashboardPage: NextPageWithLayout = () => {
|
||||
return <>This is the dashboard page.</>;
|
||||
return (
|
||||
<>
|
||||
<Head>
|
||||
<title>Dashboard | Documenso</title>
|
||||
</Head>
|
||||
<div>
|
||||
<p>This is the dashboard page.</p>
|
||||
</div>
|
||||
</>
|
||||
);
|
||||
};
|
||||
|
||||
DashboardPage.getLayout = function getLayout(page: ReactElement) {
|
||||
|
||||
@ -4,11 +4,19 @@ import Layout from "../components/layout";
|
||||
import Settings from "../components/settings";
|
||||
import type { NextPageWithLayout } from "./_app";
|
||||
import { SessionProvider } from "next-auth/react";
|
||||
import Head from "next/head";
|
||||
|
||||
const DocumentsPage: NextPageWithLayout = () => {
|
||||
const { data: session } = useSession();
|
||||
|
||||
return <>This is the documents page</>;
|
||||
return (
|
||||
<>
|
||||
<Head>
|
||||
<title>Documents | Documenso</title>
|
||||
</Head>
|
||||
This is the documents page
|
||||
</>
|
||||
);
|
||||
};
|
||||
|
||||
DocumentsPage.getLayout = function getLayout(page: ReactElement) {
|
||||
|
||||
@ -1,8 +1,12 @@
|
||||
import Head from "next/head";
|
||||
import Login from "../components/login";
|
||||
|
||||
export default function LoginPage() {
|
||||
return (
|
||||
<>
|
||||
<Head>
|
||||
<title>Login | Documenso</title>
|
||||
</Head>
|
||||
<Login></Login>
|
||||
</>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user