Skip to content

Commit

Permalink
swapping out logo
Browse files Browse the repository at this point in the history
  • Loading branch information
mwang87 committed Sep 10, 2021
1 parent 3adabcf commit 57298c5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion app.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@
NAVBAR = dbc.Navbar(
children=[
dbc.NavbarBrand(
html.Img(src="https://gnps-cytoscape.ucsd.edu/static/img/GNPS_logo.png", width="120px"),
html.Img(src="logo.png", width="120px"),
href="https://gnps.ucsd.edu"
),
dbc.Nav(
Expand Down Expand Up @@ -4570,5 +4570,10 @@ def shorturlresolve():

return redirect(full_url)

# Logo
@server.route("/logo.png")
def logo():
return send_from_directory("assets", "dashboard_logo_final_transparent.png")

if __name__ == "__main__":
app.run_server(debug=True, port=5000, host="0.0.0.0")
Binary file added assets/dashboard_logo_final_transparent.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 57298c5

Please sign in to comment.