-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.js
26 lines (25 loc) · 793 Bytes
/
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
import Head from "next/head";
import Header from "@/components/Header";
import TopCards from "@/components/TopCards";
import BarChart from "@/components/BarChart";
import RecentOrders from "@/components/RecentOrders";
export default function Home() {
return (
<>
<Head>
<title>Nextjs User Dashboard</title>
<meta name="description" content="User Dashboard by Next.js" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="icon" href="/favicon.ico" />
</Head>
<main className="bg-gray-100 min-h-screen">
<Header />
<TopCards />
<div className="p-4 grid md:grid-cols-3 grid-cols-1 gap-4">
<BarChart />
<RecentOrders />
</div>
</main>
</>
);
}