added pagination for market list

This commit was merged in pull request #670.
This commit is contained in:
victorAnumudu
2024-03-23 20:06:30 +01:00
parent e87cb95b43
commit 48a50fd47c
5 changed files with 24 additions and 7 deletions
+12 -4
View File
@@ -96,7 +96,9 @@ export default function MainSection({
</div>
{/* end of contentDisplay toggler */}
</div>
<div className="filter-navigate-content w-full min-h-screen">
{/* OLD MARKET JOB LISTING */}
{/* <div className="filter-navigate-content w-full min-h-screen">
<div
className={
contentDisplay == "grid"
@@ -120,8 +122,10 @@ export default function MainSection({
)}
</DataIteration>
</div>
</div>
{/* {products?.length &&
</div> */}
{/* END OF OLD MARKET JOB LISTING */}
{products?.length ?
<NewPaginatedList
data={products}
itemsPerPage={6}
@@ -154,7 +158,11 @@ export default function MainSection({
)
}
</NewPaginatedList>
} */}
:
<div className="w-full h-[40rem] bg-white dark:bg-dark-white flex justify-center items-center">
No Jobs Found!
</div>
}
</div>
</div>
);