37 lines
1.1 KiB
JavaScript

import React, { Fragment } from "react";
import Navbar2 from "../../components/Navbar2/Navbar2";
import PageTitle from "../../components/pagetitle/PageTitle";
import Scrollbar from "../../components/scrollbar/scrollbar";
import approach from "/public/images/about/our-approach-banner.webp";
import Footer from "../../components/footer/Footer";
import OurApproachSection from "../../components/our-approach/OurApproachSection";
import { serverSideTranslations } from "next-i18next/serverSideTranslations";
import { useTranslation } from 'next-i18next';
const OurApproach = () => {
const { t } = useTranslation('innerBanner');
return (
<Fragment>
<Navbar2 />
<PageTitle
pageTitle={t('ourApproach.pageTitle')}
backgroundImage={approach}
pagesub={t('ourApproach.pageSub')}
/>
<OurApproachSection />
<Footer />
<Scrollbar />
</Fragment>
);
};
export default OurApproach;
export async function getStaticProps({ locale }) {
return {
props: {
...(await serverSideTranslations(locale, ['menu',"common","ourApproach","footer", 'innerBanner', 'contact'])),
},
};
}