cartodb-4.42/lib/assets/javascripts/cartodb/public/views/public_header.jst.ejs
2024-04-06 05:25:13 +00:00

22 lines
841 B
Plaintext

<div class='inner'>
<h1><a href='https://carto.com' class='logo' id='the_logo'>CARTO</a></h1>
<ul class='options'>
<% if (!username && !isMobileDevice) { %>
<li><a href='https://carto.com/learn/guides' class='guides'>Guides</a></li>
<% } %>
<% if (!username) { %>
<% if ( !cdb.config.get('cartodb_com_hosted') ) { %>
<li><a class='signup' href='https://carto.com/signup'>Sign up</a><li>
<% } %>
<li><a href='https://carto.com/login' class='border login'>Login</a></li>
<% } else { %>
<li>
<a class='editor dropdown account' href='<%- urls[0] %>'>
<% if (avatar_url) { %><img src='<%- avatar_url %>' width='18' title='<%- username %>' alt='<%- username %>' /><% } %><%- username %><span class='separator'></span>
</a>
</li>
<% } %>
</ul>
</div>