banner data

This commit is contained in:
CHIEFSOFT\ameye
2023-06-10 09:07:20 -04:00
parent 0933dc8925
commit ba8213d120
2 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -3,15 +3,15 @@ import { Link } from "react-router-dom";
import RecomendedSliders from "./RecomendedSliders"; import RecomendedSliders from "./RecomendedSliders";
export default function CommonHead({ className,commonHeadData }) { export default function CommonHead({ className,commonHeadData }) {
const vvv= commonHeadData(); const bannerData = commonHeadData();
console.log("UUUUUUUU-",vvv); console.log("UUUUUUUU-",bannerData);
return ( return (
<div <div
className={`create-nft w-full lg:h-[140px] shadow lg:flex rounded-lg justify-between items-center md:p-2 p-2 bg-white dark:bg-dark-white border-b dark:border-[#5356fb29] -2 border-pink mb-10 ${ className={`create-nft w-full lg:h-[140px] shadow lg:flex rounded-lg justify-between items-center md:p-2 p-2 bg-white dark:bg-dark-white border-b dark:border-[#5356fb29] -2 border-pink mb-10 ${
className || "" className || ""
}`} }`}
> >
<RecomendedSliders /> <RecomendedSliders bannerData={bannerData} />
{/*<div className="lg:w-8/12 w-full mb-8 lg:mb-0">*/} {/*<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">*!/*/} {/* /!*<h1 className="text-2xl text-dark-gray dark:text-white font-bold mb-2">*!/*/}
{/* /!* This is common head which will appear as needed , will take many shape*!/*/} {/* /!* This is common head which will appear as needed , will take many shape*!/*/}
@@ -6,7 +6,7 @@ import top4 from "../../assets/images/top-buyer-4.png";
import Icons from "../Helpers/Icons"; import Icons from "../Helpers/Icons";
import SliderCom from "../Helpers/SliderCom"; import SliderCom from "../Helpers/SliderCom";
export default function RecomendedSliders({ className }) { export default function RecomendedSliders({ className ,bannerData }) {
const settings = { const settings = {
arrows: false, arrows: false,
dots: false, dots: false,