2023-05-21 09:58:59 +02:00
|
|
|
// Dependencies
|
|
|
|
import { serverSideTranslations } from 'next-i18next/serverSideTranslations'
|
|
|
|
// Components
|
|
|
|
import { PageWrapper, ns } from 'shared/components/wrappers/page.mjs'
|
|
|
|
import { ReadMore } from 'shared/components/mdx/read-more.mjs'
|
2023-07-03 13:28:41 -05:00
|
|
|
import { ns as navNs } from 'site/hooks/use-navigation.mjs'
|
2023-05-21 09:58:59 +02:00
|
|
|
|
|
|
|
const SitemapPage = ({ page }) => (
|
|
|
|
<PageWrapper {...page}>
|
|
|
|
<div className="mdx">
|
2023-07-03 13:28:41 -05:00
|
|
|
<ReadMore root ignoreControl recurse site="org" />
|
2023-05-21 09:58:59 +02:00
|
|
|
</div>
|
|
|
|
</PageWrapper>
|
|
|
|
)
|
|
|
|
|
|
|
|
export default SitemapPage
|
|
|
|
|
|
|
|
export async function getStaticProps({ locale }) {
|
|
|
|
return {
|
|
|
|
props: {
|
2023-07-03 13:28:41 -05:00
|
|
|
...(await serverSideTranslations(locale, [...ns, ...navNs])),
|
2023-05-21 09:58:59 +02:00
|
|
|
page: {
|
|
|
|
locale,
|
|
|
|
path: ['sitemap'],
|
|
|
|
},
|
|
|
|
},
|
|
|
|
}
|
|
|
|
}
|