Commit 03645bf4 by sujata

merge resolved

2 parents 4d747a6f 3a90f487
......@@ -14,10 +14,10 @@ const HowWeDoIt = ({ data, heading }) => {
<span className="sub-title">{heading?.Subtitle}</span>
<Heading el="h2" heading={heading?.Title} />
</div>
<p
<div
className=" text-center text-black mb-4 mb-lg-5"
dangerouslySetInnerHTML={{ __html: heading?.Description }}
></p>
></div>
<Row className="row-gap-4 justify-content-center">
{data?.carddetails &&
data?.carddetails.map((item, index) => (
......
......@@ -13,7 +13,7 @@ import { Col, Row } from "react-bootstrap";
import { slideFromLeft } from "@/components/reuseables/variants";
const DigitalFaq = ({ data, heading }) => {
console.log(data, "data");
// console.log(data, "data");
return (
<>
<div className="faq-area digital_transformation_faq ptb-50">
......@@ -68,13 +68,13 @@ const DigitalFaq = ({ data, heading }) => {
<p>{productItem?.Description}</p>
{item?.Button?.text && (
{productItem?.Button?.text && (
<div className="btn-1 mt-auto mb-4">
<Link
href={item?.Button?.URL || "#"}
href={productItem?.Button?.URL || "#"}
className="default-btn-three"
>
{item?.Button?.text || ""}
{productItem?.Button?.text || ""}
<i className="ri-arrow-right-line"></i>
</Link>
</div>
......
......@@ -5,14 +5,16 @@ import React from 'react'
import { Container } from 'react-bootstrap'
const DigitalHowWeDoIt = ({ heading, desktopImage, mobileImage }) => {
console.log(desktopImage, "desktopImage data");
console.log(mobileImage, "mobileImage data");
// console.log(desktopImage, "desktopImage data");
// console.log(mobileImage, "mobileImage data");
return (
<Container className="text-center">
{heading &&
<div className="section-title">
<Heading el="h2" heading={heading} />
</div>
}
{desktopImage?.url && (
<Image
......@@ -20,7 +22,7 @@ const DigitalHowWeDoIt = ({ heading, desktopImage, mobileImage }) => {
alt={desktopImage?.alternativeText || "image"}
width={1000}
height={1000}
className='img-fluid d-none d-md-block'
className='img-fluid d-none d-md-block mx-auto'
/>
)}
......@@ -30,7 +32,7 @@ const DigitalHowWeDoIt = ({ heading, desktopImage, mobileImage }) => {
alt={mobileImage?.alternativeText || "image"}
width={1000}
height={1000}
className='img-fluid d-block d-md-none'
className='img-fluid d-block d-md-none mx-auto'
/>
)}
</Container>
......
......@@ -2,11 +2,13 @@ import { cleanImage } from '@/layout/imageHandling'
import React from 'react'
import { Col, Container, Row } from 'react-bootstrap'
const WhatWeDoWhatDontDo = (heading,data) => {
console.log(heading,"WhatWeDoWhatDontDo")
const backgroundImageUrl = cleanImage(data?.BackgroundBanner?.url);
consolelog(backgroundImageUrl,"backgroundImageUrl")
const WhatWeDoWhatDontDo = (heading, data, image) => {
console.log(heading, "WhatWeDoWhatDontDo")
const image2 = heading?.image;
const data2 = heading?.data?.list;
// console.log(image2, "WhatWeDoWhatDontDo")
const backgroundImageUrl = cleanImage(image?.url);
console.log(backgroundImageUrl, "backgroundImageUrl")
return (
<div className='' style={{
backgroundImage: `url(${backgroundImageUrl})`,
......@@ -28,7 +30,7 @@ const WhatWeDoWhatDontDo = (heading,data) => {
{/* <p>{description}</p> */}
<div
className="content"
dangerouslySetInnerHTML={{ __html:data?.content }}
dangerouslySetInnerHTML={{ __html: data?.content }}
/>
</div>
{/* </Col> */}
......
......@@ -98,10 +98,13 @@ const EmpoweringFinanceConsultants = ({ Empoweringpage, conversionData }) => {
);
case "dynamic-zone.what-wedo-banner":
return (
<>
<WhatWeDoWhatDontDo
heading={section?.Heading}
data={section?.list}
image={section?.BackgroundBanner}
/>
</>
);
case "dynamic-zone.element-one":
return (
......
......@@ -12,13 +12,15 @@ import ConversionCode from "@/components/reuseables/ConversionCode/ConversionCod
import Content from "@/components/reuseables/services/Content";
import CallBackRequest from "@/components/reuseables/CallBackRequest";
import Card from "@/components/reuseables/services/Card";
import HowWeDoIt from "@/container/ClientServicing/CFO/HowWeDoIt";
import DigitalHowWeDoIt from "@/container/ClientServicing/DigitalTransformation/DigitalHowWeDoIt";
// method one content
const clientserviceapc = ({ apcpage ,conversionData }) => {
const clientserviceapc = ({ apcpage, conversionData }) => {
// console.log(apcpage ,"apcpage")
const banners = [
{
......@@ -84,6 +86,23 @@ const clientserviceapc = ({ apcpage ,conversionData }) => {
data={section?.ElementList}
/>
);
case "dynamic-zone.variantcard":
return (
<>
<HowWeDoIt heading={section?.Heading}
data={section} />
</>
);
case "dynamic-zone.image":
return (
<>
<DigitalHowWeDoIt
heading={section?.Heading}
desktopImage={section?.DesktopImg}
mobileImage={section?.MobileImg}
/>
</>
);
case "dynamic-zone.text":
return (
<Content
......@@ -126,7 +145,9 @@ export async function getServerSideProps() {
"APCDetails.Image",
"APCDetails.Heading",
"APCDetails.ElementList.StepImg",
"APCDetails.carddetails",
"APCDetails.carddetails.Image",
"APCDetails.DesktopImg",
"APCDetails.MobileImg",
"Clientel.logos",
"seo",
"seo.metaImage",
......@@ -162,7 +183,7 @@ export async function getServerSideProps() {
return {
props: { apcpage ,conversionData },
props: { apcpage, conversionData },
};
} catch (error) {
console.log("Error", error);
......
......@@ -12,10 +12,11 @@ import ConversionCode from "@/components/reuseables/ConversionCode/ConversionCod
import CallBackRequest from "@/components/reuseables/CallBackRequest";
import Card from "@/components/reuseables/services/Card";
import HowWeDoIt from "@/container/ClientServicing/CFO/HowWeDoIt";
import DigitalHowWeDoIt from "@/container/ClientServicing/DigitalTransformation/DigitalHowWeDoIt";
// method one content
const bookclosures = ({ bookclosurepage ,conversionData }) => {
console.log(bookclosurepage ,"bookclosurepage")
const bookclosures = ({ bookclosurepage, conversionData }) => {
console.log(bookclosurepage, "bookclosurepage")
const banners = [
{
imageSrc: cleanImage(bookclosurepage?.Banner?.Image?.url),
......@@ -81,7 +82,16 @@ const bookclosures = ({ bookclosurepage ,conversionData }) => {
data={section} />
</>
);
case "dynamic-zone.image":
return (
<>
<DigitalHowWeDoIt
heading={section?.Heading}
desktopImage={section?.DesktopImg}
mobileImage={section?.MobileImg}
/>
</>
);
case "dynamic-zone.element-two":
return (
<MethodTwoSection
......@@ -121,6 +131,9 @@ export async function getServerSideProps() {
"BookClosureDetails.Image",
"BookClosureDetails.Heading",
"BookClosureDetails.ElementList.StepImg",
"BookClosureDetails.carddetails.Image",
"BookClosureDetails.DesktopImg",
"BookClosureDetails.MobileImg",
"Clientel.logos",
"seo",
"seo.metaImage",
......@@ -156,7 +169,7 @@ export async function getServerSideProps() {
return {
props: { bookclosurepage ,conversionData },
props: { bookclosurepage, conversionData },
};
} catch (error) {
console.log("Error", error);
......
......@@ -11,11 +11,12 @@ import Seo from "@/components/reuseables/Seo/Seo";
import ConversionCode from "@/components/reuseables/ConversionCode/ConversionCode";
import Card from "@/components/reuseables/services/Card";
import HowWeDoIt from "@/container/ClientServicing/CFO/HowWeDoIt";
import DigitalHowWeDoIt from "@/container/ClientServicing/DigitalTransformation/DigitalHowWeDoIt";
// method one content
const clientservicecfo = ({ cfopage, conversionData }) => {
console.log(cfopage ,"cfopage")
console.log(cfopage, "cfopage")
const banners = [
{
imageSrc: cleanImage(cfopage?.Banner?.Image?.url),
......@@ -100,7 +101,16 @@ const clientservicecfo = ({ cfopage, conversionData }) => {
data={section?.ElementList}
/>
);
case "dynamic-zone.image":
return (
<>
<DigitalHowWeDoIt
heading={section?.Heading}
desktopImage={section?.DesktopImg}
mobileImage={section?.MobileImg}
/>
</>
);
case "dynamic-zone.rules-application":
return (
<Rules
......@@ -139,6 +149,8 @@ export async function getServerSideProps() {
"CfoDeatils.Heading",
"CfoDeatils.ElementList.StepImg",
"CfoDeatils.carddetails.Image",
"CfoDeatils.DesktopImg",
"CfoDeatils.MobileImg",
"Clientel.logos",
"seo",
"seo.metaImage",
......
......@@ -12,13 +12,14 @@ import ConversionCode from "@/components/reuseables/ConversionCode/ConversionCod
import CallBackRequest from "@/components/reuseables/CallBackRequest";
import Card from "@/components/reuseables/services/Card";
import HowWeDoIt from "@/container/ClientServicing/CFO/HowWeDoIt";
import DigitalHowWeDoIt from "@/container/ClientServicing/DigitalTransformation/DigitalHowWeDoIt";
// method one content
const clientservicefc = ({ fcpage ,conversionData }) => {
const clientservicefc = ({ fcpage, conversionData }) => {
// console.log(fcpage ,"fcpage")
const banners = [
{
......@@ -85,7 +86,6 @@ const clientservicefc = ({ fcpage ,conversionData }) => {
data={section?.ElementList}
/>
);
case "dynamic-zone.card":
return (
<>
......@@ -93,6 +93,16 @@ const clientservicefc = ({ fcpage ,conversionData }) => {
data={section} />
</>
);
case "dynamic-zone.image":
return (
<>
<DigitalHowWeDoIt
heading={section?.Heading}
desktopImage={section?.DesktopImg}
mobileImage={section?.MobileImg}
/>
</>
);
case "dynamic-zone.variantcard":
return (
<Card
......@@ -128,7 +138,9 @@ export async function getServerSideProps() {
"FCDeatils.Image",
"FCDeatils.Heading",
"FCDeatils.ElementList.StepImg",
"FCDeatils.carddetails",
"FCDeatils.carddetails.Image",
"FCDeatils.DesktopImg",
"FCDeatils.MobileImg",
"Clientel.logos",
"seo",
"seo.metaImage",
......@@ -164,7 +176,7 @@ export async function getServerSideProps() {
return {
props: { fcpage ,conversionData },
props: { fcpage, conversionData },
};
} catch (error) {
console.log("Error", error);
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!