From ab4dbc99e889744f1bd6306d25a3de9c573b8fee Mon Sep 17 00:00:00 2001 From: "DESKTOP-GBA0BK8\\Admin" Date: Sun, 19 Mar 2023 00:50:18 -0400 Subject: [PATCH] My task page --- src/assets/images/marketplace-product-1.jpg | Bin 1547 -> 4001 bytes src/components/Cards/ActiveJobsCard.jsx | 4 +- src/components/MarketPlace/MainSection.jsx | 12 +- src/components/MarketPlace/index.jsx | 5 +- src/components/MyTasks/MyJobTable.jsx | 1066 +++++++++++++++ src/components/MyTasks/index.jsx | 1302 +------------------ src/components/UserHeader/CommonHead.jsx | 32 + 7 files changed, 1113 insertions(+), 1308 deletions(-) create mode 100644 src/components/MyTasks/MyJobTable.jsx create mode 100644 src/components/UserHeader/CommonHead.jsx diff --git a/src/assets/images/marketplace-product-1.jpg b/src/assets/images/marketplace-product-1.jpg index 5ec12df769993d3e849720ddade54ce9f9ffcc45..0493def0c84f8cf74879935dd16b939b40105f32 100644 GIT binary patch literal 4001 zcmeH~XH-3v4&NDm zOpWsA^W#Fof_?l0y#WLPK=lihNHbtn0Mey$S(vXUH!3=YOK1l$AORHE0w54(Wd_ak z2?v<@d-J(jn3Iw}+nZYedlLZHE&W2c+|T-dMGRr4Ob!4Pf_YCCiL-x&-5Q7_-yGf-C@VRHZH#3zIRn!I&xw594Dz6#ybNX&fhvW4U-f7AFAw zjLZcxNm8<$YbrG3+B!M$xPIcCG_hQ686ps-3S=TKKO;R;AYA~!=r=280j4syTr9~B zwoVQXmUdQH`p4{V2gkhr9+b5m^>`IJQZtCt_F4Np_p_E!0RV3h%gu(*TEaE}8dd?I ze($qpxEla^9su=M#(fV*xnGjy@=RxI>zte%D~VWWrA+9U{YQr}&%cIo>scw+8_ONn zOPnZBq{+F;qzW_AG88gyR;EBG=34%76aV9hs|x?aY2#v0;^@A{fK~Yku;Z+N>J>IXer^Le76l-&JFyXHtZsp%2%tQ9 zk-EL3`yOL#e5C!Nfs3#%oFz%(DrJ6HI9I5UWh)sw6Uqh;$bb&mK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({

- {datas.price} + {datas.price*0.01}{datas.currency} | {datas.timeline_days} day(s)

( {datas.offer_code}) diff --git a/src/components/MarketPlace/MainSection.jsx b/src/components/MarketPlace/MainSection.jsx index 923fb42..063695a 100644 --- a/src/components/MarketPlace/MainSection.jsx +++ b/src/components/MarketPlace/MainSection.jsx @@ -83,12 +83,12 @@ export default function MainSection({ className, marketPlaceProduct }) {

-
- -
+ {/*
*/} + {/* */} + {/*
*/}
diff --git a/src/components/MarketPlace/index.jsx b/src/components/MarketPlace/index.jsx index bbbe8e4..7032940 100644 --- a/src/components/MarketPlace/index.jsx +++ b/src/components/MarketPlace/index.jsx @@ -1,8 +1,9 @@ import React from "react"; import products from "../../data/marketplace_data.json"; -import CreateNft from "../Home/CreateNft"; +//import CreateNft from "../Home/CreateNft"; import Layout from "../Partials/Layout"; import MainSection from "./MainSection"; +import CommonHead from "../UserHeader/CommonHead"; export default function MarketPlace(props) { const JobList = props.activeJobList?.result_list; @@ -11,7 +12,7 @@ export default function MarketPlace(props) { return ( <> - + diff --git a/src/components/MyTasks/MyJobTable.jsx b/src/components/MyTasks/MyJobTable.jsx new file mode 100644 index 0000000..3942b42 --- /dev/null +++ b/src/components/MyTasks/MyJobTable.jsx @@ -0,0 +1,1066 @@ +import React, { useState } from "react"; +import dataImage1 from "../../assets/images/data-table-user-1.png"; +import dataImage2 from "../../assets/images/data-table-user-2.png"; +import dataImage3 from "../../assets/images/data-table-user-3.png"; +import dataImage4 from "../../assets/images/data-table-user-4.png"; +import SelectBox from "../Helpers/SelectBox"; + +export default function MyJobTable({ className }) { + const filterCategories = ["All Categories", "Explore", "Featured"]; + const [selectedCategory, setCategory] = useState(filterCategories[0]); + return ( +
+
+
+

+ Products History +

+
+ +
+
+ + + + + + + + + + + + + {selectedCategory === "All Categories" ? ( + <> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ) : selectedCategory === "Explore" ? ( + <> + + + + + + + + + + + + + + + + + + + + ) : ( + <> + + + + + + + + + + + + + + + + + + + + )} + +
All ProductValueUSD24H%BitsTimeStatus
+
+
+ data +
+
+

+ Mullican Computer Joy +

+ + Owned by Xoeyam + +
+
+
+
+ + + + + + + + + + + + + 7473 ETH + +
+
+
+ + + + + + + + + + 6392.99$ + +
+
+ + -24.75 (11.5%) + + + + 343 + + + + 2 Hours 1 min 30s + + + +
+
+
+ data +
+
+

+ Mullican Computer Joy +

+ + Owned by Xoeyam + +
+
+
+
+ + + + + + + + + + + + + 7473 ETH + +
+
+
+ + + + + + + + + + 6392.99$ + +
+
+ + -24.75 (11.5%) + + + + 343 + + + + 2 Hours 1 min 30s + + + +
+
+
+ data +
+
+

+ Mullican Computer Joy +

+ + Owned by Xoeyam + +
+
+
+
+ + + + + + + + + + + + + 7473 ETH + +
+
+
+ + + + + + + + + + 6392.99$ + +
+
+ + -24.75 (11.5%) + + + + 343 + + + + 2 Hours 1 min 30s + + + +
+
+
+ data +
+
+

+ Mullican Computer Joy +

+ + Owned by Xoeyam + +
+
+
+
+ + + + + + + + + + + + + 7473 ETH + +
+
+
+ + + + + + + + + + 6392.99$ + +
+
+ + -24.75 (11.5%) + + + + 343 + + + + 2 Hours 1 min 30s + + + +
+
+
+ data +
+
+

+ Mullican Computer Joy +

+ + Owned by Xoeyam + +
+
+
+
+ + + + + + + + + + + + + 7473 ETH + +
+
+
+ + + + + + + + + + 6392.99$ + +
+
+ + -24.75 (11.5%) + + + + 343 + + + + 2 Hours 1 min 30s + + + +
+
+
+ data +
+
+

+ Mullican Computer Joy +

+ + Owned by Xoeyam + +
+
+
+
+ + + + + + + + + + + + + 7473 ETH + +
+
+
+ + + + + + + + + + 6392.99$ + +
+
+ + -24.75 (11.5%) + + + + 343 + + + + 2 Hours 1 min 30s + + + +
+
+
+ data +
+
+

+ Mullican Computer Joy +

+ + Owned by Xoeyam + +
+
+
+
+ + + + + + + + + + + + + 7473 ETH + +
+
+
+ + + + + + + + + + 6392.99$ + +
+
+ + -24.75 (11.5%) + + + + 343 + + + + 2 Hours 1 min 30s + + + +
+
+
+ data +
+
+

+ Mullican Computer Joy +

+ + Owned by Xoeyam + +
+
+
+
+ + + + + + + + + + + + + 7473 ETH + +
+
+
+ + + + + + + + + + 6392.99$ + +
+
+ + -24.75 (11.5%) + + + + 343 + + + + 2 Hours 1 min 30s + + + +
+
+
+ ); +} diff --git a/src/components/MyTasks/index.jsx b/src/components/MyTasks/index.jsx index 90940b2..e0faf2e 100644 --- a/src/components/MyTasks/index.jsx +++ b/src/components/MyTasks/index.jsx @@ -1,6 +1,7 @@ import React, { useState } from "react"; import { Link } from "react-router-dom"; import Layout from "../Partials/Layout"; +import MyJobTable from "./MyJobTable"; export default function MyTasks() { const [selectTab, setValue] = useState("today"); @@ -20,1311 +21,16 @@ export default function MyTasks() { > My Tasks - - 7 Days Notifications - - - All Notifications - +
filterHandler("today")} className="relative"> - - Today - - - 07 - -
- filterHandler("days")} - className={`text-thin-light-gray text-18 cursor-pointer ${ - selectTab === "days" ? "text-purple" : "" - }`} - > - 7 days - - filterHandler("all")} - className={`text-thin-light-gray text-18 cursor-pointer ${ - selectTab === "all" ? "text-purple" : "" - }`} - > - All - +
-
-
    -
  • -
    -
    - - - - -
    -
    -

    - Your Account has been created - successfully done -

    -

    - 23 house ago -

    -
    -
    -
  • -
  • -
    -
    - - - - - - -
    -
    -

    - You upload your frast product - successfully done -

    -

    - 23 house ago -

    -
    -
    -
  • -
  • -
    -
    - - - - - - - - -
    -
    -

    - Thank you ! - you made your frast sell - 232.98 ETH -

    -

    - 23 house ago -

    -
    -
    -
  • -
  • -
    -
    - - - - - - -
    -
    -

    - Your Account has been created - successfully done -

    -

    - 23 house ago -

    -
    -
    -
  • -
  • -
    -
    - - - - -
    -
    -

    - Your Account has been created - successfully done -

    -

    - 23 house ago -

    -
    -
    -
  • -
  • -
    -
    - - - - - - -
    -
    -

    - You upload your frast product - successfully done -

    -

    - 23 house ago -

    -
    -
    -
  • -
  • -
    -
    - - - - - - - - -
    -
    -

    - Thank you ! - you made your frast sell - 232.98 ETH -

    -

    - 23 house ago -

    -
    -
    -
  • -
  • -
    -
    - - - - - - -
    -
    -

    - Your Account has been created - successfully done -

    -

    - 23 house ago -

    -
    -
    -
  • -
  • -
    -
    - - - - -
    -
    -

    - Your Account has been created - successfully done -

    -

    - 23 house ago -

    -
    -
    -
  • -
  • -
    -
    - - - - - - -
    -
    -

    - You upload your frast product - successfully done -

    -

    - 23 house ago -

    -
    -
    -
  • -
  • -
    -
    - - - - - - - - -
    -
    -

    - Thank you ! - you made your frast sell - 232.98 ETH -

    -

    - 23 house ago -

    -
    -
    -
  • -
  • -
    -
    - - - - - - -
    -
    -

    - Your Account has been created - successfully done -

    -

    - 23 house ago -

    -
    -
    -
  • -
  • -
    -
    - - - - -
    -
    -

    - Your Account has been created - successfully done -

    -

    - 23 house ago -

    -
    -
    -
  • -
-
- - See all Notification - -
-
-
-
    -
  • -
    -
    - - - - - - -
    -
    -

    - You upload your frast product - successfully done -

    -

    - 23 house ago -

    -
    -
    -
  • -
  • -
    -
    - - - - - - - - -
    -
    -

    - Thank you ! - you made your frast sell - 232.98 ETH -

    -

    - 23 house ago -

    -
    -
    -
  • -
  • -
    -
    - - - - - - -
    -
    -

    - Your Account has been created - successfully done -

    -

    - 23 house ago -

    -
    -
    -
  • -
  • -
    -
    - - - - -
    -
    -

    - Your Account has been created - successfully done -

    -

    - 23 house ago -

    -
    -
    -
  • -
  • -
    -
    - - - - - - -
    -
    -

    - You upload your frast product - successfully done -

    -

    - 23 house ago -

    -
    -
    -
  • -
  • -
    -
    - - - - - - - - -
    -
    -

    - Thank you ! - you made your frast sell - 232.98 ETH -

    -

    - 23 house ago -

    -
    -
    -
  • -
  • -
    -
    - - - - - - -
    -
    -

    - Your Account has been created - successfully done -

    -

    - 23 house ago -

    -
    -
    -
  • -
  • -
    -
    - - - - -
    -
    -

    - Your Account has been created - successfully done -

    -

    - 23 house ago -

    -
    -
    -
  • -
-
- - See all Notification - -
-
-
-
    -
  • -
    -
    - - - - -
    -
    -

    - Your Account has been created - successfully done -

    -

    - 23 house ago -

    -
    -
    -
  • -
  • -
    -
    - - - - - - -
    -
    -

    - You upload your frast product - successfully done -

    -

    - 23 house ago -

    -
    -
    -
  • -
  • -
    -
    - - - - - - - - -
    -
    -

    - Thank you ! - you made your frast sell - 232.98 ETH -

    -

    - 23 house ago -

    -
    -
    -
  • -
  • -
    -
    - - - - - - -
    -
    -

    - Your Account has been created - successfully done -

    -

    - 23 house ago -

    -
    -
    -
  • -
  • -
    -
    - - - - -
    -
    -

    - Your Account has been created - successfully done -

    -

    - 23 house ago -

    -
    -
    -
  • -
  • -
    -
    - - - - - - -
    -
    -

    - You upload your frast product - successfully done -

    -

    - 23 house ago -

    -
    -
    -
  • -
  • -
    -
    - - - - - - - - -
    -
    -

    - Thank you ! - you made your frast sell - 232.98 ETH -

    -

    - 23 house ago -

    -
    -
    -
  • -
  • -
    -
    - - - - - - -
    -
    -

    - Your Account has been created - successfully done -

    -

    - 23 house ago -

    -
    -
    -
  • -
  • -
    -
    - - - - -
    -
    -

    - Your Account has been created - successfully done -

    -

    - 23 house ago -

    -
    -
    -
  • -
  • -
    -
    - - - - - - -
    -
    -

    - You upload your frast product - successfully done -

    -

    - 23 house ago -

    -
    -
    -
  • -
  • -
    -
    - - - - - - - - -
    -
    -

    - Thank you ! - you made your frast sell - 232.98 ETH -

    -

    - 23 house ago -

    -
    -
    -
  • -
  • -
    -
    - - - - - - -
    -
    -

    - Your Account has been created - successfully done -

    -

    - 23 house ago -

    -
    -
    -
  • -
  • -
    -
    - - - - -
    -
    -

    - Your Account has been created - successfully done -

    -

    - 23 house ago -

    -
    -
    -
  • -
-
- - See all Notification - -
+ diff --git a/src/components/UserHeader/CommonHead.jsx b/src/components/UserHeader/CommonHead.jsx new file mode 100644 index 0000000..5f304ae --- /dev/null +++ b/src/components/UserHeader/CommonHead.jsx @@ -0,0 +1,32 @@ +import React from "react"; +import { Link } from "react-router-dom"; + +export default function CommonHead({ className }) { + return ( +
+
+

+ Create your own NFT and extraordinary get lot of Sell. +

+

+ Buy and sell NFTs from the world’s top artists +

+
+
+
+ + View Task + + +
+
+
+ ); +}