Add logo to sidenav

This commit is contained in:
Patrick Jentsch 2023-11-23 13:26:19 +01:00
parent 79a16cae83
commit 00e4c3ade3
2 changed files with 6 additions and 9 deletions

View File

@ -5,7 +5,6 @@
<a href="#" data-target="sidenav" class="sidenav-trigger"><i class="material-icons">menu</i></a>
{% endif %}
<a href="{{ url_for('main.index') }}" class="brand-logo" style="height: 100%; overflow: hidden;">
<img class="hide-on-small-only" src="{{ url_for('static', filename='images/nopaque_-_logo_name_slogan.svg') }}" style="height: 128px; margin-top: -32px; margin-left: -32px;">
<img class="hide-on-med-and-up" src="{{ url_for('static', filename='images/nopaque_-_logo.svg') }}" style="height: 128px; margin-top: -32px; margin-left: -32px;">
</a>
<ul class="right hide-on-med-and-down">

View File

@ -1,14 +1,12 @@
<ul class="sidenav sidenav-fixed" id="sidenav">
<li>
<div class="user-view">
<div class="background primary-color"></div>
<li class="primary-color hide-on-small-only">
<div style="overflow: hidden;height: 64px; width: 250px;">
<img class="hide-on-small-only" src="{{ url_for('static', filename='images/nopaque_-_logo_name_slogan.svg') }}" style="height: 128px; margin-top: -32px;">
</div>
</li>
{# <li class="primary-color">
<div style="overflow: hidden;height: 64px; width: 250px;">
<img class="hide-on-small-only" src="{{ url_for('static', filename='images/nopaque_-_logo_name_slogan.svg') }}" style="height: 128px; margin-top: -32px; margin-left: ;">
</div>
</li> #}
<li class="primary-variant-color center-align hide-on-small-only">
<span class="white-text">from text > to data > to analysis</span>
</li>
<li><a href="{{ url_for('main.index') }}"><i class="material-icons left">home</i>nopaque</a></li>
<li>
<a class="waves-effect" href="{{ url_for('main.news') }}"><i class="material-icons left">email</i>News</a>