From ea75e6f7f8d70a5e741d4e27490f6b9805227b9c Mon Sep 17 00:00:00 2001 From: ImAlpha Date: Mon, 30 Oct 2023 23:05:05 -0700 Subject: [PATCH] react components --- .../nextjs-dashboard/app/dashboard/page.tsx | 34 ++++++++++++++++--- 1 file changed, 29 insertions(+), 5 deletions(-) diff --git a/Websites/nextjs-dashboard/app/dashboard/page.tsx b/Websites/nextjs-dashboard/app/dashboard/page.tsx index fd9d5c1..8acdcfd 100644 --- a/Websites/nextjs-dashboard/app/dashboard/page.tsx +++ b/Websites/nextjs-dashboard/app/dashboard/page.tsx @@ -1,7 +1,31 @@ -import React from "react"; +import { Card } from '@/app/ui/dashboard/cards'; +import RevenueChart from '@/app/ui/dashboard/revenue-chart'; +import LatestInvoices from '@/app/ui/dashboard/latest-invoices'; +import { lusitana } from '@/app/ui/fonts'; +import { fetchRevenue } from '../lib/data'; -const page = () => { - return

Dashboard Page

; -}; +export default async function Page() { + const revenue = await fetchRevenue(); -export default page; + return ( +
+

+ Dashboard +

+
+ {/* */} + {/* */} + {/* */} + {/* */} +
+
+ {/* */} + {/* */} +
+
+ ); +} \ No newline at end of file