gab-social/app/javascript/gabsocial/features/ui/components/promo_panel.js

41 lines
1.6 KiB
JavaScript
Raw Normal View History

2019-07-02 08:10:25 +01:00
import React from 'react';
import { FormattedMessage } from 'react-intl';
2019-07-02 08:10:25 +01:00
import Icon from 'gabsocial/components/icon';
export default class PromoPanel extends React.PureComponent {
render() {
return (
<div className='wtf-panel promo-panel'>
<div className='promo-panel__container'>
<div className='promo-panel-item'>
<a className='promo-panel-item__btn' href='https://blog.gab.com'>
<Icon id='align-left' className='promo-panel-item__icon' fixedWidth />
<FormattedMessage id='promo.gab_news' defaultMessage='Gab News' />
</a>
</div>
2019-07-02 08:10:25 +01:00
<div className='promo-panel-item'>
<a className='promo-panel-item__btn' href='https://gumroad.com/getongab'>
<Icon id='dollar' className='promo-panel-item__icon' fixedWidth />
<FormattedMessage id='promo.store' defaultMessage='Store' />
</a>
</div>
2019-07-02 08:10:25 +01:00
<div className='promo-panel-item'>
<a className='promo-panel-item__btn' href='https://blog.gab.com/support-gab'>
<Icon id='users' className='promo-panel-item__icon' fixedWidth />
<FormattedMessage id='promo.partners' defaultMessage='Affiliate Partners' />
</a>
</div>
2019-07-02 08:10:25 +01:00
<div className='promo-panel-item'>
<a className='promo-panel-item__btn' href='https://apps.gab.com'>
<Icon id='th' className='promo-panel-item__icon' fixedWidth />
<FormattedMessage id='promo.gab_apps' defaultMessage='Gab Apps' />
</a>
</div>
</div>
</div>
)
}
}