fix(org): page props in welcome/img
This commit is contained in:
parent
34499bd23e
commit
47fa170249
1 changed files with 4 additions and 1 deletions
|
@ -33,7 +33,7 @@ const ImgPage = (props) => {
|
||||||
return (
|
return (
|
||||||
<PageWrapper app={app} title={t('imgTitle')} layout={BareLayout} footer={false}>
|
<PageWrapper app={app} title={t('imgTitle')} layout={BareLayout} footer={false}>
|
||||||
<DynamicAuthWrapper app={app}>
|
<DynamicAuthWrapper app={app}>
|
||||||
<div className="m-auto max-w-lg text-center lg:mt-12 p-8">
|
<div className="m-auto max-w-lg text-center lg:mt-24 p-8">
|
||||||
<DynamicImg app={app} title welcome />
|
<DynamicImg app={app} title welcome />
|
||||||
</div>
|
</div>
|
||||||
</DynamicAuthWrapper>
|
</DynamicAuthWrapper>
|
||||||
|
@ -47,6 +47,9 @@ export async function getStaticProps({ locale }) {
|
||||||
return {
|
return {
|
||||||
props: {
|
props: {
|
||||||
...(await serverSideTranslations(locale, namespaces)),
|
...(await serverSideTranslations(locale, namespaces)),
|
||||||
|
page: {
|
||||||
|
path: ['welcome', 'img'],
|
||||||
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue