bigly-chat/views/header_block.ejs
2024-09-19 05:04:03 -04:00

11 lines
No EOL
348 B
Text

<div class='header'>
<img src='/static/img/logo.svg'>
<a href='/'>BiglyChat</a>
<%if (username=='!nobody' ) { %>
<div class="button"><a href="/client/login">Login</a></div>
<% } else { %>
<a href="/client/user?user=<%= username %>">
<%= username %>
</a>
<% } %>
</div>