248a33e79a
Drop domain_count because it's less important
26 lines
908 B
JavaScript
26 lines
908 B
JavaScript
import React from 'react';
|
|
import Icon from 'soapbox/components/icon';
|
|
import { NavLink } from 'react-router-dom';
|
|
import { FormattedMessage } from 'react-intl';
|
|
|
|
export default
|
|
class AdminNav extends React.PureComponent {
|
|
|
|
render() {
|
|
return (
|
|
<div className='wtf-panel promo-panel'>
|
|
<div className='promo-panel__container'>
|
|
<NavLink className='promo-panel-item' to='/admin'>
|
|
<Icon id='tachometer' className='promo-panel-item__icon' fixedWidth />
|
|
<FormattedMessage id='admin_nav.dashboard' defaultMessage='Dashboard' />
|
|
</NavLink>
|
|
<a className='promo-panel-item' href='/pleroma/admin/#/reports/index' target='_blank'>
|
|
<Icon id='gavel' className='promo-panel-item__icon' fixedWidth />
|
|
<FormattedMessage id='admin_nav.reports' defaultMessage='Reports' />
|
|
</a>
|
|
</div>
|
|
</div>
|
|
);
|
|
}
|
|
|
|
}
|