From 5f3c3c795f60dbd9a3f28be2547a02e8effb6f2d Mon Sep 17 00:00:00 2001 From: Alaguraj0361 Date: Mon, 18 Aug 2025 22:10:31 +0530 Subject: [PATCH] our aproach page footer updated --- next-i18next.config.js | 2 +- pages/our-approach/index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/next-i18next.config.js b/next-i18next.config.js index aba8eff..3ffc8de 100644 --- a/next-i18next.config.js +++ b/next-i18next.config.js @@ -5,7 +5,7 @@ module.exports = { locales: ['en', 'es'], localeDetection: false, }, - ns: ['common', 'menu', 'homeHero', 'home4Card', '(home)/homeAbout', '(home)/homeFeature', '(home)/testimonial', '(home)/homeCalltoAction', 'blog', 'footer', 'ourMission', 'racialJustice', 'services', 'ourStory', 'aboutService', 'aboutMission', 'aboutRacial', 'aboutDonor', 'OurApproach', 'contact'], + ns: ['common', 'menu', 'homeHero', 'home4Card', '(home)/homeAbout', '(home)/homeFeature', '(home)/testimonial', '(home)/homeCalltoAction', 'blog', 'footer', 'ourMission', 'racialJustice', 'services', 'ourStory', 'aboutService', 'aboutMission', 'aboutRacial', 'aboutDonor', 'ourApproach', 'contact'], defaultNS: 'common', // localePath: './public/locales', }; diff --git a/pages/our-approach/index.js b/pages/our-approach/index.js index 255def2..c2b8393 100644 --- a/pages/our-approach/index.js +++ b/pages/our-approach/index.js @@ -28,7 +28,7 @@ export default OurApproach; export async function getStaticProps({ locale }) { return { props: { - ...(await serverSideTranslations(locale, ["ourApproach"])), + ...(await serverSideTranslations(locale, ['menu',"common","ourApproach","footer"])), }, }; }