32 lines
1.0 KiB
JavaScript
32 lines
1.0 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 Footer from '../../components/footer/Footer';
|
|
import RacialJuctice from '../../components/racial-justice';
|
|
import racial from '/public/images/about/racial-justice-banner.png';
|
|
|
|
import { serverSideTranslations } from 'next-i18next/serverSideTranslations';
|
|
|
|
const AboutPage = () => {
|
|
return (
|
|
<Fragment>
|
|
<Navbar2 />
|
|
<PageTitle pageTitle={'Racial-Justice'} backgroundImage={racial} pagesub={'Racial-Justice'} />
|
|
<RacialJuctice />
|
|
<Footer />
|
|
<Scrollbar />
|
|
</Fragment>
|
|
)
|
|
};
|
|
export default AboutPage;
|
|
|
|
export async function getStaticProps({ locale }) {
|
|
return {
|
|
props: {
|
|
...(await serverSideTranslations(locale, ['common', 'menu', 'racialJustice', 'footer'])), // Add 'home', 'footer', etc. if needed
|
|
},
|
|
};
|
|
}
|
|
|