My task page

This commit is contained in:
DESKTOP-GBA0BK8\Admin
2023-03-19 00:50:18 -04:00
parent 8493c1bb63
commit ab4dbc99e8
7 changed files with 1113 additions and 1308 deletions
Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 3.9 KiB

+2 -2
View File
@@ -94,7 +94,7 @@ export default function ActiveJobsCard({
addFavorite ? "text-red-500" : "text-thin-light-gray"
}`}
>
<Icons name="love" />
<Icons name="star" />
</button>
</div>
</div>
@@ -103,7 +103,7 @@ export default function ActiveJobsCard({
<div className="flex items-center space-x-2">
<div>
<p className="font-bold text-xl tracking-wide line-clamp-1 text-dark-gray dark:text-white">
{datas.price}
{datas.price*0.01}{datas.currency} | {datas.timeline_days} day(s)
</p>
<p className="text-sm text-lighter-gray">
( {datas.offer_code})
+6 -6
View File
@@ -83,12 +83,12 @@ export default function MainSection({ className, marketPlaceProduct }) {
</div>
</div>
<div className="search-item flex lg:flex-none justify-end">
<SearchCom
className="lg:bg-transparent"
inputClasses="lg:bg-transparent"
/>
</div>
{/*<div className="search-item flex lg:flex-none justify-end">*/}
{/* <SearchCom*/}
{/* className="lg:bg-transparent"*/}
{/* inputClasses="lg:bg-transparent"*/}
{/* />*/}
{/*</div>*/}
</div>
<div className="filter-navigate-content w-full min-h-screen">
<div className="grid lg:grid-cols-3 sm:grid-cols-2 gap-[30px]">
+3 -2
View File
@@ -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 (
<>
<Layout>
<CreateNft />
<CommonHead />
<MainSection marketPlaceProduct={JobList} className="mb-10" />
</Layout>
</>
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
+32
View File
@@ -0,0 +1,32 @@
import React from "react";
import { Link } from "react-router-dom";
export default function CommonHead({ className }) {
return (
<div
className={`create-nft w-full lg:h-[140px] shadow lg:flex rounded-lg justify-between items-center md:p-9 p-4 bg-white dark:bg-dark-white border-b dark:border-[#5356fb29] -2 border-pink mb-10 ${
className || ""
}`}
>
<div className="lg:w-8/12 w-full mb-8 lg:mb-0">
<h1 className="text-2xl text-dark-gray dark:text-white font-bold mb-2">
Create your own NFT and extraordinary get lot of Sell.
</h1>
<p className="text-base text-thin-light-gray tracking-wide">
Buy and sell NFTs from the worlds top artists
</p>
</div>
<div className="flex-1 flex lg:justify-end">
<div className="flex items-center space-x-5">
<Link
to="/mytask"
className="w-40 h-11 flex justify-center items-center btn-gradient text-base rounded-full text-white"
>
View Task
</Link>
</div>
</div>
</div>
);
}