mirror of
https://github.com/strapi/strapi.git
synced 2025-08-15 20:27:23 +00:00
46 lines
1.2 KiB
JavaScript
46 lines
1.2 KiB
JavaScript
/*
|
|
* HomePage
|
|
*/
|
|
|
|
import React from 'react';
|
|
import { connect } from 'react-redux';
|
|
import { createStructuredSelector } from 'reselect';
|
|
import Container from 'components/Container';
|
|
import { injectIntl } from 'react-intl';
|
|
|
|
import styles from './styles.scss';
|
|
|
|
export class HomePage extends React.Component {
|
|
render() {
|
|
const Plugin = this.props.plugin;
|
|
|
|
return (
|
|
<div>
|
|
<div className={`container-fluid ${styles.containerFluid}`}>
|
|
<Plugin title={{
|
|
id: 'plugin-content-manager-title',
|
|
defaultMessage: 'Content Manager'
|
|
}} description={{
|
|
id: 'plugin-content-manager-description',
|
|
defaultMessage: 'A powerful UI to easily manage your data.'
|
|
}} noActions={true}>
|
|
</Plugin>
|
|
<Container>
|
|
<p>Nothing to do here.</p>
|
|
<p>To edit your content's entries go to the specific link in the left menu.</p>
|
|
</Container>
|
|
</div>
|
|
</div>
|
|
);
|
|
}
|
|
}
|
|
|
|
export function mapDispatchToProps() {
|
|
return {};
|
|
}
|
|
|
|
const mapStateToProps = createStructuredSelector({});
|
|
|
|
// Wrap the component to inject dispatch and state into it
|
|
export default connect(mapStateToProps, mapDispatchToProps)(injectIntl(HomePage));
|