import { useSession } from "next-auth/react"; 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"; import { BellSnoozeIcon, CheckBadgeIcon, EnvelopeIcon, EyeIcon, PaperAirplaneIcon, SunIcon, XCircleIcon, } from "@heroicons/react/24/outline"; const DashboardPage: NextPageWithLayout = () => { const status = useSession(); const stats = [ { name: "Draft", stat: "0", icon: SunIcon }, { name: "Sent", stat: "0", icon: EnvelopeIcon }, { name: "Viewed", stat: "0", icon: EyeIcon }, { name: "Signed", stat: "0", icon: CheckBadgeIcon }, { name: "Expired", stat: "0", icon: BellSnoozeIcon }, { name: "Declined", stat: "0", icon: XCircleIcon }, ]; return ( <> Dashboard | Documenso

Dashboard

{stats.map((item) => (
{item.name}
{item.stat}
))}
); }; // todo layout as component DashboardPage.getLayout = function getLayout(page: ReactElement) { return {page}; }; export default DashboardPage;