import { Link } from 'react-router-dom' import React , { useState, useEffect} from 'react' import AOS from "aos"; import img1 from '../../../assets/images/standard.png' import img2 from '../../../assets/images/unlimited.png' 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 let priceServices = new SiteService(); // instantiating the class const getAllPriceData = () => { return priceServices.priceData(); }; useEffect(() => { getAllPriceData().then((data) => setPrices(data.data)); AOS.init(); AOS.refresh(); }, []); return ( <> {gredient ?

Best & simple pricing

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

Monthly
setTog(tog === true ? false : true)}>
Yearly {/* 50% off */}
{prices.length > 0 && prices.map((price, index) => { return (
{ video ? image : image }

{price.title}

{price.text}
{price.price}
    {price.features.map((feature, index)=>
  • {feature}

  • )}
Start Now
); }) } {/*
image

Unlimited

For the professionals
$99
  • Unlimited Website

  • 200 GB disk space

  • 20 Customize sub pages

  • 10 Domains access

  • 24/7 Customer support

Start Now
*/}
{prices.length > 0 && prices.map((price, index) => { return (
{ video ? image : image }

{price.title}

{price.text}
{price.price_anual}
    {price.features.map((feature, index)=>
  • {feature}

  • )}
Start Now
); }) }

Not sure what to choose ? contact us for custom packages

:

Best & simple pricing

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

Monthly
setTog(tog === true ? false : true)}>
Yearly {/* 50% off */}
{prices.length > 0 && prices.map((price, index) => { return (
{ video ? image : image }

{price.title}

{price.text}
{price.price}
    {price.features.map((feature, index)=>
  • {feature}

  • )}
Start Now
); }) }
{prices.length > 0 && prices.map((price, index) => { return (
{ video ? image : image }

{price.title}

{price.text}
{price.price_anual}
    {price.features.map((feature, index)=>
  • {feature}

  • )}
Start Now
); }) }

Not sure what to choose ? contact us for custom packages

} ) } export default Main