Home banners

This commit is contained in:
CHIEFSOFT\ameye
2023-05-20 02:33:53 -04:00
parent d692c63cfd
commit 376a72bd55
5 changed files with 59 additions and 24 deletions
+29 -8
View File
@@ -13,7 +13,10 @@ import usersService from "../../services/UsersService";
import { useSelector } from "react-redux";
export default function Home() {
export default function Home(props) {
console.log("PROPS IN HOME->",props);
const trending = datas.datas;
const jobData = datas.datas; // api calls or cache
//getHomeDate
@@ -25,16 +28,34 @@ export default function Home() {
return (
<Layout>
<div className="home-page-wrapper">
<Hero className="mb-10" data={userDetails} />
{/* <CreateNft />
<TrendingSection trending={trending} className="mb-10" />*/}
<Hero className="mb-10"
data={userDetails}
bannerList={props.bannerList}
/>
<HomeTaskDisplay
jobData={jobData}
className="mb-10"/>
{/* <SellHistoryMarketVisitorAnalytic className="mb-10"/>
<TopSellerTopBuyerSliderSection className="mb-10" />
<UpdateTable className="mb-10"/>*/}
className="mb-10"
bannerList={props.bannerList}
/>
</div>
</Layout>
);
}
// /*
// <Layout>
// <div className="home-page-wrapper">
// <Hero className="mb-10" data={userDetails} />
// {/* <CreateNft />
// <TrendingSection trending={trending} className="mb-10" />*/}
// <HomeTaskDisplay
// jobData={jobData}
// className="mb-10"
// bannerList={props.bannerList}
// />
{/* <SellHistoryMarketVisitorAnalytic className="mb-10"/>
<TopSellerTopBuyerSliderSection className="mb-10" />
<UpdateTable className="mb-10"/>*/}
// </div>
// </Layout>