Commit 0d132511 by gaurav

change

1 parent 0cccc23d
......@@ -37,7 +37,7 @@ const Clientele = ({ partners = [], itemClassName = "single-partner-item" }) =>
.marquee-track {
display: flex;
width: max-content;
animation: scroll-left 30s linear infinite;
animation: scroll-left 60s linear infinite;
}
@keyframes scroll-left {
......
......@@ -9,6 +9,9 @@ import { Container } from "react-bootstrap";
const PageBanner = ({ banners = [] }) => {
const router = useRouter();
console.log(banners, 'bannes');
// Function to generate breadcrumbs for client servicing pages
const generateClientServicingBreadcrumbs = () => {
const pathname = router.asPath;
......@@ -36,7 +39,7 @@ const PageBanner = ({ banners = [] }) => {
'risk-advisory': 'Risk Advisory',
'business-advisory': 'Business Advisory',
// GCC as a Service
'gcc-as-a-service': 'GCC as a Service',
'global-capability-centres': 'GCC as a Service',
// Digital Transformation
'digital-transformation': 'Digital Transformation',
// Empowering Finance Consultants
......@@ -50,6 +53,7 @@ const PageBanner = ({ banners = [] }) => {
'ra': 'Risk Advisory'
};
// console.log(segmentNameMap, 'segmentNameMap');
// Build breadcrumbs from path segments
let currentPath = '';
pathSegments.forEach((segment, index) => {
......@@ -66,6 +70,7 @@ const PageBanner = ({ banners = [] }) => {
return breadcrumbs;
};
const clientServicingBreadcrumbs = generateClientServicingBreadcrumbs();
return (
<Swiper
......@@ -117,7 +122,9 @@ const PageBanner = ({ banners = [] }) => {
{breadcrumb.isLast ? (
breadcrumb.name
) : (
<Link href={breadcrumb.url}>{breadcrumb.name}</Link>
<>
<Link href={breadcrumb.url}>{breadcrumb.name}</Link>
</>
)}
</li>
))
......
......@@ -10,6 +10,7 @@ import { cleanImage } from "@/layout/imageHandling";
const MethodOne = ({
heading,
data,
classname,
viewportAmount = 0.4,
sliderConfig = {},
}) => {
......@@ -25,7 +26,7 @@ const MethodOne = ({
return (
<>
<section className="method-section ptb-50">
<section className={`method-section ptb-50 ${classname || ''}`}>
<Container>
<div className="section-title">
<span className="sub-title">{heading.Subtitle}</span>
......
......@@ -4,9 +4,8 @@ import Image from 'next/image'
import React from 'react'
import { Container } from 'react-bootstrap'
const DigitalHowWeDoIt = ({ heading, desktopImage, mobileImage }) => {
// console.log(desktopImage, "desktopImage data");
// console.log(mobileImage, "mobileImage data");
const DigitalHowWeDoIt = ({ Description, heading, desktopImage, mobileImage }) => {
console.log(Description, "desktopImage data"); // console.log(mobileImage, "mobileImage data");
return (
<Container className="text-center">
......@@ -14,7 +13,12 @@ const DigitalHowWeDoIt = ({ heading, desktopImage, mobileImage }) => {
<div className="section-title">
<Heading el="h2" heading={heading} />
</div>
}
<div
className=" text-center text-black mb-4 mb-lg-5"
dangerouslySetInnerHTML={{ __html: Description }}
></div>
{desktopImage?.url && (
<Image
......
......@@ -154,7 +154,7 @@ const Ba = ({ bapage, conversionData }) => {
descrption="Here are some key activities we focus on in our CFO services."
sliderConfig={sliderConfig} // Pass the slider configuration here
/> */}
<div className="ptb-100">
<div className="">
<Clientele partners={clientlogo} />
</div>
<CallBackRequest />
......
......@@ -93,11 +93,12 @@ const DigitalTransformation = ({ Digitalpage, conversionData }) => {
case "dynamic-zone.image":
return (
<>
<DigitalHowWeDoIt
heading={section?.Heading}
desktopImage={section?.DesktopImg}
mobileImage={section?.MobileImg}
/>
<DigitalHowWeDoIt
heading={section?.Heading}
Description={section?.Description}
desktopImage={section?.DesktopImg}
mobileImage={section?.MobileImg}
/>
</>
);
case "dynamic-zone.element-one":
......
......@@ -26,8 +26,8 @@ const clientservicecfo = ({ gccpage, conversionData }) => {
pageTitle: gccpage?.Banner?.Heading,
homePageUrl: "/",
homePageText: "Home",
activePageText: "Global Capability Centres",
Description:gccpage?.Banner?.Description,
activePageText: "GCC as a Service",
Description: gccpage?.Banner?.Description,
},
];
......
......@@ -50,10 +50,10 @@ const RaPage = ({ rapage, conversionData }) => {
case "dynamic-zone.about":
return (
<LeftSideImage
title={section?.Title}
subtitle={section?.Subtitle}
image={section?.Image}
content={section?.Content}
title={section?.Title}
subtitle={section?.Subtitle}
image={section?.Image}
content={section?.Content}
/>
);
case "dynamic-zone.background":
......@@ -80,22 +80,22 @@ const RaPage = ({ rapage, conversionData }) => {
data={section?.ElementList}
/>
);
case "dynamic-zone.card":
return (
<HowWeDoIt heading={section?.Heading}
data={section} classname="risk_advisory_howitwork" />
);
case "dynamic-zone.card":
return (
<HowWeDoIt heading={section?.Heading}
data={section} classname="risk_advisory_howitwork" />
);
default:
return null;
}
})}
</section>
<div className="ptb-100">
<div className="pt-5">
<Clientele partners={clientlogo} />
</div>
<CallBackRequest />
<CallBackRequest />
</>
);
};
......@@ -133,7 +133,7 @@ export async function getServerSideProps() {
const endpoint1 = `${process.env.NEXT_PUBLIC_BACKEND_API_URL}/api/risk-page?${query1String}`;
const endpoint2 = `${process.env.NEXT_PUBLIC_BACKEND_API_URL}/api/google-manger?${query12String}`;
// console.log(`Final url: ${endpoint1}`);
......
......@@ -105,7 +105,7 @@ const TaPage = ({ tapage, conversionData }) => {
</section>
</div>
<div className="ptb-100">
<div className="pt-5">
<Clientele partners={clientlogo} />
</div>
<CallBackRequest />
......
......@@ -81,10 +81,12 @@ const clientserviceapc = ({ apcpage, conversionData }) => {
);
case "dynamic-zone.element-two":
return (
<>
<MethodTwoSection
heading={section?.Heading}
data={section?.ElementList}
/>
/>
</>
);
case "dynamic-zone.variantcard":
return (
......
......@@ -100,8 +100,6 @@ const bookclosures = ({ bookclosurepage, conversionData }) => {
/>
);
default:
return null;
}
......@@ -109,7 +107,7 @@ const bookclosures = ({ bookclosurepage, conversionData }) => {
</section>
</div>
<div className="pb-100">
<div className="pt-5">
<Clientele
partners={clientlogo}
/>
......
......@@ -77,6 +77,7 @@ const clientservicecfo = ({ cfopage, conversionData }) => {
<MethodOne
heading={section?.Heading}
data={section?.ElementList}
classname="virtual_cfo_method_step"
/>
</>
);
......@@ -84,7 +85,9 @@ const clientservicecfo = ({ cfopage, conversionData }) => {
return (
<>
<HowWeDoIt heading={section?.Heading}
data={section} />
data={section}
classname="virtual_cfo_howwedoit"
/>
</>
);
case "dynamic-zone.variantcard":
......@@ -138,7 +141,7 @@ const clientservicecfo = ({ cfopage, conversionData }) => {
<div className="pb-100">
<Clientele partners={clientlogo} />
</div>
<CallBackRequest />
<CallBackRequest />
</>
);
};
......
......@@ -8090,7 +8090,7 @@ Modal CSS
overflow: hidden;
text-overflow: ellipsis;
font-size: 1rem;
height: 108px;
height: 98px;
}
......@@ -8117,6 +8117,9 @@ Modal CSS
z-index: -1;
}
.method-descr {
height: 7.4vw;
}
/* our approch */
......@@ -9054,7 +9057,7 @@ ul.pagination.custom-pagination {
/* -------------- transaction advisory ----------- */
.transaction_advisory_right_col {
padding: 0 ;
padding: 0;
}
......@@ -9088,6 +9091,14 @@ ul.pagination.custom-pagination {
.weoffer_section .HowWeDoIt_card {
height: 650px;
}
.method-container-1 .method-descr {
height: 98px;
}
.virtual_cfo_method_step .method-descr {
height: 5.7vw;
}
}
@media (max-width: 1399px) {
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!