30 lines
748 B
JavaScript
30 lines
748 B
JavaScript
/**
|
|
* WooCommerce dependencies
|
|
*/
|
|
import { getSetting } from '@woocommerce/wc-admin-settings';
|
|
|
|
/**
|
|
* Internal dependencies
|
|
*/
|
|
import './style.scss';
|
|
import InstalledExtensions from './installed-extensions';
|
|
import RecommendedExtensions from './recommended-extensions';
|
|
import KnowledgeBase from './knowledge-base';
|
|
import WelcomeCard from './welcome-card';
|
|
import '../data';
|
|
|
|
const MarketingOverview = () => {
|
|
const allowMarketplaceSuggestions = getSetting( 'allowMarketplaceSuggestions', false );
|
|
|
|
return (
|
|
<div className="woocommerce-marketing-overview">
|
|
<WelcomeCard />
|
|
<InstalledExtensions />
|
|
{ allowMarketplaceSuggestions && <RecommendedExtensions /> }
|
|
<KnowledgeBase />
|
|
</div>
|
|
);
|
|
};
|
|
|
|
export default MarketingOverview;
|