new layout for full account offer list added
This commit was merged in pull request #263.
This commit is contained in:
@@ -37,7 +37,8 @@ export default function MyTasks({
|
||||
<div className="notification-wrapper w-full">
|
||||
{/* heading */}
|
||||
<div className="sm:flex justify-between items-center mb-6">
|
||||
<div className="w-full mb-5 sm:mb-0 flex justify-between items-center gap-1">
|
||||
{/* <div className="w-full mb-5 sm:mb-0 flex justify-between items-center gap-1">
|
||||
{userDetails.account_type == 'FAMILY' &&
|
||||
<h1 className="text-26 font-bold text-dark-gray dark:text-white">
|
||||
<span
|
||||
className={`${selectTab === "today" ? "block" : "hidden"}`}
|
||||
@@ -45,6 +46,7 @@ export default function MyTasks({
|
||||
My Tasks
|
||||
</span>
|
||||
</h1>
|
||||
}
|
||||
{ActiveJobList?.data?.length > 0 && userDetails.account_type == 'FAMILY' &&
|
||||
<button
|
||||
type="button"
|
||||
@@ -56,7 +58,7 @@ export default function MyTasks({
|
||||
More Task
|
||||
</button>
|
||||
}
|
||||
</div>
|
||||
</div> */}
|
||||
<div className="slider-btns flex space-x-4">
|
||||
<div
|
||||
onClick={() => filterHandler("today")}
|
||||
@@ -71,6 +73,27 @@ export default function MyTasks({
|
||||
className="mb-10"
|
||||
/>
|
||||
)}
|
||||
<div className="w-full mb-5 flex justify-between items-center gap-1">
|
||||
<h1 className="text-26 font-bold text-dark-gray dark:text-white">
|
||||
<span
|
||||
className={`${selectTab === "today" ? "block" : "hidden"}`}
|
||||
>
|
||||
My Tasks
|
||||
</span>
|
||||
</h1>
|
||||
|
||||
{ActiveJobList?.data?.length > 0 && userDetails.account_type == 'FAMILY' &&
|
||||
<button
|
||||
type="button"
|
||||
onClick={() => {
|
||||
navigate("/familymarket");
|
||||
}}
|
||||
className="px-4 h-10 flex justify-center items-center btn-gradient text-base rounded-full text-white"
|
||||
>
|
||||
More Task
|
||||
</button>
|
||||
}
|
||||
</div>
|
||||
<MyJobTable ActiveJobList={ActiveJobList} Account={userDetails} />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user