aboutsummaryrefslogtreecommitdiff
path: root/vnext/src/components
diff options
context:
space:
mode:
Diffstat (limited to 'vnext/src/components')
-rw-r--r--vnext/src/components/UserInfo.css1
-rw-r--r--vnext/src/components/UserInfo.js44
2 files changed, 16 insertions, 29 deletions
diff --git a/vnext/src/components/UserInfo.css b/vnext/src/components/UserInfo.css
index e4f58693..e57b4585 100644
--- a/vnext/src/components/UserInfo.css
+++ b/vnext/src/components/UserInfo.css
@@ -1,3 +1,4 @@
.userinfo {
padding: 40px;
+ background-color: #fdfdfe;
}
diff --git a/vnext/src/components/UserInfo.js b/vnext/src/components/UserInfo.js
index c962add9..3c4ffab3 100644
--- a/vnext/src/components/UserInfo.js
+++ b/vnext/src/components/UserInfo.js
@@ -40,38 +40,24 @@ export default class UserInfo extends React.Component {
{
user.uid > 0 &&
<>
- <ul>
- <li>
- <Link to="/pm">
- <Icon name="ei-envelope" size="s" />PM
+ <Link to="/pm">
+ <Icon name="ei-envelope" size="s" />PM
</Link>
- </li>
- <li>
- <Link to={`/${user.uname}/?show=recomm`} rel="nofollow">
- <Icon name="ei-heart" size="s" />Recommendations
+ <Link to={`/${user.uname}/?show=recomm`} rel="nofollow">
+ <Icon name="ei-heart" size="s" />Recommendations
</Link>
- </li>
- <li>
- <Link to={`/${user.uname}/?media=1`} rel="nofollow">
- <Icon name="ei-camera" size="s" />Photos
+ <Link to={`/${user.uname}/?media=1`} rel="nofollow">
+ <Icon name="ei-camera" size="s" />Photos
</Link>
- </li>
- </ul>
- <div id="ustats">
- <ul>
- {
- user.read &&
- <li><Link to={`/${user.uname}/friends`}>I read: {user.read.length}</Link></li>
- }
- <li><Link to={`/${user.uname}/readers`}>My readers: {user.readers ? user.readers.length : 0}</Link></li>
- {
- user.statsMyBL &&
- <li><Link to={`/${user.uname}/bl`}>My blacklist: {user.statsMyBL}</Link></li>
- }
- <li>Messages: {user.statsMessages}</li>
- <li>Comments: {user.statsReplies}</li>
- </ul>
- </div>
+ {
+ user.read &&
+ <Link to={`/${user.uname}/friends`}>I read: {user.read.length}</Link>
+ }
+ <Link to={`/${user.uname}/readers`}>My readers: {user.readers ? user.readers.length : 0}</Link>
+ {
+ user.statsMyBL &&
+ <Link to={`/${user.uname}/bl`}>My blacklist: {user.statsMyBL}</Link>
+ }
</>
}
</div>