blog component
This commit is contained in:
@@ -23,7 +23,8 @@ export default async function About() {
|
||||
aboutUs,
|
||||
contactUs,
|
||||
ourSpecialities,
|
||||
prices
|
||||
prices,
|
||||
blogs
|
||||
} = pageData;
|
||||
|
||||
|
||||
@@ -36,7 +37,7 @@ export default async function About() {
|
||||
{ contactUs && <ContactUsComponent contactUs={contactUs}/>}
|
||||
{ prices && <PricingComponent config={prices} /> }
|
||||
<QuotesComponent />
|
||||
<BlogPostsComponent />
|
||||
{ blogs && <BlogPostsComponent config={blogs} />}
|
||||
<SubscribeComponent />
|
||||
<FooterComponent />
|
||||
<AosComponent />
|
||||
|
||||
@@ -3,6 +3,22 @@
|
||||
"header": {
|
||||
"fields": ["header1","description"]
|
||||
},
|
||||
"blogs": {
|
||||
"fields": ["*"],
|
||||
"populate": {
|
||||
"posts": {
|
||||
"fields": ["name", "id", "header" ],
|
||||
"populate": {
|
||||
"tags": {
|
||||
"fields": ["*" ]
|
||||
},
|
||||
"teaserImage": {
|
||||
"fields": ["name","mime","url"]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"feedbacks": {
|
||||
"fields": ["*"],
|
||||
"populate": {
|
||||
|
||||
Reference in New Issue
Block a user