Commit 0d132511 by gaurav

change

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