mirror of
https://github.com/strapi/strapi.git
synced 2025-12-25 06:04:29 +00:00
documentation coming soon view
This commit is contained in:
parent
6c82548a90
commit
6d69b1ef30
@ -104,7 +104,7 @@ const InstalledPluginsPage = () => {
|
||||
<ContentLayout>
|
||||
<NoContent
|
||||
content={{
|
||||
id: 'coming soon',
|
||||
id: 'coming.soon',
|
||||
defaultMessage:
|
||||
'This content is currently under construction and will be back in a few weeks!',
|
||||
}}
|
||||
|
||||
@ -136,7 +136,7 @@ const MarketPlacePage = () => {
|
||||
<ContentLayout>
|
||||
<NoContent
|
||||
content={{
|
||||
id: 'coming soon',
|
||||
id: 'coming.soon',
|
||||
defaultMessage:
|
||||
'This content is currently under construction and will be back in a few weeks!',
|
||||
}}
|
||||
|
||||
@ -347,6 +347,7 @@
|
||||
"app.utils.publish": "Publish",
|
||||
"app.utils.select-all": "Select all",
|
||||
"app.utils.unpublish": "Unpublish",
|
||||
"coming.soon": "This content is currently under construction and will be back in a few weeks!",
|
||||
"components.Select.placeholder": "Select",
|
||||
"components.TableHeader.actions-label": "Actions",
|
||||
"components.pagination.go-to": "Go to page {page}",
|
||||
|
||||
@ -67,7 +67,7 @@ const App = () => {
|
||||
<ContentLayout>
|
||||
<NoContent
|
||||
content={{
|
||||
id: 'coming soon',
|
||||
id: 'coming.soon',
|
||||
defaultMessage:
|
||||
'This content is currently under construction and will be back in a few weeks!',
|
||||
}}
|
||||
|
||||
@ -6,11 +6,40 @@
|
||||
*/
|
||||
|
||||
import React from 'react';
|
||||
import { CheckPagePermissions } from '@strapi/helper-plugin';
|
||||
import { useIntl } from 'react-intl';
|
||||
import { CheckPagePermissions, NoContent } from '@strapi/helper-plugin';
|
||||
import { Layout, HeaderLayout, ContentLayout } from '@strapi/parts/Layout';
|
||||
import { Main } from '@strapi/parts/Main';
|
||||
import pluginPermissions from '../../permissions';
|
||||
import { getTrad } from '../../utils';
|
||||
// import HomePage from '../HomePage';
|
||||
|
||||
const ComingSoon = () => <div>Coming soon</div>;
|
||||
const ComingSoon = () => {
|
||||
const { formatMessage } = useIntl();
|
||||
console.log(pluginPermissions);
|
||||
|
||||
return (
|
||||
<Layout>
|
||||
<Main>
|
||||
<HeaderLayout
|
||||
title={formatMessage({
|
||||
id: getTrad('plugin.name'),
|
||||
defaultMessage: 'Documentation',
|
||||
})}
|
||||
/>
|
||||
<ContentLayout>
|
||||
<NoContent
|
||||
content={{
|
||||
id: getTrad('coming.soon'),
|
||||
defaultMessage:
|
||||
'This content is currently under construction and will be back in a few weeks!',
|
||||
}}
|
||||
/>
|
||||
</ContentLayout>
|
||||
</Main>
|
||||
</Layout>
|
||||
);
|
||||
};
|
||||
|
||||
function App() {
|
||||
return (
|
||||
|
||||
@ -1,4 +1,5 @@
|
||||
{
|
||||
"coming-soon": "This content is currently under construction and will be back in a few weeks!",
|
||||
"components.Row.generatedDate": "Last generation",
|
||||
"components.Row.open": "Open",
|
||||
"components.Row.regenerate": "Regenerate",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user