convexsol_stage/pages/robotic-process-automation-rpa.tsx
2025-12-02 11:02:00 +05:30

36 lines
1.0 KiB
TypeScript

import StrapiSeo from '@/components/common/seo/StrapiSeo';
import MicrosoftRobotic from '@/components/nicrosoftRobotic/MicrosoftRobotic';
import { fetchSingleTypePageData } from '@/helpers/utilities/fetchAPI';
const populateFields = [
'seo.ogImage',
'seo.multiStructureData',
'hero.buttonIcon',
'hero.bottomImages',
'overview.overviewCard',
'brandLogo.logo',
'needs.serviceList.image',
'solution.serviceList.image',
'technology.serviceList.image',
'cases.ThreeDSlider.icon',
'cases.ThreeDSlider.image',
'whyUs.chooseCard.image',
'faq.FAQ.icon',
'clients.brandLogos.brands.logo',
];
export async function getStaticProps() {
return await fetchSingleTypePageData(populateFields, 'robotic-process-automated');
}
const MicrosoftRoboticPage = ({ data }: any) => {
return (
<>
<StrapiSeo content={data.data?.attributes?.seo} />
<MicrosoftRobotic data={data.data?.attributes} />
</>
);
};
export default MicrosoftRoboticPage;