diff --git a/apps/web/pages/dashboard.tsx b/apps/web/pages/dashboard.tsx index 9dbb3ad6e..acfbe14bb 100644 --- a/apps/web/pages/dashboard.tsx +++ b/apps/web/pages/dashboard.tsx @@ -4,21 +4,89 @@ import type { ReactElement } from "react"; import Layout from "../components/layout"; import Settings from "../components/settings"; import type { NextPageWithLayout } from "./_app"; +import { + CheckIcon, + PaperAirplaneIcon, + SunIcon, +} from "@heroicons/react/24/outline"; const DashboardPage: NextPageWithLayout = () => { const status = useSession(); + const stats = [ + { name: "New", stat: "0", icon: SunIcon }, + { name: "Sent", stat: "0", icon: PaperAirplaneIcon }, + { name: "Signed", stat: "0", icon: CheckIcon }, + ]; return ( <> Dashboard | Documenso -
-

This is the dashboard page.

-
Mail: {status?.data?.user?.email?.toString()}
-
{status.status}
+
+
+

+ Dashboard +

+
+
+ {stats.map((item) => ( +
+
+ + {item.name} +
+
+ {item.stat} +
+
+ ))} +
+
+ +
); + + + ; }; // todo layout as component diff --git a/apps/web/pages/documents.tsx b/apps/web/pages/documents.tsx index db4e5dbba..86c87bc7a 100644 --- a/apps/web/pages/documents.tsx +++ b/apps/web/pages/documents.tsx @@ -5,6 +5,7 @@ import Settings from "../components/settings"; import type { NextPageWithLayout } from "./_app"; import { SessionProvider } from "next-auth/react"; import Head from "next/head"; +import { PlusIcon } from "@heroicons/react/24/outline"; const DocumentsPage: NextPageWithLayout = () => { const { data: session } = useSession(); @@ -14,7 +15,36 @@ const DocumentsPage: NextPageWithLayout = () => { Documents | Documenso - This is the documents page + +
+ + +

No documents

+

+ Get started by creating a new document. +

+
+ +
+
); };