text: import React from 'react';
  import '../../GlobalStyle/main.css';
  import HeroComponent from '../../Components/Hero';
  import Layoutcomponent from '../../Components/Layout';
  import ReadyToMoveInData from '../../ReadytoMoveData';
  import OverviewComonent from '../../Components/overview';
  import AmenitiesComponent from '../../Components/Amenities';
  import ConfigurationComponent from '../../Components/ConfigurationComponent';
  import PricingComponent from '../../Components/PricingComponent';
  import LocationComponent from '../../Components/Location';
  
  
  
  
  const Sankya = () => {
      const dataweneed = ReadyToMoveInData.filter((item)=>{
          return item.redirect === "g-corp-icon"
      });
  
   
  
      const overviewdata = dataweneed.map((item)=>{
          return {"area":item.landarea, "units": item.numberofunits, "floors": item.startingPrice, "towers": item.totalblocks, "var": item.unitvarients, "poss":item.possession, "loc":item.location}
      });
     
      const configurationdata = dataweneed.map((item)=>{
          return item.area;
      })
  
      const pricingdata = dataweneed.map((item)=>{
          return item.price
      })
  
      const mainImage = dataweneed.map((item)=>{
          return item.mainBanner;
      })
  
      const locationdata = dataweneed.map((item)=>{
          return item.map
      })
  
  
      return (
          <Layoutcomponent>
          <HeroComponent img={mainImage} quote1="G Corp Icon"/>
              <br/>
             <OverviewComonent project="G Corp Icon Overview" data={overviewdata}/>
             <hr/>
             <ConfigurationComponent project="G Corp Icon Configuration" data={configurationdata}/>
             <hr/>
             <AmenitiesComponent project="G Corp Icon Amenities"/>
             <hr/>
             <PricingComponent project="G Corp Icon Pricing" data={pricingdata}/>
             <hr/>
             <LocationComponent project="G Corp Icon Location" data={locationdata}/>
          </Layoutcomponent>
      );
  };
  
  export default Sankya;