Updated promo panel
Removed invite, added apps and news
This commit is contained in:
parent
14df0de9d8
commit
d41a63a21d
@ -1,32 +1,29 @@
|
|||||||
import React from 'react';
|
import React from 'react';
|
||||||
import PropTypes from 'prop-types';
|
import { FormattedMessage } from 'react-intl';
|
||||||
import { connect } from 'react-redux';
|
|
||||||
import { Link } from 'react-router-dom';
|
|
||||||
import { injectIntl, FormattedMessage } from 'react-intl';
|
|
||||||
import { me } from '../../../initial_state';
|
|
||||||
import { makeGetAccount } from '../../../selectors';
|
|
||||||
import ImmutablePropTypes from 'react-immutable-proptypes';
|
|
||||||
import Icon from 'gabsocial/components/icon';
|
import Icon from 'gabsocial/components/icon';
|
||||||
|
|
||||||
const PromoPanel = () => (
|
export default class PromoPanel extends React.PureComponent {
|
||||||
<div className='promo-panel'>
|
render() {
|
||||||
<div className='promo-panel__container'>
|
return (
|
||||||
|
<div className='promo-panel'>
|
||||||
|
<div className='promo-panel__container'>
|
||||||
|
|
||||||
<div className='promo-panel-item'>
|
<div className='promo-panel-item'>
|
||||||
<a className='promo-panel-item__btn button button-alternative-2' href='/invites'>
|
<a className='promo-panel-item__btn button button-alternative-2' href='https://apps.gab.com'>
|
||||||
<Icon id='envelope' className='promo-panel-item__icon' fixedWidth />
|
<Icon id='th' className='promo-panel-item__icon' fixedWidth />
|
||||||
<FormattedMessage id='promo.invite_heading' defaultMessage='Invite Friends' />
|
<FormattedMessage id='promo.gab_apps' defaultMessage='Gab Apps' />
|
||||||
</a>
|
</a>
|
||||||
<p className='promo-panel-item__message promo-panel-item__message--dark'>
|
</div>
|
||||||
<FormattedMessage
|
|
||||||
id='promo.invite_message'
|
<div className='promo-panel-item'>
|
||||||
defaultMessage='Invite others to be a member of Gab.'
|
<a className='promo-panel-item__btn button button-alternative-2' href='https://blog.gab.com'>
|
||||||
/>
|
<Icon id='align-left' className='promo-panel-item__icon' fixedWidth />
|
||||||
</p>
|
<FormattedMessage id='promo.gab_news' defaultMessage='Gab News' />
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
)
|
||||||
</div>
|
}
|
||||||
</div>
|
}
|
||||||
);
|
|
||||||
|
|
||||||
export default PromoPanel;
|
|
Loading…
Reference in New Issue
Block a user