Commit ea7a9223 by Ravindra Kanojiya

updated stone layout

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