Fix follow icon changing plus to minus, add terms page stub

This commit is contained in:
Eugen Rochko
2016-11-01 18:03:51 +01:00
parent 57304ac375
commit dd03118098
6 changed files with 122 additions and 2 deletions

View File

@ -64,9 +64,11 @@ const Account = React.createClass({
}
if (account.get('id') !== me) {
const following = account.getIn(['relationship', 'following']);
buttons = (
<div style={buttonsStyle}>
<IconButton icon='user-plus' title='Follow' onClick={this.handleFollow} active={account.getIn(['relationship', 'following'])} />
<IconButton icon={following ? 'user-times' : 'user-plus'} title='Follow' onClick={this.handleFollow} active={following} />
</div>
);
}

View File

@ -25,10 +25,46 @@
}
}
p {
h2 {
font: 24px/28px 'Judson', sans-serif;
font-weight: 300;
margin-bottom: 20px;
color: #fff;
}
h3 {
font: 20px/28px 'Judson', sans-serif;
font-weight: 300;
margin-bottom: 20px;
color: #d9e1e8;
}
ul, ol {
list-style: inherit;
margin-left: 20px;
&[type='a'] {
list-style-type: lower-alpha;
}
&[type='i'] {
list-style-type: lower-roman;
}
}
li > ol, li > ul {
margin-top: 20px;
}
p, li {
font: 20px/28px 'Judson', sans-serif;
font-weight: 300;
margin-bottom: 26px;
a {
color: #2b90d9;
text-decoration: underline;
}
}
em {