Skip to content

Commit

Permalink
Dont show userId in header
Browse files Browse the repository at this point in the history
  • Loading branch information
pfrazee committed Feb 10, 2021
1 parent d61d821 commit e2a130f
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions static/js/com/header.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,12 @@ export class Header extends LitElement {
if (session.isActive()) {
return html`
<ctzn-button primary @click=${this.onClickNewPost} label="New Post"></ctzn-button>
<a class="inline-flex items-center ${this.getNavClass('/' + session.info.userId)} pt-3 pb-2.5 ml-3" href="/${session.info.userId}">
<img class="inline-block w-5 h-5 object-cover mr-2 rounded-full" src=${AVATAR_URL(session.info.userId)}>
${session.info.userId}
<a
class="inline-flex items-center px-1 ml-2.5"
href="/${session.info.userId}"
title=${session.info.userId}
>
<img class="inline-block w-7 h-7 object-cover rounded-full" src=${AVATAR_URL(session.info.userId)}>
</a>
<a @click=${this.onClickSessionMenu} class=${this.getNavClass()} href="#"><span class="fas fa-caret-down"></span></a>
`
Expand Down

1 comment on commit e2a130f

@vercel
Copy link

@vercel vercel bot commented on e2a130f Feb 10, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.