@@ -10,6 +10,7 @@ import IconButton from 'flavours/glitch/components/icon_button';
|
||||
import emojify from 'flavours/glitch/util/emoji';
|
||||
import { me } from 'flavours/glitch/util/initial_state';
|
||||
import { processBio } from 'flavours/glitch/util/bio_metadata';
|
||||
import classNames from 'classnames';
|
||||
|
||||
const messages = defineMessages({
|
||||
unfollow: { id: 'account.unfollow', defaultMessage: 'Unfollow' },
|
||||
@@ -75,11 +76,15 @@ export default class Header extends ImmutablePureComponent {
|
||||
}
|
||||
}
|
||||
|
||||
if (account.get('moved')) {
|
||||
actionBtn = '';
|
||||
}
|
||||
|
||||
const { text, metadata } = processBio(account.get('note'));
|
||||
|
||||
return (
|
||||
<div className='account__header__wrapper'>
|
||||
<div className='account__header' style={{ backgroundImage: `url(${account.get('header')})` }}>
|
||||
<div className={classNames('account__header', { inactive: !!account.get('moved') })} style={{ backgroundImage: `url(${account.get('header')})` }}>
|
||||
<div>
|
||||
<a
|
||||
href={account.get('url')}
|
||||
|
Reference in New Issue
Block a user