add services page
This commit is contained in:
@@ -9,19 +9,31 @@ import FeedbackComponent from "@/components/feedbackComponent";
|
||||
import BlogPostsComponent from "@/components/blog.posts.component";
|
||||
import FooterComponent from "@/components/footer.component";
|
||||
import SubscribeComponent from "@/components/subscribe.component";
|
||||
import strapiApi from "@/api/strapi/strapi-api";
|
||||
import SubHeaderComponent from "@/components/subHeader.component";
|
||||
|
||||
export default function About() {
|
||||
export default async function Services() {
|
||||
const {
|
||||
header,
|
||||
description,
|
||||
ourServices,
|
||||
contactUs,
|
||||
ourSpecialities,
|
||||
feedbacks,
|
||||
blogs,
|
||||
footer,
|
||||
subscribe
|
||||
} = await strapiApi.getServicesPage();
|
||||
return (
|
||||
<>
|
||||
<OurServicesComponent />
|
||||
<AboutUsComponent />
|
||||
<OurSpecialitiesComponent />
|
||||
<ContactUsComponent />
|
||||
<PricingComponent />
|
||||
<FeedbackComponent />
|
||||
<BlogPostsComponent />
|
||||
<SubscribeComponent />
|
||||
<FooterComponent />
|
||||
{header && description && <SubHeaderComponent header1={header} description={description} />}
|
||||
{ ourServices && <OurServicesComponent header={ourServices.header!} title={ourServices.title!} description={ourServices.description!} /> }
|
||||
{ contactUs && <ContactUsComponent contactUs={contactUs} />}
|
||||
{ ourSpecialities && <OurSpecialitiesComponent config={ourSpecialities} /> }
|
||||
{ feedbacks && <FeedbackComponent config={feedbacks} /> }
|
||||
{ blogs && <BlogPostsComponent config={blogs} /> }
|
||||
{ subscribe && <SubscribeComponent config={subscribe} /> }
|
||||
{ footer && <FooterComponent config={footer} /> }
|
||||
<AosComponent />
|
||||
</>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user