import { category, Icon, brush, globe } from '@wordpress/icons';
import { translate } from 'i18n-calypso';
import ReaderA8cIcon from 'calypso/reader/components/icons/a8c-icon';
export const SidebarIconPlugins = () => (
);
/**
* Menu items that support all sites screen.
*/
export default function globalSidebarMenu( { showP2s = false } = {} ) {
return [
{
icon: ,
slug: 'sites',
title: translate( 'Sites' ),
navigationLabel: translate( 'Manage all my sites' ),
type: 'menu-item',
url: '/sites',
},
...( showP2s
? [
{
icon: ,
slug: 'sites-p2',
title: translate( 'P2s' ),
navigationLabel: translate( 'Manage all my P2 sites' ),
type: 'menu-item',
url: '/p2s',
},
]
: [] ),
{
icon: ,
slug: 'domains',
title: translate( 'Domains' ),
navigationLabel: translate( 'Manage all domains' ),
type: 'menu-item',
url: '/domains/manage',
},
{
icon: ,
slug: 'themes',
title: translate( 'Themes' ),
navigationLabel: translate( 'Themes' ),
type: 'menu-item',
url: '/themes',
},
{
icon: ,
slug: 'plugins',
title: translate( 'Plugins' ),
navigationLabel: translate( 'Plugins' ),
type: 'menu-item',
url: '/plugins',
forceChevronIcon: true,
},
];
}