blog component

This commit is contained in:
Schneider Roland
2025-01-20 22:21:03 +01:00
parent 1437ba2fe3
commit a068aeb375
38 changed files with 1679 additions and 44 deletions

View File

@@ -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 />

View File

@@ -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": {