Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
sujata
/
advithconsulting.io-frontend
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Registry
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit 3a90f487
authored
2025-08-15 00:59:21 +0530
by
gaurav
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
add new section on the service inner pages
1 parent
1733cff2
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
155 additions
and
91 deletions
container/ClientServicing/CFO/HowWeDoIt.js
container/ClientServicing/DigitalTransformation/DigitalFaq.js
container/ClientServicing/DigitalTransformation/DigitalHowWeDoIt.js
container/ClientServicing/EmpoweringFinanceConsultants/WhatWeDoWhatDontDo.js
pages/client-servicing/empowering-finance-consultants.js
pages/client-servicing/virtual-finance-office/apc.js
pages/client-servicing/virtual-finance-office/book-closures-audit.js
pages/client-servicing/virtual-finance-office/virtual-cfo.js
pages/client-servicing/virtual-finance-office/virtual-fc.js
container/ClientServicing/CFO/HowWeDoIt.js
View file @
3a90f48
...
@@ -14,14 +14,14 @@ const HowWeDoIt = ({ data, heading }) => {
...
@@ -14,14 +14,14 @@ const HowWeDoIt = ({ data, heading }) => {
<
span
className
=
"sub-title"
>
{
heading
?.
Subtitle
}
<
/span
>
<
span
className
=
"sub-title"
>
{
heading
?.
Subtitle
}
<
/span
>
<
Heading
el
=
"h2"
heading
=
{
heading
?.
Title
}
/
>
<
Heading
el
=
"h2"
heading
=
{
heading
?.
Title
}
/
>
<
/div
>
<
/div
>
<
p
<
div
className
=
" text-center text-black mb-4 mb-lg-5"
className
=
" text-center text-black mb-4 mb-lg-5"
dangerouslySetInnerHTML
=
{{
__html
:
heading
?.
Description
}}
dangerouslySetInnerHTML
=
{{
__html
:
heading
?.
Description
}}
><
/
p
>
><
/
div
>
<
Row
className
=
"row-gap-4 justify-content-center"
>
<
Row
className
=
"row-gap-4 justify-content-center"
>
{
data
?.
carddetails
&&
{
data
?.
carddetails
&&
data
?.
carddetails
.
map
((
item
,
index
)
=>
(
data
?.
carddetails
.
map
((
item
,
index
)
=>
(
<
Col
md
=
{
4
}
key
=
{
index
}
>
<
Col
md
=
{
4
}
key
=
{
index
}
>
<
div
className
=
"HowWeDoIt_card "
>
<
div
className
=
"HowWeDoIt_card "
>
<
h2
>
{
item
?.
Title
}
<
/h2
>
<
h2
>
{
item
?.
Title
}
<
/h2
>
{
/* <Image
{
/* <Image
...
@@ -31,7 +31,7 @@ const HowWeDoIt = ({ data, heading }) => {
...
@@ -31,7 +31,7 @@ const HowWeDoIt = ({ data, heading }) => {
fill
fill
/> */
}
/> */
}
<
img
<
img
src
=
{
cleanImage
(
item
?.
Image
?.
url
)}
src
=
{
cleanImage
(
item
?.
Image
?.
url
)}
alt
=
{
item
?.
Title
||
"Image"
}
alt
=
{
item
?.
Title
||
"Image"
}
style
=
{{
style
=
{{
width
:
"100%"
,
width
:
"100%"
,
...
...
container/ClientServicing/DigitalTransformation/DigitalFaq.js
View file @
3a90f48
...
@@ -13,7 +13,7 @@ import { Col, Row } from "react-bootstrap";
...
@@ -13,7 +13,7 @@ import { Col, Row } from "react-bootstrap";
import
{
slideFromLeft
}
from
"@/components/reuseables/variants"
;
import
{
slideFromLeft
}
from
"@/components/reuseables/variants"
;
const
DigitalFaq
=
({
data
,
heading
})
=>
{
const
DigitalFaq
=
({
data
,
heading
})
=>
{
console
.
log
(
data
,
"data"
);
//
console.log(data, "data");
return
(
return
(
<>
<>
<
div
className
=
"faq-area digital_transformation_faq ptb-50"
>
<
div
className
=
"faq-area digital_transformation_faq ptb-50"
>
...
@@ -68,13 +68,13 @@ const DigitalFaq = ({ data, heading }) => {
...
@@ -68,13 +68,13 @@ const DigitalFaq = ({ data, heading }) => {
<
p
>
{
productItem
?.
Description
}
<
/p
>
<
p
>
{
productItem
?.
Description
}
<
/p
>
{
i
tem
?.
Button
?.
text
&&
(
{
productI
tem
?.
Button
?.
text
&&
(
<
div
className
=
"btn-1 mt-auto mb-4"
>
<
div
className
=
"btn-1 mt-auto mb-4"
>
<
Link
<
Link
href
=
{
i
tem
?.
Button
?.
URL
||
"#"
}
href
=
{
productI
tem
?.
Button
?.
URL
||
"#"
}
className
=
"default-btn-three"
className
=
"default-btn-three"
>
>
{
i
tem
?.
Button
?.
text
||
""
}
{
productI
tem
?.
Button
?.
text
||
""
}
<
i
className
=
"ri-arrow-right-line"
><
/i
>
<
i
className
=
"ri-arrow-right-line"
><
/i
>
<
/Link
>
<
/Link
>
<
/div
>
<
/div
>
...
...
container/ClientServicing/DigitalTransformation/DigitalHowWeDoIt.js
View file @
3a90f48
...
@@ -5,14 +5,16 @@ import React from 'react'
...
@@ -5,14 +5,16 @@ import React from 'react'
import
{
Container
}
from
'react-bootstrap'
import
{
Container
}
from
'react-bootstrap'
const
DigitalHowWeDoIt
=
({
heading
,
desktopImage
,
mobileImage
})
=>
{
const
DigitalHowWeDoIt
=
({
heading
,
desktopImage
,
mobileImage
})
=>
{
console
.
log
(
desktopImage
,
"desktopImage data"
);
//
console.log(desktopImage, "desktopImage data");
console
.
log
(
mobileImage
,
"mobileImage data"
);
//
console.log(mobileImage, "mobileImage data");
return
(
return
(
<
Container
className
=
"text-center"
>
<
Container
className
=
"text-center"
>
<
div
className
=
"section-title"
>
{
heading
&&
<
Heading
el
=
"h2"
heading
=
{
heading
}
/
>
<
div
className
=
"section-title"
>
<
/div
>
<
Heading
el
=
"h2"
heading
=
{
heading
}
/
>
<
/div
>
}
{
desktopImage
?.
url
&&
(
{
desktopImage
?.
url
&&
(
<
Image
<
Image
...
@@ -20,7 +22,7 @@ const DigitalHowWeDoIt = ({ heading, desktopImage, mobileImage }) => {
...
@@ -20,7 +22,7 @@ const DigitalHowWeDoIt = ({ heading, desktopImage, mobileImage }) => {
alt
=
{
desktopImage
?.
alternativeText
||
"image"
}
alt
=
{
desktopImage
?.
alternativeText
||
"image"
}
width
=
{
1000
}
width
=
{
1000
}
height
=
{
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 }) => {
...
@@ -30,7 +32,7 @@ const DigitalHowWeDoIt = ({ heading, desktopImage, mobileImage }) => {
alt
=
{
mobileImage
?.
alternativeText
||
"image"
}
alt
=
{
mobileImage
?.
alternativeText
||
"image"
}
width
=
{
1000
}
width
=
{
1000
}
height
=
{
1000
}
height
=
{
1000
}
className
=
'img-fluid d-block d-md-none'
className
=
'img-fluid d-block d-md-none
mx-auto
'
/
>
/
>
)}
)}
<
/Container
>
<
/Container
>
...
...
container/ClientServicing/EmpoweringFinanceConsultants/WhatWeDoWhatDontDo.js
View file @
3a90f48
...
@@ -2,11 +2,13 @@ import { cleanImage } from '@/layout/imageHandling'
...
@@ -2,11 +2,13 @@ import { cleanImage } from '@/layout/imageHandling'
import
React
from
'react'
import
React
from
'react'
import
{
Col
,
Container
,
Row
}
from
'react-bootstrap'
import
{
Col
,
Container
,
Row
}
from
'react-bootstrap'
const
WhatWeDoWhatDontDo
=
(
heading
,
data
,
image
)
=>
{
const
WhatWeDoWhatDontDo
=
(
heading
,
data
,
image
)
=>
{
console
.
log
(
image
,
"WhatWeDoWhatDontDo"
)
console
.
log
(
heading
,
"WhatWeDoWhatDontDo"
)
const
image2
=
heading
?.
image
;
const
data2
=
heading
?.
data
?.
list
;
// console.log(image2, "WhatWeDoWhatDontDo")
const
backgroundImageUrl
=
cleanImage
(
image
?.
url
);
const
backgroundImageUrl
=
cleanImage
(
image
?.
url
);
console
.
log
(
backgroundImageUrl
,
"backgroundImageUrl"
)
console
.
log
(
backgroundImageUrl
,
"backgroundImageUrl"
)
return
(
return
(
<
div
className
=
''
style
=
{{
<
div
className
=
''
style
=
{{
backgroundImage
:
`url(
${
backgroundImageUrl
}
)`
,
backgroundImage
:
`url(
${
backgroundImageUrl
}
)`
,
...
@@ -28,7 +30,7 @@ const WhatWeDoWhatDontDo = (heading,data,image) => {
...
@@ -28,7 +30,7 @@ const WhatWeDoWhatDontDo = (heading,data,image) => {
{
/* <p>{description}</p> */
}
{
/* <p>{description}</p> */
}
<
div
<
div
className
=
"content"
className
=
"content"
dangerouslySetInnerHTML
=
{{
__html
:
data
?.
content
}}
dangerouslySetInnerHTML
=
{{
__html
:
data
?.
content
}}
/
>
/
>
<
/div
>
<
/div
>
{
/* </Col> */
}
{
/* </Col> */
}
...
...
pages/client-servicing/empowering-finance-consultants.js
View file @
3a90f48
...
@@ -89,20 +89,22 @@ const EmpoweringFinanceConsultants = ({ Empoweringpage, conversionData }) => {
...
@@ -89,20 +89,22 @@ const EmpoweringFinanceConsultants = ({ Empoweringpage, conversionData }) => {
case
"dynamic-zone.image"
:
case
"dynamic-zone.image"
:
return
(
return
(
<>
<>
<
DigitalHowWeDoIt
<
DigitalHowWeDoIt
heading
=
{
section
?.
Heading
}
heading
=
{
section
?.
Heading
}
desktopImage
=
{
section
?.
DesktopImg
}
desktopImage
=
{
section
?.
DesktopImg
}
mobileImage
=
{
section
?.
MobileImg
}
mobileImage
=
{
section
?.
MobileImg
}
/
>
/
>
<
/
>
<
/
>
);
);
case
"dynamic-zone.what-wedo-banner"
:
case
"dynamic-zone.what-wedo-banner"
:
return
(
return
(
<
WhatWeDoWhatDontDo
<>
heading
=
{
section
?.
Heading
}
<
WhatWeDoWhatDontDo
data
=
{
section
?.
list
}
heading
=
{
section
?.
Heading
}
image
=
{
section
?.
BackgroundBanner
}
data
=
{
section
?.
list
}
/
>
image
=
{
section
?.
BackgroundBanner
}
/
>
<
/
>
);
);
case
"dynamic-zone.element-one"
:
case
"dynamic-zone.element-one"
:
return
(
return
(
...
...
pages/client-servicing/virtual-finance-office/apc.js
View file @
3a90f48
...
@@ -12,13 +12,15 @@ import ConversionCode from "@/components/reuseables/ConversionCode/ConversionCod
...
@@ -12,13 +12,15 @@ import ConversionCode from "@/components/reuseables/ConversionCode/ConversionCod
import
Content
from
"@/components/reuseables/services/Content"
;
import
Content
from
"@/components/reuseables/services/Content"
;
import
CallBackRequest
from
"@/components/reuseables/CallBackRequest"
;
import
CallBackRequest
from
"@/components/reuseables/CallBackRequest"
;
import
Card
from
"@/components/reuseables/services/Card"
;
import
Card
from
"@/components/reuseables/services/Card"
;
import
HowWeDoIt
from
"@/container/ClientServicing/CFO/HowWeDoIt"
;
import
DigitalHowWeDoIt
from
"@/container/ClientServicing/DigitalTransformation/DigitalHowWeDoIt"
;
// method one content
// method one content
const
clientserviceapc
=
({
apcpage
,
conversionData
})
=>
{
const
clientserviceapc
=
({
apcpage
,
conversionData
})
=>
{
// console.log(apcpage ,"apcpage")
// console.log(apcpage ,"apcpage")
const
banners
=
[
const
banners
=
[
{
{
...
@@ -55,20 +57,20 @@ const clientserviceapc = ({ apcpage ,conversionData }) => {
...
@@ -55,20 +57,20 @@ const clientserviceapc = ({ apcpage ,conversionData }) => {
case
"dynamic-zone.about"
:
case
"dynamic-zone.about"
:
return
(
return
(
<
LeftSideImage
<
LeftSideImage
title
=
{
section
?.
Title
}
title
=
{
section
?.
Title
}
subtitle
=
{
section
?.
Subtitle
}
subtitle
=
{
section
?.
Subtitle
}
image
=
{
section
?.
Image
}
image
=
{
section
?.
Image
}
content
=
{
section
?.
Content
}
content
=
{
section
?.
Content
}
/
>
/
>
);
);
case
"dynamic-zone.background"
:
case
"dynamic-zone.background"
:
return
(
return
(
<
RightSideImage
<
RightSideImage
title
=
{
section
?.
Title
}
title
=
{
section
?.
Title
}
subtitle
=
{
section
?.
Subtitle
}
subtitle
=
{
section
?.
Subtitle
}
image
=
{
section
?.
Image
}
image
=
{
section
?.
Image
}
content
=
{
section
?.
Content
}
content
=
{
section
?.
Content
}
/
>
/
>
);
);
case
"dynamic-zone.element-one"
:
case
"dynamic-zone.element-one"
:
return
(
return
(
...
@@ -84,15 +86,32 @@ const clientserviceapc = ({ apcpage ,conversionData }) => {
...
@@ -84,15 +86,32 @@ const clientserviceapc = ({ apcpage ,conversionData }) => {
data
=
{
section
?.
ElementList
}
data
=
{
section
?.
ElementList
}
/
>
/
>
);
);
case
"dynamic-zone.text"
:
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
(
return
(
<
Content
<
Content
title
=
{
section
?.
Heading
}
title
=
{
section
?.
Heading
}
subtitle
=
{
section
?.
Subtitle
}
subtitle
=
{
section
?.
Subtitle
}
content
=
{
section
?.
Description
}
content
=
{
section
?.
Description
}
/
>
/
>
);
);
case
"dynamic-zone.card"
:
case
"dynamic-zone.card"
:
return
(
return
(
<
Card
<
Card
heading
=
{
section
?.
Heading
}
heading
=
{
section
?.
Heading
}
...
@@ -109,7 +128,7 @@ const clientserviceapc = ({ apcpage ,conversionData }) => {
...
@@ -109,7 +128,7 @@ const clientserviceapc = ({ apcpage ,conversionData }) => {
<
div
className
=
"pt-100"
>
<
div
className
=
"pt-100"
>
<
Clientele
partners
=
{
clientlogo
}
/
>
<
Clientele
partners
=
{
clientlogo
}
/
>
<
/div
>
<
/div
>
<
CallBackRequest
/>
<
CallBackRequest
/>
<
/
>
<
/
>
);
);
};
};
...
@@ -126,7 +145,9 @@ export async function getServerSideProps() {
...
@@ -126,7 +145,9 @@ export async function getServerSideProps() {
"APCDetails.Image"
,
"APCDetails.Image"
,
"APCDetails.Heading"
,
"APCDetails.Heading"
,
"APCDetails.ElementList.StepImg"
,
"APCDetails.ElementList.StepImg"
,
"APCDetails.carddetails"
,
"APCDetails.carddetails.Image"
,
"APCDetails.DesktopImg"
,
"APCDetails.MobileImg"
,
"Clientel.logos"
,
"Clientel.logos"
,
"seo"
,
"seo"
,
"seo.metaImage"
,
"seo.metaImage"
,
...
@@ -148,10 +169,10 @@ export async function getServerSideProps() {
...
@@ -148,10 +169,10 @@ export async function getServerSideProps() {
const
endpoint1
=
`
${
process
.
env
.
NEXT_PUBLIC_BACKEND_API_URL
}
/api/apc?
${
query1String
}
`
;
const
endpoint1
=
`
${
process
.
env
.
NEXT_PUBLIC_BACKEND_API_URL
}
/api/apc?
${
query1String
}
`
;
const
endpoint2
=
`
${
process
.
env
.
NEXT_PUBLIC_BACKEND_API_URL
}
/api/google-manger?
${
query12String
}
`
;
const
endpoint2
=
`
${
process
.
env
.
NEXT_PUBLIC_BACKEND_API_URL
}
/api/google-manger?
${
query12String
}
`
;
console
.
log
(
`Final url:
${
endpoint1
}
`
);
console
.
log
(
`Final url:
${
endpoint1
}
`
);
const
[
response1
,
response2
]
=
await
Promise
.
all
([
const
[
response1
,
response2
]
=
await
Promise
.
all
([
axios
.
get
(
endpoint1
),
axios
.
get
(
endpoint1
),
axios
.
get
(
endpoint2
),
axios
.
get
(
endpoint2
),
...
@@ -162,7 +183,7 @@ export async function getServerSideProps() {
...
@@ -162,7 +183,7 @@ export async function getServerSideProps() {
return
{
return
{
props
:
{
apcpage
,
conversionData
},
props
:
{
apcpage
,
conversionData
},
};
};
}
catch
(
error
)
{
}
catch
(
error
)
{
console
.
log
(
"Error"
,
error
);
console
.
log
(
"Error"
,
error
);
...
...
pages/client-servicing/virtual-finance-office/book-closures-audit.js
View file @
3a90f48
...
@@ -12,10 +12,11 @@ import ConversionCode from "@/components/reuseables/ConversionCode/ConversionCod
...
@@ -12,10 +12,11 @@ import ConversionCode from "@/components/reuseables/ConversionCode/ConversionCod
import
CallBackRequest
from
"@/components/reuseables/CallBackRequest"
;
import
CallBackRequest
from
"@/components/reuseables/CallBackRequest"
;
import
Card
from
"@/components/reuseables/services/Card"
;
import
Card
from
"@/components/reuseables/services/Card"
;
import
HowWeDoIt
from
"@/container/ClientServicing/CFO/HowWeDoIt"
;
import
HowWeDoIt
from
"@/container/ClientServicing/CFO/HowWeDoIt"
;
import
DigitalHowWeDoIt
from
"@/container/ClientServicing/DigitalTransformation/DigitalHowWeDoIt"
;
// method one content
// method one content
const
bookclosures
=
({
bookclosurepage
,
conversionData
})
=>
{
const
bookclosures
=
({
bookclosurepage
,
conversionData
})
=>
{
console
.
log
(
bookclosurepage
,
"bookclosurepage"
)
console
.
log
(
bookclosurepage
,
"bookclosurepage"
)
const
banners
=
[
const
banners
=
[
{
{
imageSrc
:
cleanImage
(
bookclosurepage
?.
Banner
?.
Image
?.
url
),
imageSrc
:
cleanImage
(
bookclosurepage
?.
Banner
?.
Image
?.
url
),
...
@@ -52,20 +53,20 @@ const bookclosures = ({ bookclosurepage ,conversionData }) => {
...
@@ -52,20 +53,20 @@ const bookclosures = ({ bookclosurepage ,conversionData }) => {
case
"dynamic-zone.about"
:
case
"dynamic-zone.about"
:
return
(
return
(
<
LeftSideImage
<
LeftSideImage
title
=
{
section
?.
Title
}
title
=
{
section
?.
Title
}
subtitle
=
{
section
?.
Subtitle
}
subtitle
=
{
section
?.
Subtitle
}
image
=
{
section
?.
Image
}
image
=
{
section
?.
Image
}
content
=
{
section
?.
Content
}
content
=
{
section
?.
Content
}
/
>
/
>
);
);
case
"dynamic-zone.background"
:
case
"dynamic-zone.background"
:
return
(
return
(
<
RightSideImage
<
RightSideImage
title
=
{
section
?.
Title
}
title
=
{
section
?.
Title
}
subtitle
=
{
section
?.
Subtitle
}
subtitle
=
{
section
?.
Subtitle
}
image
=
{
section
?.
Image
}
image
=
{
section
?.
Image
}
content
=
{
section
?.
Content
}
content
=
{
section
?.
Content
}
/
>
/
>
);
);
case
"dynamic-zone.element-one"
:
case
"dynamic-zone.element-one"
:
return
(
return
(
...
@@ -74,14 +75,23 @@ const bookclosures = ({ bookclosurepage ,conversionData }) => {
...
@@ -74,14 +75,23 @@ const bookclosures = ({ bookclosurepage ,conversionData }) => {
data
=
{
section
?.
ElementList
}
data
=
{
section
?.
ElementList
}
/
>
/
>
);
);
case
"dynamic-zone.card"
:
case
"dynamic-zone.card"
:
return
(
return
(
<>
<>
<
HowWeDoIt
heading
=
{
section
?.
Heading
}
<
HowWeDoIt
heading
=
{
section
?.
Heading
}
data
=
{
section
}
/
>
data
=
{
section
}
/
>
<
/
>
<
/
>
);
);
case
"dynamic-zone.image"
:
return
(
<>
<
DigitalHowWeDoIt
heading
=
{
section
?.
Heading
}
desktopImage
=
{
section
?.
DesktopImg
}
mobileImage
=
{
section
?.
MobileImg
}
/
>
<
/
>
);
case
"dynamic-zone.element-two"
:
case
"dynamic-zone.element-two"
:
return
(
return
(
<
MethodTwoSection
<
MethodTwoSection
...
@@ -90,8 +100,8 @@ const bookclosures = ({ bookclosurepage ,conversionData }) => {
...
@@ -90,8 +100,8 @@ const bookclosures = ({ bookclosurepage ,conversionData }) => {
/
>
/
>
);
);
default
:
default
:
return
null
;
return
null
;
}
}
...
@@ -100,11 +110,11 @@ const bookclosures = ({ bookclosurepage ,conversionData }) => {
...
@@ -100,11 +110,11 @@ const bookclosures = ({ bookclosurepage ,conversionData }) => {
<
/div
>
<
/div
>
<
div
className
=
"pb-100"
>
<
div
className
=
"pb-100"
>
<
Clientele
<
Clientele
partners
=
{
clientlogo
}
partners
=
{
clientlogo
}
/
>
/
>
<
/div
>
<
/div
>
<
CallBackRequest
/>
<
CallBackRequest
/>
<
/
>
<
/
>
);
);
};
};
...
@@ -121,6 +131,9 @@ export async function getServerSideProps() {
...
@@ -121,6 +131,9 @@ export async function getServerSideProps() {
"BookClosureDetails.Image"
,
"BookClosureDetails.Image"
,
"BookClosureDetails.Heading"
,
"BookClosureDetails.Heading"
,
"BookClosureDetails.ElementList.StepImg"
,
"BookClosureDetails.ElementList.StepImg"
,
"BookClosureDetails.carddetails.Image"
,
"BookClosureDetails.DesktopImg"
,
"BookClosureDetails.MobileImg"
,
"Clientel.logos"
,
"Clientel.logos"
,
"seo"
,
"seo"
,
"seo.metaImage"
,
"seo.metaImage"
,
...
@@ -142,10 +155,10 @@ export async function getServerSideProps() {
...
@@ -142,10 +155,10 @@ export async function getServerSideProps() {
const
endpoint1
=
`
${
process
.
env
.
NEXT_PUBLIC_BACKEND_API_URL
}
/api/book-closure-and-audit-page?
${
query1String
}
`
;
const
endpoint1
=
`
${
process
.
env
.
NEXT_PUBLIC_BACKEND_API_URL
}
/api/book-closure-and-audit-page?
${
query1String
}
`
;
const
endpoint2
=
`
${
process
.
env
.
NEXT_PUBLIC_BACKEND_API_URL
}
/api/google-manger?
${
query12String
}
`
;
const
endpoint2
=
`
${
process
.
env
.
NEXT_PUBLIC_BACKEND_API_URL
}
/api/google-manger?
${
query12String
}
`
;
console
.
log
(
`Final url:
${
endpoint1
}
`
);
console
.
log
(
`Final url:
${
endpoint1
}
`
);
const
[
response1
,
response2
]
=
await
Promise
.
all
([
const
[
response1
,
response2
]
=
await
Promise
.
all
([
axios
.
get
(
endpoint1
),
axios
.
get
(
endpoint1
),
axios
.
get
(
endpoint2
),
axios
.
get
(
endpoint2
),
...
@@ -156,7 +169,7 @@ export async function getServerSideProps() {
...
@@ -156,7 +169,7 @@ export async function getServerSideProps() {
return
{
return
{
props
:
{
bookclosurepage
,
conversionData
},
props
:
{
bookclosurepage
,
conversionData
},
};
};
}
catch
(
error
)
{
}
catch
(
error
)
{
console
.
log
(
"Error"
,
error
);
console
.
log
(
"Error"
,
error
);
...
...
pages/client-servicing/virtual-finance-office/virtual-cfo.js
View file @
3a90f48
...
@@ -11,11 +11,12 @@ import Seo from "@/components/reuseables/Seo/Seo";
...
@@ -11,11 +11,12 @@ import Seo from "@/components/reuseables/Seo/Seo";
import
ConversionCode
from
"@/components/reuseables/ConversionCode/ConversionCode"
;
import
ConversionCode
from
"@/components/reuseables/ConversionCode/ConversionCode"
;
import
Card
from
"@/components/reuseables/services/Card"
;
import
Card
from
"@/components/reuseables/services/Card"
;
import
HowWeDoIt
from
"@/container/ClientServicing/CFO/HowWeDoIt"
;
import
HowWeDoIt
from
"@/container/ClientServicing/CFO/HowWeDoIt"
;
import
DigitalHowWeDoIt
from
"@/container/ClientServicing/DigitalTransformation/DigitalHowWeDoIt"
;
// method one content
// method one content
const
clientservicecfo
=
({
cfopage
,
conversionData
})
=>
{
const
clientservicecfo
=
({
cfopage
,
conversionData
})
=>
{
console
.
log
(
cfopage
,
"cfopage"
)
console
.
log
(
cfopage
,
"cfopage"
)
const
banners
=
[
const
banners
=
[
{
{
imageSrc
:
cleanImage
(
cfopage
?.
Banner
?.
Image
?.
url
),
imageSrc
:
cleanImage
(
cfopage
?.
Banner
?.
Image
?.
url
),
...
@@ -92,7 +93,7 @@ const clientservicecfo = ({ cfopage, conversionData }) => {
...
@@ -92,7 +93,7 @@ const clientservicecfo = ({ cfopage, conversionData }) => {
image
=
{
section
?.
Image
}
image
=
{
section
?.
Image
}
/
>
/
>
);
);
case
"dynamic-zone.element-two"
:
case
"dynamic-zone.element-two"
:
return
(
return
(
<
MethodTwoSection
<
MethodTwoSection
...
@@ -100,7 +101,16 @@ const clientservicecfo = ({ cfopage, conversionData }) => {
...
@@ -100,7 +101,16 @@ const clientservicecfo = ({ cfopage, conversionData }) => {
data
=
{
section
?.
ElementList
}
data
=
{
section
?.
ElementList
}
/
>
/
>
);
);
case
"dynamic-zone.image"
:
return
(
<>
<
DigitalHowWeDoIt
heading
=
{
section
?.
Heading
}
desktopImage
=
{
section
?.
DesktopImg
}
mobileImage
=
{
section
?.
MobileImg
}
/
>
<
/
>
);
case
"dynamic-zone.rules-application"
:
case
"dynamic-zone.rules-application"
:
return
(
return
(
<
Rules
<
Rules
...
@@ -139,6 +149,8 @@ export async function getServerSideProps() {
...
@@ -139,6 +149,8 @@ export async function getServerSideProps() {
"CfoDeatils.Heading"
,
"CfoDeatils.Heading"
,
"CfoDeatils.ElementList.StepImg"
,
"CfoDeatils.ElementList.StepImg"
,
"CfoDeatils.carddetails.Image"
,
"CfoDeatils.carddetails.Image"
,
"CfoDeatils.DesktopImg"
,
"CfoDeatils.MobileImg"
,
"Clientel.logos"
,
"Clientel.logos"
,
"seo"
,
"seo"
,
"seo.metaImage"
,
"seo.metaImage"
,
...
...
pages/client-servicing/virtual-finance-office/virtual-fc.js
View file @
3a90f48
...
@@ -12,13 +12,14 @@ import ConversionCode from "@/components/reuseables/ConversionCode/ConversionCod
...
@@ -12,13 +12,14 @@ import ConversionCode from "@/components/reuseables/ConversionCode/ConversionCod
import
CallBackRequest
from
"@/components/reuseables/CallBackRequest"
;
import
CallBackRequest
from
"@/components/reuseables/CallBackRequest"
;
import
Card
from
"@/components/reuseables/services/Card"
;
import
Card
from
"@/components/reuseables/services/Card"
;
import
HowWeDoIt
from
"@/container/ClientServicing/CFO/HowWeDoIt"
;
import
HowWeDoIt
from
"@/container/ClientServicing/CFO/HowWeDoIt"
;
import
DigitalHowWeDoIt
from
"@/container/ClientServicing/DigitalTransformation/DigitalHowWeDoIt"
;
// method one content
// method one content
const
clientservicefc
=
({
fcpage
,
conversionData
})
=>
{
const
clientservicefc
=
({
fcpage
,
conversionData
})
=>
{
// console.log(fcpage ,"fcpage")
// console.log(fcpage ,"fcpage")
const
banners
=
[
const
banners
=
[
{
{
...
@@ -56,20 +57,20 @@ const clientservicefc = ({ fcpage ,conversionData }) => {
...
@@ -56,20 +57,20 @@ const clientservicefc = ({ fcpage ,conversionData }) => {
case
"dynamic-zone.about"
:
case
"dynamic-zone.about"
:
return
(
return
(
<
LeftSideImage
<
LeftSideImage
title
=
{
section
?.
Title
}
title
=
{
section
?.
Title
}
subtitle
=
{
section
?.
Subtitle
}
subtitle
=
{
section
?.
Subtitle
}
image
=
{
section
?.
Image
}
image
=
{
section
?.
Image
}
content
=
{
section
?.
Content
}
content
=
{
section
?.
Content
}
/
>
/
>
);
);
case
"dynamic-zone.background"
:
case
"dynamic-zone.background"
:
return
(
return
(
<
RightSideImage
<
RightSideImage
title
=
{
section
?.
Title
}
title
=
{
section
?.
Title
}
subtitle
=
{
section
?.
Subtitle
}
subtitle
=
{
section
?.
Subtitle
}
image
=
{
section
?.
Image
}
image
=
{
section
?.
Image
}
content
=
{
section
?.
Content
}
content
=
{
section
?.
Content
}
/
>
/
>
);
);
case
"dynamic-zone.element-one"
:
case
"dynamic-zone.element-one"
:
return
(
return
(
...
@@ -85,14 +86,23 @@ const clientservicefc = ({ fcpage ,conversionData }) => {
...
@@ -85,14 +86,23 @@ const clientservicefc = ({ fcpage ,conversionData }) => {
data
=
{
section
?.
ElementList
}
data
=
{
section
?.
ElementList
}
/
>
/
>
);
);
case
"dynamic-zone.card"
:
case
"dynamic-zone.card"
:
return
(
return
(
<>
<>
<
HowWeDoIt
heading
=
{
section
?.
Heading
}
<
HowWeDoIt
heading
=
{
section
?.
Heading
}
data
=
{
section
}
/
>
data
=
{
section
}
/
>
<
/
>
<
/
>
);
);
case
"dynamic-zone.image"
:
return
(
<>
<
DigitalHowWeDoIt
heading
=
{
section
?.
Heading
}
desktopImage
=
{
section
?.
DesktopImg
}
mobileImage
=
{
section
?.
MobileImg
}
/
>
<
/
>
);
case
"dynamic-zone.variantcard"
:
case
"dynamic-zone.variantcard"
:
return
(
return
(
<
Card
<
Card
...
@@ -111,7 +121,7 @@ const clientservicefc = ({ fcpage ,conversionData }) => {
...
@@ -111,7 +121,7 @@ const clientservicefc = ({ fcpage ,conversionData }) => {
<
div
className
=
"pb-100"
>
<
div
className
=
"pb-100"
>
<
Clientele
partners
=
{
clientlogo
}
/
>
<
Clientele
partners
=
{
clientlogo
}
/
>
<
/div
>
<
/div
>
<
CallBackRequest
/>
<
CallBackRequest
/>
<
/
>
<
/
>
);
);
};
};
...
@@ -128,7 +138,9 @@ export async function getServerSideProps() {
...
@@ -128,7 +138,9 @@ export async function getServerSideProps() {
"FCDeatils.Image"
,
"FCDeatils.Image"
,
"FCDeatils.Heading"
,
"FCDeatils.Heading"
,
"FCDeatils.ElementList.StepImg"
,
"FCDeatils.ElementList.StepImg"
,
"FCDeatils.carddetails"
,
"FCDeatils.carddetails.Image"
,
"FCDeatils.DesktopImg"
,
"FCDeatils.MobileImg"
,
"Clientel.logos"
,
"Clientel.logos"
,
"seo"
,
"seo"
,
"seo.metaImage"
,
"seo.metaImage"
,
...
@@ -150,10 +162,10 @@ export async function getServerSideProps() {
...
@@ -150,10 +162,10 @@ export async function getServerSideProps() {
const
endpoint1
=
`
${
process
.
env
.
NEXT_PUBLIC_BACKEND_API_URL
}
/api/fc-page?
${
query1String
}
`
;
const
endpoint1
=
`
${
process
.
env
.
NEXT_PUBLIC_BACKEND_API_URL
}
/api/fc-page?
${
query1String
}
`
;
const
endpoint2
=
`
${
process
.
env
.
NEXT_PUBLIC_BACKEND_API_URL
}
/api/google-manger?
${
query12String
}
`
;
const
endpoint2
=
`
${
process
.
env
.
NEXT_PUBLIC_BACKEND_API_URL
}
/api/google-manger?
${
query12String
}
`
;
console
.
log
(
`Final url:
${
endpoint1
}
`
);
console
.
log
(
`Final url:
${
endpoint1
}
`
);
const
[
response1
,
response2
]
=
await
Promise
.
all
([
const
[
response1
,
response2
]
=
await
Promise
.
all
([
axios
.
get
(
endpoint1
),
axios
.
get
(
endpoint1
),
axios
.
get
(
endpoint2
),
axios
.
get
(
endpoint2
),
...
@@ -164,7 +176,7 @@ export async function getServerSideProps() {
...
@@ -164,7 +176,7 @@ export async function getServerSideProps() {
return
{
return
{
props
:
{
fcpage
,
conversionData
},
props
:
{
fcpage
,
conversionData
},
};
};
}
catch
(
error
)
{
}
catch
(
error
)
{
console
.
log
(
"Error"
,
error
);
console
.
log
(
"Error"
,
error
);
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment