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 1733cff2
authored
2025-08-15 00:47:29 +0530
by
sujata
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
add compoent in dynamic zone
1 parent
d44aa63c
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
29 additions
and
17 deletions
container/ClientServicing/EmpoweringFinanceConsultants/WeOffer.js
container/ClientServicing/EmpoweringFinanceConsultants/WhatWeDoWhatDontDo.js
pages/client-servicing/empowering-finance-consultants.js
styles/styles.css
container/ClientServicing/EmpoweringFinanceConsultants/WeOffer.js
View file @
1733cff
...
...
@@ -22,7 +22,7 @@ const WeOffer = (data) => {
whileInView
=
{
"show"
}
viewport
=
{{
once
:
false
,
amount
:
0.4
}}
>
<
div
className
=
"
services
-box-budget"
>
<
div
className
=
"
weoffer
-box-budget"
>
<
div
className
=
"d-flex align-items-center"
>
<
h3
>
{
item
?.
Title
}
...
...
container/ClientServicing/EmpoweringFinanceConsultants/WhatWeDoWhatDontDo.js
View file @
1733cff
import
{
cleanImage
}
from
'@/layout/imageHandling'
import
Image
from
'next/image'
import
React
from
'react'
import
{
Col
,
Container
,
Row
}
from
'react-bootstrap'
const
WhatWeDoWhatDontDo
=
()
=>
{
const
backgroundImageUrl
=
cleanImage
(
data
?.
Image
?.
url
);
const
WhatWeDoWhatDontDo
=
(
heading
,
data
,
image
)
=>
{
console
.
log
(
image
,
"WhatWeDoWhatDontDo"
)
const
backgroundImageUrl
=
cleanImage
(
image
?.
url
);
console
.
log
(
backgroundImageUrl
,
"backgroundImageUrl"
)
return
(
<
div
className
=
''
style
=
{{
backgroundImage
:
`url(
${
backgroundImageUrl
}
)`
,
...
...
@@ -17,15 +17,18 @@ const WhatWeDoWhatDontDo = () => {
}}
>
<
Container
>
<
Row
className
=
"align-items-center"
>
<
Col
lg
=
{
12
}
>
<
h2
>
{
data
?.
Title
}
<
/h2
>
<
/Col
>
{
/* <Col lg={6} md={12}> */
}
<
div
className
=
"call-back-request-text"
>
<
span
className
=
"sub-title"
>
{
subtitle
}
<
/span
>
<
span
className
=
"sub-title"
>
{
data
?.
subtitle
}
<
/span
>
{
/* <Heading el="h2" heading={title} className="h2" /> */
}
<
h2
>
{
title
}
<
/h2
>
<
h2
>
{
data
?.
title
}
<
/h2
>
{
/* <p>{description}</p> */
}
<
div
className
=
"content"
dangerouslySetInnerHTML
=
{{
__html
:
content
}}
dangerouslySetInnerHTML
=
{{
__html
:
data
?.
content
}}
/
>
<
/div
>
{
/* </Col> */
}
...
...
pages/client-servicing/empowering-finance-consultants.js
View file @
1733cff
...
...
@@ -59,7 +59,7 @@ const EmpoweringFinanceConsultants = ({ Empoweringpage, conversionData }) => {
<
section
className
=
"cfo-page"
>
{
dynamicdata
&&
dynamicdata
?.
map
((
section
,
index
)
=>
{
//
console.log("sectionemp", section);
console
.
log
(
"sectionemp"
,
section
);
switch
(
section
.
__component
)
{
case
"dynamic-zone.about"
:
return
(
...
...
@@ -96,11 +96,12 @@ const EmpoweringFinanceConsultants = ({ Empoweringpage, conversionData }) => {
/
>
<
/
>
);
case
"dynamic-zone.
background
"
:
case
"dynamic-zone.
what-wedo-banner
"
:
return
(
<
WhatWeDoWhatDontDo
heading
=
{
section
?.
Title
}
data
=
{
section
?.
Content
}
heading
=
{
section
?.
Heading
}
data
=
{
section
?.
list
}
image
=
{
section
?.
BackgroundBanner
}
/
>
);
case
"dynamic-zone.element-one"
:
...
...
@@ -160,6 +161,8 @@ export async function getServerSideProps() {
"EmpoweringFinanceDetails.carddetails"
,
"EmpoweringFinanceDetails.DesktopImg"
,
"EmpoweringFinanceDetails.MobileImg"
,
"EmpoweringFinanceDetails.list"
,
"EmpoweringFinanceDetails.BackgroundBanner"
,
"Clientel.logos"
,
// "FAQ.FAQList",
"seo"
,
...
...
styles/styles.css
View file @
1733cff
...
...
@@ -9575,10 +9575,8 @@ ul.pagination.custom-pagination {
object-fit
:
cover
;
transition
:
opacity
0.4s
ease
,
transform
0.4s
ease
;
opacity
:
1
;
/* ✅ Fully visible by default */
}
/* 🔦 Image dims only on hover */
}
.custom-card
:hover
.card-image
img
{
opacity
:
0.4
;
transform
:
scale
(
1.05
);
...
...
@@ -9659,7 +9657,8 @@ ul.pagination.custom-pagination {
.weoffer-box-budget
h3
{
margin-bottom
:
0
;
font-size
:
20px
;
line-height
:
28px
line-height
:
28px
;
color
:
#000
;
}
.weoffer-box-budget
p
{
...
...
@@ -9672,5 +9671,12 @@ ul.pagination.custom-pagination {
.weoffer-box-budget
:hover
{
box-shadow
:
0
7px
30px
-10px
rgba
(
133
,
153
,
162
,
0.3
);
background-color
:
var
(
--whiteColor
);
background-color
:
var
(
--mainColor2
);
}
.weoffer-box-budget
:hover
p
{
color
:
white
;
}
.weoffer-box-budget
:hover
h3
{
color
:
white
;
}
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