|
|
@ -61,10 +61,10 @@ const Header = React.createClass({ |
|
|
|
const displayNameHTML = { __html: emojify(escapeTextContentForBrowser(displayName)) }; |
|
|
|
|
|
|
|
return ( |
|
|
|
<div style={{ flex: '0 0 auto', background: '#2f3441', textAlign: 'center', backgroundImage: `url(${account.get('header')})`, backgroundSize: 'cover', backgroundPosition: 'center', position: 'relative' }}> |
|
|
|
<div className='account__header' style={{ flex: '0 0 auto', background: '#2f3441', textAlign: 'center', backgroundImage: `url(${account.get('header')})`, backgroundSize: 'cover', backgroundPosition: 'center', position: 'relative' }}> |
|
|
|
<div style={{ background: 'rgba(47, 52, 65, 0.9)', padding: '20px 10px' }}> |
|
|
|
<a href={account.get('url')} target='_blank' rel='noopener' style={{ display: 'block', color: 'inherit', textDecoration: 'none' }}> |
|
|
|
<div style={{ width: '90px', margin: '0 auto', marginBottom: '10px' }}> |
|
|
|
<div className='account__header__avatar' style={{ width: '90px', margin: '0 auto', marginBottom: '10px' }}> |
|
|
|
<img src={account.get('avatar')} alt='' style={{ display: 'block', width: '90px', height: '90px', borderRadius: '90px' }} /> |
|
|
|
</div> |
|
|
|
|
|
|
|