[Glitch] Redesign profile column in web UI to match design on public pages

Port a96181f16f to glitch-soc
This commit is contained in:
Eugen Rochko
2019-03-26 00:36:25 +01:00
committed by ThibG
parent abb53fa338
commit 00f251b8fe
9 changed files with 365 additions and 422 deletions

View File

@@ -25,6 +25,7 @@ export default class Header extends ImmutablePureComponent {
onEndorseToggle: PropTypes.func.isRequired,
onAddToList: PropTypes.func.isRequired,
hideTabs: PropTypes.bool,
domain: PropTypes.string.isRequired,
};
static contextTypes = {
@@ -98,20 +99,11 @@ export default class Header extends ImmutablePureComponent {
account={account}
onFollow={this.handleFollow}
onBlock={this.handleBlock}
domain={this.props.domain}
/>
<ActionBar
account={account}
onBlock={this.handleBlock}
onMention={this.handleMention}
onDirect={this.handleDirect}
onReblogToggle={this.handleReblogToggle}
onReport={this.handleReport}
onMute={this.handleMute}
onBlockDomain={this.handleBlockDomain}
onUnblockDomain={this.handleUnblockDomain}
onEndorseToggle={this.handleEndorseToggle}
onAddToList={this.handleAddToList}
/>
{!hideTabs && (