diff --git a/src/components/UserHeader/CommonHead.jsx b/src/components/UserHeader/CommonHead.jsx
index 5cc775e..61c0ac1 100644
--- a/src/components/UserHeader/CommonHead.jsx
+++ b/src/components/UserHeader/CommonHead.jsx
@@ -2,34 +2,36 @@ import React from "react";
import { Link } from "react-router-dom";
import RecomendedSliders from "./RecomendedSliders";
-export default function CommonHead({ className,commonHeadData }) {
- return (
-
- {commonHeadData?.length > 0 &&
}
- {/*
*/}
- {/* /!*
*!/*/}
- {/* /!* This is common head which will appear as needed , will take many shape*!/*/}
- {/* /!*
*!/*/}
- {/* /!*
*!/*/}
- {/* /!* some space for extra texts here*!/*/}
- {/* /!*
*!/*/}
- {/* */}
- {/*
*/}
- {/*
*/}
- {/*
*/}
- {/*
*/}
- {/* View Task*/}
- {/* */}
+export default function CommonHead({ className, commonHeadData }) {
+ return (
+
+ {commonHeadData?.length > 0 && (
+
+ )}
+ {/*
*/}
+ {/* /!*
*!/*/}
+ {/* /!* This is common head which will appear as needed , will take many shape*!/*/}
+ {/* /!*
*!/*/}
+ {/* /!*
*!/*/}
+ {/* /!* some space for extra texts here*!/*/}
+ {/* /!*
*!/*/}
+ {/* */}
+ {/*
*/}
+ {/*
*/}
+ {/*
*/}
+ {/* */}
+ {/* View Task*/}
+ {/* */}
- {/*
*/}
- {/*
*/}
-
- );
+ {/*
*/}
+ {/*
*/}
+
+ );
}
diff --git a/src/components/UserHeader/RecomendedSliders.jsx b/src/components/UserHeader/RecomendedSliders.jsx
index dd999ae..cec4982 100644
--- a/src/components/UserHeader/RecomendedSliders.jsx
+++ b/src/components/UserHeader/RecomendedSliders.jsx
@@ -7,126 +7,128 @@ import Icons from "../Helpers/Icons";
import SliderCom from "../Helpers/SliderCom";
import { Link } from "react-router-dom";
-export default function RecomendedSliders({ className,bannerData }) {
- const settings = {
- arrows: false,
- dots: false,
- infinite: bannerData.length > 4 ? true : false,
- autoplay: true,
- slidesToShow: bannerData.length > 4 ? 4 : bannerData.length,
- slidesToScroll: 1,
- responsive: [
- {
- breakpoint: 426,
- settings: {
- infinite: bannerData.length > 2 ? true : false,
- slidesToShow: bannerData.length > 2 ? 2 : bannerData.length,
- slidesToScroll: 1,
- },
- },
- ],
- };
- const sellSlider = useRef(null);
- const buySlider = useRef(null);
- const prevHandler = (value) => {
- if (value === "sell") {
- sellSlider.current.slickPrev();
- }
- if (value === "buy") {
- buySlider.current.slickPrev();
- }
- };
- const nextHandler = (value) => {
- if (value === "sell") {
- sellSlider.current.slickNext();
- }
- if (value === "buy") {
- buySlider.current.slickNext();
- }
- };
- return (
- <>
- {/*
*/}
- {/*
*/}
- {/* Top Seller*/}
- {/*
*/}
- {/*
*/}
- {/*
*/}
- {/*
*/}
- {/*
*/}
- {/*
*/}
-
-
- {bannerData.map((item, index) => (
-
-
-
- {/* title */}
-
-
- {item.short_title}
-
-
- {/* username */}
-
-
- {item.short_description}
-
-
- {/* items */}
-
-
- {item.short_button_text}
-
-
-
-
-
- ))}
-
-
- >
- );
+export default function RecomendedSliders({ className, bannerData }) {
+ const settings = {
+ arrows: false,
+ dots: false,
+ infinite: bannerData.length > 4 ? true : false,
+ autoplay: true,
+ slidesToShow: bannerData.length > 4 ? 4 : bannerData.length,
+ slidesToScroll: 1,
+ responsive: [
+ {
+ breakpoint: 426,
+ settings: {
+ infinite: bannerData.length > 2 ? true : false,
+ slidesToShow: bannerData.length > 2 ? 2 : bannerData.length,
+ slidesToScroll: 1,
+ },
+ },
+ ],
+ };
+ const sellSlider = useRef(null);
+ const buySlider = useRef(null);
+ const prevHandler = (value) => {
+ if (value === "sell") {
+ sellSlider.current.slickPrev();
+ }
+ if (value === "buy") {
+ buySlider.current.slickPrev();
+ }
+ };
+ const nextHandler = (value) => {
+ if (value === "sell") {
+ sellSlider.current.slickNext();
+ }
+ if (value === "buy") {
+ buySlider.current.slickNext();
+ }
+ };
+ return (
+ <>
+ {/*
*/}
+ {/*
*/}
+ {/* Top Seller*/}
+ {/*
*/}
+ {/*
*/}
+ {/*
*/}
+ {/*
*/}
+ {/*
*/}
+ {/*
*/}
+
+
+ {bannerData.map((item, index) => (
+
+
+
+ {/* title */}
+
+
+ {item.short_title}
+
+
+ {/* username */}
+
+
+ {item.short_description}
+
+
+ {/* items */}
+
+
+ {item.short_button_text}
+
+
+
+
+
+ ))}
+
+
+ >
+ );
}
diff --git a/src/components/jobPopout/EditJobPopout.jsx b/src/components/jobPopout/EditJobPopout.jsx
index 67e66ce..42ef727 100644
--- a/src/components/jobPopout/EditJobPopout.jsx
+++ b/src/components/jobPopout/EditJobPopout.jsx
@@ -10,7 +10,7 @@ import { tableReload } from "../../store/TableReloads";
import { useDispatch } from "react-redux";
const validationSchema = Yup.object().shape({
- currency: Yup.string()
+ country: Yup.string()
.min(1, "Minimum 3 characters")
.max(25, "Maximum 25 characters")
.required("Country is required"),
@@ -60,7 +60,7 @@ const EditJobPopOut = ({
let initialValues = {
// initial values for formik
- currency: details.currency,
+ country: details.currency,
price: details?.price,
title: details?.title,
description: details?.description,
@@ -152,8 +152,8 @@ const EditJobPopOut = ({
inputBg="bg-slate-100"
inputClass="input-curve lg border border-light-purple"
type="text"
- name="currency"
- value={props.values.currency}
+ name="country"
+ value={props.values.country}
inputHandler={props.handleChange}
blurHandler={props.handleBlur}
disable={true}
diff --git a/src/index.css b/src/index.css
index 2f8c5ea..9fa87c5 100644
--- a/src/index.css
+++ b/src/index.css
@@ -66,12 +66,12 @@
width: 100%;
text-align: center;
}
-.commonHeaderSliderItem{
+.commonHeaderSliderItem {
background-color: aliceblue;
border-radius: 10px;
- margin: 0px 5px 0px 5px;
- height: 95px;
- padding: 5px;
+ height: 100px;
+ margin: 0 5px;
+ padding: 10px;
}
.short_style{
diff --git a/src/views/MarketPlacePage.jsx b/src/views/MarketPlacePage.jsx
index d82c5a6..ee6ebbe 100644
--- a/src/views/MarketPlacePage.jsx
+++ b/src/views/MarketPlacePage.jsx
@@ -3,13 +3,11 @@ import MarketPlace from "../components/MarketPlace";
import { useSelector } from "react-redux";
export default function MarketPlacePage() {
-
- let {commonHeadBanner} = useSelector(state => state.commonHeadBanner)
+ let { commonHeadBanner } = useSelector((state) => state.commonHeadBanner);
return (
<>
-
+
>
);
}