init marketplace coming soon

This commit is contained in:
ronronscelestes 2021-11-08 11:34:43 +01:00
parent e7ce93487e
commit 286f32f42f
2 changed files with 20 additions and 10 deletions

View File

@ -8,7 +8,6 @@ import {
// useTracking, // useTracking,
// useStrapiApp, // useStrapiApp,
CheckPagePermissions, CheckPagePermissions,
NoContent,
} from '@strapi/helper-plugin'; } from '@strapi/helper-plugin';
// import { Header } from '@buffetjs/custom'; // import { Header } from '@buffetjs/custom';
// import { useIntl } from 'react-intl'; // import { useIntl } from 'react-intl';
@ -116,7 +115,9 @@ import {
// }; // };
import { useIntl } from 'react-intl'; import { useIntl } from 'react-intl';
import { Helmet } from 'react-helmet';
import { Layout, HeaderLayout, ContentLayout } from '@strapi/design-system/Layout'; import { Layout, HeaderLayout, ContentLayout } from '@strapi/design-system/Layout';
import { Flex } from '@strapi/design-system/Flex';
import { Main } from '@strapi/design-system/Main'; import { Main } from '@strapi/design-system/Main';
import adminPermissions from '../../permissions'; import adminPermissions from '../../permissions';
@ -127,20 +128,29 @@ const MarketPlacePage = () => {
<CheckPagePermissions permissions={adminPermissions.marketplace.main}> <CheckPagePermissions permissions={adminPermissions.marketplace.main}>
<Layout> <Layout>
<Main> <Main>
<HeaderLayout <Helmet
title={formatMessage({ title={formatMessage({
id: 'app.components.InstallPluginPage.helmet', id: 'app.components.InstallPluginPage.helmet',
defaultMessage: 'Marketplace - Plugins', defaultMessage: 'Marketplace - Plugins',
})} })}
/> />
<ContentLayout> <HeaderLayout
<NoContent title={formatMessage({
content={{ id: 'app.components.InstallPluginPage.title',
id: 'coming.soon', defaultMessage: 'Marketplace',
defaultMessage: })}
'This content is currently under construction and will be back in a few weeks!',
}}
/> />
<ContentLayout>
<Flex
hasRadius
background="neutral0"
shadow="tableShadow"
paddingTop={10}
paddingBottom={10}
justifyContent="center"
>
kikou
</Flex>
</ContentLayout> </ContentLayout>
</Main> </Main>
</Layout> </Layout>

View File

@ -266,7 +266,7 @@
"app.components.InstallPluginPage.Download.title": "Downloading...", "app.components.InstallPluginPage.Download.title": "Downloading...",
"app.components.InstallPluginPage.description": "Extend your app effortlessly.", "app.components.InstallPluginPage.description": "Extend your app effortlessly.",
"app.components.InstallPluginPage.helmet": "Marketplace - Plugins", "app.components.InstallPluginPage.helmet": "Marketplace - Plugins",
"app.components.InstallPluginPage.title": "Marketplace - Plugins", "app.components.InstallPluginPage.title": "Marketplace",
"app.components.LeftMenu.collapse": "Collapse the navbar", "app.components.LeftMenu.collapse": "Collapse the navbar",
"app.components.LeftMenu.expand": "Expand the navbar", "app.components.LeftMenu.expand": "Expand the navbar",
"app.components.LeftMenu.logout": "Logout", "app.components.LeftMenu.logout": "Logout",