Skip to content

Commit

Permalink
add all dashboard pages
Browse files Browse the repository at this point in the history
  • Loading branch information
Spencer-Sch committed Dec 1, 2023
1 parent 5cbb62e commit d6337d5
Show file tree
Hide file tree
Showing 10 changed files with 190 additions and 0 deletions.
19 changes: 19 additions & 0 deletions packages/nextjs/pages/dapp/404.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
import { ReactElement } from "react";
import type { NextPageWithLayout } from "../_app";
import _404 from "~~/components/dash-wind/pages/protected/_404";
// import { MetaHeader } from "~~/components/MetaHeader";
import DashLayout from "~~/components/layouts/DashLayout";

{
/* <MetaHeader /> Look into MetaHeader - should it be moved to _app.tsx ??? */
}

const DappDashboard: NextPageWithLayout = () => {
return <_404 />;
};

DappDashboard.getLayout = function getLayout(page: ReactElement) {
return <DashLayout>{page}</DashLayout>;
};

export default DappDashboard;
19 changes: 19 additions & 0 deletions packages/nextjs/pages/dapp/blank.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
import { ReactElement } from "react";
import type { NextPageWithLayout } from "../_app";
import Blank from "~~/components/dash-wind/pages/protected/Blank";
// import { MetaHeader } from "~~/components/MetaHeader";
import DashLayout from "~~/components/layouts/DashLayout";

{
/* <MetaHeader /> Look into MetaHeader - should it be moved to _app.tsx ??? */
}

const DappDashboard: NextPageWithLayout = () => {
return <Blank />;
};

DappDashboard.getLayout = function getLayout(page: ReactElement) {
return <DashLayout>{page}</DashLayout>;
};

export default DappDashboard;
19 changes: 19 additions & 0 deletions packages/nextjs/pages/dapp/calendar.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
import { ReactElement } from "react";
import type { NextPageWithLayout } from "../_app";
import Calendar from "~~/components/dash-wind/pages/protected/Calendar";
// import { MetaHeader } from "~~/components/MetaHeader";
import DashLayout from "~~/components/layouts/DashLayout";

{
/* <MetaHeader /> Look into MetaHeader - should it be moved to _app.tsx ??? */
}

const DappDashboard: NextPageWithLayout = () => {
return <Calendar />;
};

DappDashboard.getLayout = function getLayout(page: ReactElement) {
return <DashLayout>{page}</DashLayout>;
};

export default DappDashboard;
19 changes: 19 additions & 0 deletions packages/nextjs/pages/dapp/charts.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
import { ReactElement } from "react";
import type { NextPageWithLayout } from "../_app";
import Charts from "~~/components/dash-wind/pages/protected/Charts";
// import { MetaHeader } from "~~/components/MetaHeader";
import DashLayout from "~~/components/layouts/DashLayout";

{
/* <MetaHeader /> Look into MetaHeader - should it be moved to _app.tsx ??? */
}

const DappDashboard: NextPageWithLayout = () => {
return <Charts />;
};

DappDashboard.getLayout = function getLayout(page: ReactElement) {
return <DashLayout>{page}</DashLayout>;
};

export default DappDashboard;
19 changes: 19 additions & 0 deletions packages/nextjs/pages/dapp/integration.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
import { ReactElement } from "react";
import type { NextPageWithLayout } from "../_app";
import Integration from "~~/components/dash-wind/pages/protected/Integration";
// import { MetaHeader } from "~~/components/MetaHeader";
import DashLayout from "~~/components/layouts/DashLayout";

{
/* <MetaHeader /> Look into MetaHeader - should it be moved to _app.tsx ??? */
}

const DappDashboard: NextPageWithLayout = () => {
return <Integration />;
};

DappDashboard.getLayout = function getLayout(page: ReactElement) {
return <DashLayout>{page}</DashLayout>;
};

export default DappDashboard;
19 changes: 19 additions & 0 deletions packages/nextjs/pages/dapp/leads.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
import { ReactElement } from "react";
import type { NextPageWithLayout } from "../_app";
import Leads from "~~/components/dash-wind/pages/protected/Leads";
// import { MetaHeader } from "~~/components/MetaHeader";
import DashLayout from "~~/components/layouts/DashLayout";

{
/* <MetaHeader /> Look into MetaHeader - should it be moved to _app.tsx ??? */
}

const DappDashboard: NextPageWithLayout = () => {
return <Leads />;
};

DappDashboard.getLayout = function getLayout(page: ReactElement) {
return <DashLayout>{page}</DashLayout>;
};

export default DappDashboard;
19 changes: 19 additions & 0 deletions packages/nextjs/pages/dapp/settings-billing.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
import { ReactElement } from "react";
import type { NextPageWithLayout } from "../_app";
import Bills from "~~/components/dash-wind/pages/protected/Bills";
// import { MetaHeader } from "~~/components/MetaHeader";
import DashLayout from "~~/components/layouts/DashLayout";

{
/* <MetaHeader /> Look into MetaHeader - should it be moved to _app.tsx ??? */
}

const DappDashboard: NextPageWithLayout = () => {
return <Bills />;
};

DappDashboard.getLayout = function getLayout(page: ReactElement) {
return <DashLayout>{page}</DashLayout>;
};

export default DappDashboard;
19 changes: 19 additions & 0 deletions packages/nextjs/pages/dapp/settings-profile.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
import { ReactElement } from "react";
import type { NextPageWithLayout } from "../_app";
import ProfileSettings from "~~/components/dash-wind/pages/protected/ProfileSettings";
// import { MetaHeader } from "~~/components/MetaHeader";
import DashLayout from "~~/components/layouts/DashLayout";

{
/* <MetaHeader /> Look into MetaHeader - should it be moved to _app.tsx ??? */
}

const DappDashboard: NextPageWithLayout = () => {
return <ProfileSettings />;
};

DappDashboard.getLayout = function getLayout(page: ReactElement) {
return <DashLayout>{page}</DashLayout>;
};

export default DappDashboard;
19 changes: 19 additions & 0 deletions packages/nextjs/pages/dapp/settings-team.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
import { ReactElement } from "react";
import type { NextPageWithLayout } from "../_app";
import Team from "~~/components/dash-wind/pages/protected/Team";
// import { MetaHeader } from "~~/components/MetaHeader";
import DashLayout from "~~/components/layouts/DashLayout";

{
/* <MetaHeader /> Look into MetaHeader - should it be moved to _app.tsx ??? */
}

const DappDashboard: NextPageWithLayout = () => {
return <Team />;
};

DappDashboard.getLayout = function getLayout(page: ReactElement) {
return <DashLayout>{page}</DashLayout>;
};

export default DappDashboard;
19 changes: 19 additions & 0 deletions packages/nextjs/pages/dapp/transactions.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
import { ReactElement } from "react";
import type { NextPageWithLayout } from "../_app";
import Transactions from "~~/components/dash-wind/pages/protected/Transactions";
// import { MetaHeader } from "~~/components/MetaHeader";
import DashLayout from "~~/components/layouts/DashLayout";

{
/* <MetaHeader /> Look into MetaHeader - should it be moved to _app.tsx ??? */
}

const DappDashboard: NextPageWithLayout = () => {
return <Transactions />;
};

DappDashboard.getLayout = function getLayout(page: ReactElement) {
return <DashLayout>{page}</DashLayout>;
};

export default DappDashboard;

0 comments on commit d6337d5

Please sign in to comment.