diff --git a/src/component/HomeMain/Pricing/Main.js b/src/component/HomeMain/Pricing/Main.js index d69562d..1cfb5a0 100644 --- a/src/component/HomeMain/Pricing/Main.js +++ b/src/component/HomeMain/Pricing/Main.js @@ -8,11 +8,13 @@ import img3 from '../../../assets/images/premium.png' import SiteService from '../../../vendors/service/siteService' const Main = ({gredient , video}) => { - + const[tog, setTog] = useState() const [prices, setPrices] = useState([]); // initial state for FAQs before API call + const [pricing_text_02, setPricingtext02] = useState(''); + let priceServices = new SiteService(); // instantiating the class const getAllPriceData = () => { @@ -20,7 +22,9 @@ const Main = ({gredient , video}) => { }; useEffect(() => { - getAllPriceData().then((data) => setPrices(data.data)); + getAllPriceData().then((data) => { + setPricingtext02(data.data.pricing_text_02); + setPrices(data.data.pricing) }); AOS.init(); AOS.refresh(); }, []); @@ -31,9 +35,13 @@ const Main = ({gredient , video}) => {
-

Best & simple pricing

-

Lorem Ipsum is simply dummy text of the printing and typese tting
indus orem Ipsum has beenthe - standard dummy.

+

Flexible & Simple pricing

+

+ {/* <>*/} + {/* {pricing_text_02}*/} + {/**/} + Choose your myFit Pricing Plan
myFit has a free Standard for Basics , $5 per month for Premium
+ and $7.99 per month for Gold-tier

Monthly @@ -140,9 +148,9 @@ const Main = ({gredient , video}) => {
-

Best & simple pricing

-

Lorem Ipsum is simply dummy text of the printing and typese tting
indus orem Ipsum has beenthe - standard dummy.

+

Flexible & Simple pricing

+

Choose your myFit Pricing Plan
myFit has a free Standard for Basics , $5 per month for Premium
+ and $7.99 per month for Gold-tier.

Monthly