Commit ea7a9223 by Ravindra Kanojiya

updated stone layout

1 parent 8e7f368b
...@@ -63,6 +63,7 @@ const Details = ({DetailsItem,bottomInfo}) => { ...@@ -63,6 +63,7 @@ const Details = ({DetailsItem,bottomInfo}) => {
</Row> </Row>
</div> </div>
</section> </section>
{(bottomInfo?.title || bottomInfo?.description) && (
<section className="about-section about-info-section pt-0 mt-0"> <section className="about-section about-info-section pt-0 mt-0">
<div className="container"> <div className="container">
<Row className="justify-content-center text-center"> <Row className="justify-content-center text-center">
...@@ -73,6 +74,7 @@ const Details = ({DetailsItem,bottomInfo}) => { ...@@ -73,6 +74,7 @@ const Details = ({DetailsItem,bottomInfo}) => {
</Row> </Row>
</div> </div>
</section> </section>
)}
</> </>
) )
} }
......
...@@ -13,6 +13,17 @@ const StoneFinishCabinet = ({ StoneFinishCabinet }) => { ...@@ -13,6 +13,17 @@ const StoneFinishCabinet = ({ StoneFinishCabinet }) => {
bottomInfo={StoneFinishCabinet.bottomInfo} bottomInfo={StoneFinishCabinet.bottomInfo}
/> />
)} )}
{(StoneFinishCabinet?.aboutInfoTwo || StoneFinishCabinet?.detailsItemTwo?.length > 0) && (
<>
<AboutInfo productData={StoneFinishCabinet?.aboutInfoTwo} />
{StoneFinishCabinet?.detailsItemTwo?.length > 0 && (
<Details
DetailsItem={StoneFinishCabinet.detailsItemTwo}
bottomInfo={StoneFinishCabinet.bottomInfoTwo}
/>
)}
</>
)}
</> </>
) )
} }
......
...@@ -76,6 +76,12 @@ export async function getCollectionDetailCategoryData(productSlug) { ...@@ -76,6 +76,12 @@ export async function getCollectionDetailCategoryData(productSlug) {
detailsItem: { detailsItem: {
populate: "*", populate: "*",
}, },
aboutInfoTwo: {
populate: "*",
},
detailsItemTwo: {
populate: "*",
},
bottomInfo: { bottomInfo: {
populate: "*", populate: "*",
}, },
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!