slightly improve home view

This commit is contained in:
Jill 2023-11-20 04:58:22 +03:00
parent cddcfee26e
commit fcc7956b4d
1 changed files with 4 additions and 1 deletions

View File

@ -19,9 +19,12 @@
<div id="login" onclick="window.location = '/profile'">
{{#if signedIn}}
<div class="username">{{username}}</div>
<img class="avatar" src="{{avatar}}" width="128" height="128">
{{else}}
<div class="username logged-out">log in</div>
{{/if}}
{{#if avatar}}
<img class="avatar" src="{{avatar}}" width="128" height="128">
{{else}}
<img class="avatar" src="/assets/avatar.png" width="128" height="128">
{{/if}}
</div>