adding different components for use and starting top header

This commit is contained in:
Arjun Patel
2022-01-14 15:20:47 -08:00
parent 5e73b75d73
commit dcc3633dca
11 changed files with 217 additions and 127 deletions
+6 -1
View File
@@ -1,6 +1,7 @@
import { GetServerSidePropsContext, GetServerSidePropsResult } from "next";
import { useRouter } from "next/router";
import { useEffect, useState } from "react";
import Header from "../../components/Dashboard/Header";
import BackgroundLayout from "../../components/Layouts/BackgroundLayout";
import Loading from "../../components/Loading";
import { useAuth } from "../../contexts/authContext";
@@ -19,7 +20,11 @@ function TeamDashboard() {
console.log(teamDashboardContext);
return <div>{JSON.stringify(teamDashboardContext)}</div>;
return (
<div className="container mx-auto max-w-screen-xl py-10 px-10 flex flex-col space-y-5">
<Header />
</div>
);
}
export default function TeamDashboardWrapper() {