Skip to content

Commit

Permalink
logout icon changed and hamburger menu bug fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
DogukanUrker committed Jan 16, 2024
1 parent 4245a64 commit dbb4537
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 21 deletions.
6 changes: 1 addition & 5 deletions static/standardUI/css/navbar.css
Original file line number Diff line number Diff line change
Expand Up @@ -89,15 +89,11 @@
margin: 0 1rem 0 0;
}

.btns,
.searchBar {
display: none;
}

.btns {
margin: 0.75rem 0 0 0;
display: flex;
}

.hamburger {
display: inline-block;
}
Expand Down
4 changes: 2 additions & 2 deletions templates/standardUI/navbar.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<button class="btn profileText">{{session["userName"]}}</button>
</div>
</a>
<a href="/logout" title="logout"></a>
<a href="/logout" title="logout"><i class="ti ti-logout"></i></a>
{% elif hideLogin %}
<a href="/signup"><button class="btn btnLink">Sign Up</button></a>
{% elif hideSignUp %}
Expand Down Expand Up @@ -62,5 +62,5 @@
<a href="/searchbar">Search</a>
</div>
</div>
<script src="/static/js/navbar.js"></script>
<script src="{{ url_for('static', filename='js/navbar.js') }}"></script>
</div>
15 changes: 1 addition & 14 deletions templates/standardUI/searchBar.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,20 +18,7 @@
autocomplete="off"
placeholder="search"
/><button onclick="searchBar()" class="btn">
<svg
xmlns="http://www.w3.org/2000/svg"
fill="none"
viewBox="0 0 24 24"
stroke-width="1.5"
stroke="currentColor"
class="w-6 h-6"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
d="m21 21-5.197-5.197m0 0A7.5 7.5 0 1 0 5.196 5.196a7.5 7.5 0 0 0 10.607 10.607Z"
/>
</svg>
<i class="ti ti-search"></i>
</button>
</div>
</div>
Expand Down

0 comments on commit dbb4537

Please sign in to comment.