Commit 68c7c024 by gaurav

changes

1 parent c6d8db2e
...@@ -44,10 +44,10 @@ const PageBanner = ({ banners = [] }) => { ...@@ -44,10 +44,10 @@ const PageBanner = ({ banners = [] }) => {
// Bespoke Services // Bespoke Services
'bespoke-services': 'Bespoke Services', 'bespoke-services': 'Bespoke Services',
// Legacy mappings for existing pages // Legacy mappings for existing pages
'cfo': 'CFO', 'cfo': 'Virtual CFO Services',
'ba': 'BA', 'ba': 'Business Advisory',
'ta': 'TA', 'ta': 'Transaction Advisory',
'ra': 'RA' 'ra': 'Risk Advisory'
}; };
// Build breadcrumbs from path segments // Build breadcrumbs from path segments
......
...@@ -11,7 +11,7 @@ import SwiperNav from "@/components/reuseables/SwiperNav"; ...@@ -11,7 +11,7 @@ import SwiperNav from "@/components/reuseables/SwiperNav";
import { cleanImage } from "@/layout/imageHandling"; import { cleanImage } from "@/layout/imageHandling";
const WhatWeDo = ({ service ,serviceheading }) => { const WhatWeDo = ({ service, serviceheading }) => {
console.log(serviceheading, "serviceData"); console.log(serviceheading, "serviceData");
return ( return (
<> <>
...@@ -19,7 +19,7 @@ const WhatWeDo = ({ service ,serviceheading }) => { ...@@ -19,7 +19,7 @@ const WhatWeDo = ({ service ,serviceheading }) => {
<Container> <Container>
<div className="section-title"> <div className="section-title">
<span className="sub-title">{serviceheading?.Subtitle}</span> <span className="sub-title">{serviceheading?.Subtitle}</span>
<Heading el="h2" heading={serviceheading?.Title}/> <Heading el="h2" heading={serviceheading?.Title} />
</div> </div>
<p className="text-center"> <p className="text-center">
{serviceheading?.Description || "At Advith Consulting, we harness our wealth of Knowledge and expertise, leveraging our People to deliver exceptional Client satisfaction."} {serviceheading?.Description || "At Advith Consulting, we harness our wealth of Knowledge and expertise, leveraging our People to deliver exceptional Client satisfaction."}
...@@ -28,11 +28,15 @@ const WhatWeDo = ({ service ,serviceheading }) => { ...@@ -28,11 +28,15 @@ const WhatWeDo = ({ service ,serviceheading }) => {
<div className="position-relative px-md-4 mt-md-5 mt-2"> <div className="position-relative px-md-4 mt-md-5 mt-2">
<Swiper <Swiper
spaceBetween={30} spaceBetween={30}
centeredSlides={true} centeredSlides={false}
navigation={{ navigation={
service?.length > 3
? {
nextEl: ".custom-swiper-button-next", nextEl: ".custom-swiper-button-next",
prevEl: ".custom-swiper-button-prev", prevEl: ".custom-swiper-button-prev",
}} }
: false
}
pagination={{ pagination={{
clickable: true, clickable: true,
}} }}
...@@ -59,12 +63,12 @@ const WhatWeDo = ({ service ,serviceheading }) => { ...@@ -59,12 +63,12 @@ const WhatWeDo = ({ service ,serviceheading }) => {
{service && {service &&
service.map((service, index) => ( service.map((service, index) => (
<SwiperSlide className="single-services-box" key={index}> <SwiperSlide className="single-services-box" key={index}>
<motion.div {/* <motion.div
variants={slideFromLeft(0.5)} variants={slideFromLeft(0.5)}
initial={"hidden"} initial={"hidden"}
whileInView={"show"} whileInView={"show"}
viewport={{ once: false, amount: 0.4 }} viewport={{ once: false, amount: 0.4 }}
> > */}
<div className="image"> <div className="image">
<Link href={service?.CTA?.URL ? service?.CTA?.URL : "#"}> <Link href={service?.CTA?.URL ? service?.CTA?.URL : "#"}>
<Image <Image
...@@ -83,18 +87,20 @@ const WhatWeDo = ({ service ,serviceheading }) => { ...@@ -83,18 +87,20 @@ const WhatWeDo = ({ service ,serviceheading }) => {
<p>{service?.Description}</p> <p>{service?.Description}</p>
<Link href={service?.CTA?.URL ? service?.CTA?.URL : "#"} className="default-btn"> <Link href={service?.CTA?.URL ? service?.CTA?.URL : "#"} className="default-btn">
{service?.CTA?.text } {service?.CTA?.text}
<i className="ri-arrow-right-line"></i> <i className="ri-arrow-right-line"></i>
</Link> </Link>
</div> </div>
</motion.div> {/* </motion.div> */}
</SwiperSlide> </SwiperSlide>
))} ))}
<Swiper pagination={{ clickable: true }} /> <Swiper pagination={{ clickable: true }} />
</Swiper> </Swiper>
{service?.length > 3 && (
<div className="cust_nav swiper-nav text-center mt-md-4 mt-2"> <div className="cust_nav swiper-nav text-center mt-md-4 mt-2">
<SwiperNav /> <SwiperNav />
</div> </div>
)}
</div> </div>
</Container> </Container>
</div> </div>
......
...@@ -47,8 +47,8 @@ const RightSideImage = ({ title, subtitle, image, content, cta }) => { ...@@ -47,8 +47,8 @@ const RightSideImage = ({ title, subtitle, image, content, cta }) => {
} }
</div> </div>
</Col> </Col>
<Col lg={6} md={12}> <Col lg={6} md={12} className=" ps-5">
<div className="call-back-request-img"> <div className="call-back-request-img pe-0">
{/* <motion.div {/* <motion.div
variants={slideFromRight(0.5)} variants={slideFromRight(0.5)}
initial={"hidden"} initial={"hidden"}
...@@ -58,7 +58,7 @@ const RightSideImage = ({ title, subtitle, image, content, cta }) => { ...@@ -58,7 +58,7 @@ const RightSideImage = ({ title, subtitle, image, content, cta }) => {
<Image <Image
src={cleanImage(image?.url)} src={cleanImage(image?.url)}
layout="fill" layout="fill"
className="img-fluid image rounded-5" className="img-fluid image rounded-5 "
alt="image" alt="image"
/> />
{/* </motion.div> */} {/* </motion.div> */}
......
...@@ -9687,16 +9687,18 @@ ul.pagination.custom-pagination { ...@@ -9687,16 +9687,18 @@ ul.pagination.custom-pagination {
.weoffer-box-budget:hover h3 { .weoffer-box-budget:hover h3 {
color: white; color: white;
} }
.contact-btn{
.contact-btn {
background-color: #f8971f; background-color: #f8971f;
padding: 10px 25px !important; padding: 10px 25px !important;
align-items: center; align-items: center;
justify-items: center; justify-items: center;
margin-top: 1rem; margin-top: 1rem;
color: #fff!important; color: #fff !important;
border-radius: 7px; border-radius: 7px;
} }
.office-heading{
color: #393641!important; .office-heading {
font-size: 20px!important; color: #393641 !important;
font-size: 20px !important;
} }
\ No newline at end of file \ No newline at end of file
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!