diff --git a/src/components/Cards/FamilyMarketCard.jsx b/src/components/Cards/FamilyMarketCard.jsx
new file mode 100644
index 0000000..bb76019
--- /dev/null
+++ b/src/components/Cards/FamilyMarketCard.jsx
@@ -0,0 +1,72 @@
+import React, { useState } from "react";
+import { Link } from "react-router-dom";
+import { toast } from "react-toastify";
+import localImgLoad from "../../lib/localImgLoad";
+import Icons from "../Helpers/Icons";
+
+export default function FamilyMarketCard({
+ className,
+ datas,
+ hidden = false,
+}) {
+ // debugger;
+ const [addFavorite, setValue] = useState(datas.whishlisted);
+ const [options, setOption] = useState(false);
+ const favoriteHandler = () => {
+ if (!addFavorite) {
+ setValue(true);
+ toast.success("Added to Favorite List");
+ } else {
+ setValue(false);
+ toast.warn("Remove to Favorite List");
+ }
+ };
+ return (
+
+
+
+
+
+
+ {datas?.isActive && (
+
+ Active
+
+ )}
+
+
+ {hidden &&
}
+
+
+
+ {/* title */}
+
+
+ {datas.post_title}
+
+
+
+
+
+
+ );
+}
diff --git a/src/components/Cards/ResourceBlogCard.jsx b/src/components/Cards/ResourceBlogCard.jsx
index e82434f..d7bd06b 100644
--- a/src/components/Cards/ResourceBlogCard.jsx
+++ b/src/components/Cards/ResourceBlogCard.jsx
@@ -1,10 +1,6 @@
import React, { useState } from "react";
import { Link } from "react-router-dom";
import { toast } from "react-toastify";
-import localImgLoad from "../../lib/localImgLoad";
-import Icons from "../Helpers/Icons";
-
-import Image from '../../assets/images/Linkedin.png'
export default function ProductCardStyleTwo({
className,
@@ -54,9 +50,9 @@ export default function ProductCardStyleTwo({
{/* title */}
-
+
- {datas.post_title}
+ {datas.post_title || "dummy title..."}
@@ -66,6 +62,7 @@ export default function ProductCardStyleTwo({
href={datas.guid}
target="_blank"
className="px-4 py-2.5 text-white text-sm bg-pink rounded-full tracking-wide"
+ rel="noreferrer"
>
View
diff --git a/src/components/FamilyAcc/FamilyMarket.jsx b/src/components/FamilyAcc/FamilyMarket.jsx
index 246688f..39a067c 100644
--- a/src/components/FamilyAcc/FamilyMarket.jsx
+++ b/src/components/FamilyAcc/FamilyMarket.jsx
@@ -3,6 +3,11 @@ import InputCom from "../Helpers/Inputs/InputCom";
import Layout from "../Partials/Layout";
import SiteService from "../../services/SiteService";
import ModalCom from "../Helpers/ModalCom";
+import DataIteration from "../Helpers/DataIteration";
+import SearchCom from "../Helpers/SearchCom";
+import collections from "../../data/collectionplan_data.json";
+import FamilyMarketCard from "../Cards/FamilyMarketCard";
+import { Link } from "react-router-dom";
export default function FamilyMarket() {
const [selectTab, setValue] = useState("today");
@@ -24,7 +29,6 @@ export default function FamilyMarket() {
setValue(value);
};
-
return (
{/**/}
@@ -37,15 +41,8 @@ export default function FamilyMarket() {
- Family Market
+ Suggest Task to the Parents
- {/* */}
@@ -55,11 +52,40 @@ export default function FamilyMarket() {
>
+ {/* Body */}
+
+ {/* filter-search */}
+
+
+
+ {/* filer-dropdown */}
+
+
+ Any Other Task
+
+
+
+
+
+
+ {({ datas }) => (
+
+ )}
+
+
+
{popUp && (
- {/* */}
+ {/* */}
)}
diff --git a/src/components/MyPendingJobs/ParentWaiting.jsx b/src/components/MyPendingJobs/ParentWaiting.jsx
index b092237..0363535 100644
--- a/src/components/MyPendingJobs/ParentWaiting.jsx
+++ b/src/components/MyPendingJobs/ParentWaiting.jsx
@@ -25,8 +25,8 @@ export default function ParentWaiting({ className }) {
Waiting for Parent to Get Started...
-
-
+
+

-
-
-
- {/* filter-search */}
-
-
-
- {/* filer-dropdown */}
-
- {/*
*/}
- {/*
*/}
- {/* Recently Received*/}
- {/**/}
- {/*
*/}
- {/* */}
- {/**/}
- {/*
*/}
-
-
-
-
-
- {({ datas }) => (
-
- )}
-
-
-
-
+ console.log("Blog data here>> ", blogdata);
+ // debugger;
+ return (
+ <>
+
+
+
+ {/* filter-search */}
+
+
- >
- );
+ {/* filer-dropdown */}
+
+ {/*
*/}
+ {/*
*/}
+ {/* Recently Received*/}
+ {/**/}
+ {/*
*/}
+ {/* */}
+ {/**/}
+ {/*
*/}
+
+
+
+
+
+
+ {({ datas }) => (
+
+ )}
+
+
+
+
+
+ >
+ );
}
diff --git a/src/views/FamilyManagePage.jsx b/src/views/FamilyManagePage.jsx
index 8305b52..08a0d7d 100644
--- a/src/views/FamilyManagePage.jsx
+++ b/src/views/FamilyManagePage.jsx
@@ -1,9 +1,9 @@
import FamilyManage from "../components/FamilyAcc/FamilyManage";
export default function FamilyManagePage() {
- return (
- <>
-
- >
- );
-}
+ return (
+ <>
+
+ >
+ );
+}
\ No newline at end of file