diff --git a/app.py b/app.py index 2001759..4de3fe5 100644 --- a/app.py +++ b/app.py @@ -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( @@ -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") diff --git a/assets/dashboard_logo_final_transparent.png b/assets/dashboard_logo_final_transparent.png new file mode 100644 index 0000000..08af6eb Binary files /dev/null and b/assets/dashboard_logo_final_transparent.png differ