33 lines
1.2 KiB
JavaScript
33 lines
1.2 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 abimg from '/public/images/about-s2.jpg'
|
|
import OurApproachSection from '../../components/our-approach/OurApproachSection';
|
|
import { serverSideTranslations } from 'next-i18next/serverSideTranslations';
|
|
|
|
const OurApproach = () => {
|
|
return (
|
|
<Fragment>
|
|
<Navbar2 />
|
|
<PageTitle pageTitle={'Our Approach'} backgroundImage={approach} pagesub={'Our Approach'} />
|
|
<OurApproachSection abimg={abimg} abClass={'wpo-about-section-s2'}/>
|
|
<Footer />
|
|
<Scrollbar />
|
|
</Fragment>
|
|
)
|
|
};
|
|
export default OurApproach;
|
|
|
|
// ✅ This enables translations (menu, and more if you add other namespaces)
|
|
export async function getStaticProps({ locale }) {
|
|
return {
|
|
props: {
|
|
...(await serverSideTranslations(locale, ['common', 'menu'])), // Add 'home', 'footer', etc. if needed
|
|
},
|
|
};
|
|
}
|
|
|