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 aa810f32
authored
2026-02-12 16:32:12 +0530
by
Aman
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
changes done in all section
1 parent
c13f6278
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
11 deletions
pages/index.js
pages/index.js
View file @
aa810f3
...
@@ -24,7 +24,7 @@ const inter = Inter({ subsets: ["latin"] });
...
@@ -24,7 +24,7 @@ const inter = Inter({ subsets: ["latin"] });
export
default
function
Home
({
homepage
,
conversionData
})
{
export
default
function
Home
({
homepage
,
conversionData
})
{
const
dispatch
=
useDispatch
();
const
dispatch
=
useDispatch
();
console
.
log
(
"homepage"
,
homepage
?.
Banner
);
console
.
log
(
"homepage"
,
homepage
);
const
banner
=
homepage
?.
Banner
;
const
banner
=
homepage
?.
Banner
;
const
Knowledgeshack
=
homepage
?.
Knowledgeshack
;
const
Knowledgeshack
=
homepage
?.
Knowledgeshack
;
const
KnowledgeTab
=
homepage
?.
KnowledgeTab
;
const
KnowledgeTab
=
homepage
?.
KnowledgeTab
;
...
@@ -36,8 +36,7 @@ export default function Home({ homepage, conversionData }) {
...
@@ -36,8 +36,7 @@ export default function Home({ homepage, conversionData }) {
const
code
=
conversionData
?.
conversion
;
const
code
=
conversionData
?.
conversion
;
const
AreasExpertiseTitle
=
homepage
?.
AreasExpertiseTitle
;
const
AreasExpertiseTitle
=
homepage
?.
AreasExpertiseTitle
;
const
AreasofExpertiseList
=
homepage
?.
AreasofExpertiselists
;
const
AreasofExpertiseList
=
homepage
?.
AreasofExpertiselists
;
// const AreasofExpertise=homepage?.AreasofExpertise
console
.
log
(
AreasExpertiseTitle
,
"AreasofExpertiselists"
)
// console.log(AreasofExpertise, "AreasofExpertise")
useEffect
(()
=>
{
useEffect
(()
=>
{
dispatch
(
fetchBlogList
());
dispatch
(
fetchBlogList
());
...
@@ -58,7 +57,7 @@ export default function Home({ homepage, conversionData }) {
...
@@ -58,7 +57,7 @@ export default function Home({ homepage, conversionData }) {
<
People
people
=
{
people
}
/
>
<
People
people
=
{
people
}
/
>
<
ClientService
service
=
{
serviceData
}
classname
=
"home_client_sevices"
/>
<
ClientService
service
=
{
serviceData
}
classname
=
"home_client_sevices"
/>
{
/* <TechnicalExpertise AreasExpertiseTitle={AreasExpertiseTitle} AreasofExpertiseList={AreasofExpertiseList}/> */
}
{
/* <TechnicalExpertise AreasExpertiseTitle={AreasExpertiseTitle} AreasofExpertiseList={AreasofExpertiseList}/> */
}
{
AreasofExpertiseList
&&
<
AreasofExpertise
AreasExpertiseTitle
=
{
AreasExpertiseTitle
}
AreasofExpertiseList
=
{
AreasofExpertiseList
}
/>
}
<
AreasofExpertise
AreasExpertiseTitle
=
{
AreasExpertiseTitle
}
AreasofExpertiseList
=
{
AreasofExpertiseList
}
/
>
<
FunctionalAreas
functionarea
=
{
functionarea
}
/
>
<
FunctionalAreas
functionarea
=
{
functionarea
}
/
>
<
Industries
industry
=
{
industry
}
/
>
<
Industries
industry
=
{
industry
}
/
>
<
HomeBlog
data
=
{
blogData
}
/
>
<
HomeBlog
data
=
{
blogData
}
/
>
...
@@ -75,8 +74,7 @@ export async function getServerSideProps() {
...
@@ -75,8 +74,7 @@ export async function getServerSideProps() {
try
{
try
{
const
query1
=
{
const
query1
=
{
populate
:
[
populate
:
[
'Banner'
,
"Banner.Mobilebanner"
,
'Banner.Mobilebanner'
,
"Banner.BackgroundBanner"
,
"Banner.BackgroundBanner"
,
"Banner.Desktopbanner"
,
"Banner.Desktopbanner"
,
"Banner.CTA"
,
"Banner.CTA"
,
...
@@ -87,11 +85,9 @@ export async function getServerSideProps() {
...
@@ -87,11 +85,9 @@ export async function getServerSideProps() {
"People.peoplelist"
,
"People.peoplelist"
,
"whatwedo.Image"
,
"whatwedo.Image"
,
"whatwedo.CTA"
,
"whatwedo.CTA"
,
// "AreasExpertiseTitle.Heading",
"AreasExpertiseTitle.Heading"
,
// "AreasExpertiseTitle.Image",
"AreasExpertiseTitle.Image"
,
// "AreasofExpertiselists.Image",
"AreasofExpertiselists.Image"
,
"AreasofExpertise"
,
"AreasofExpertise.Image"
,
"FunctionalAreas.Icon"
,
"FunctionalAreas.Icon"
,
"Industry.Image"
,
"Industry.Image"
,
"Industry.CTA"
,
"Industry.CTA"
,
...
...
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