@@ -78,8 +78,8 @@ const CHART_JS: &[u8] = include_bytes!("../static/chart.umd.js");
7878const CHART_ZOOM_JS : & [ u8 ] = include_bytes ! ( "../static/chartjs-plugin-zoom.umd.min.js" ) ;
7979const CHART_INIT_JS : & [ u8 ] = include_bytes ! ( "../static/chart-init.js" ) ;
8080const STYLE_CSS : & [ u8 ] = include_bytes ! ( "../static/style.css" ) ;
81- const VORTEX_BLACK_SVG : & [ u8 ] = include_bytes ! ( "../../public/vortex_black_nobg.svg " ) ;
82- const VORTEX_WHITE_SVG : & [ u8 ] = include_bytes ! ( "../../public/vortex_white_nobg.svg " ) ;
81+ const VORTEX_BLACK_PNG : & [ u8 ] = include_bytes ! ( "../../public/Vortex_Black_NoBG.png " ) ;
82+ const VORTEX_WHITE_PNG : & [ u8 ] = include_bytes ! ( "../../public/Vortex_White_NoBG.png " ) ;
8383const STATIC_ASSET_VERSION : & str = "bench-v3-ui-16" ;
8484
8585/// Commits to inline for the first group's pre-fetched chart payloads.
@@ -101,8 +101,8 @@ pub fn router() -> Router<AppState> {
101101 )
102102 . route ( "/static/chart-init.js" , get ( serve_chart_init_js) )
103103 . route ( "/static/style.css" , get ( serve_style_css) )
104- . route ( "/vortex_black_nobg.svg " , get ( serve_vortex_black_svg ) )
105- . route ( "/vortex_white_nobg.svg " , get ( serve_vortex_white_svg ) )
104+ . route ( "/Vortex_Black_NoBG.png " , get ( serve_vortex_black_png ) )
105+ . route ( "/Vortex_White_NoBG.png " , get ( serve_vortex_white_png ) )
106106}
107107
108108/// Query string for HTML routes. `?n=` overrides the commit window;
@@ -430,8 +430,8 @@ fn theme_bootstrap_script() -> Markup {
430430}
431431
432432fn site_header ( universe : Option < & api:: FilterUniverse > , filter : & FilterState ) -> Markup {
433- let black_logo = versioned_asset ( "/vortex_black_nobg.svg " ) ;
434- let white_logo = versioned_asset ( "/vortex_white_nobg.svg " ) ;
433+ let black_logo = versioned_asset ( "/Vortex_Black_NoBG.png " ) ;
434+ let white_logo = versioned_asset ( "/Vortex_White_NoBG.png " ) ;
435435 let show_filters = universe
436436 . map ( |u| !u. engines . is_empty ( ) || !u. formats . is_empty ( ) )
437437 . unwrap_or ( false ) ;
@@ -995,12 +995,12 @@ async fn serve_style_css() -> impl IntoResponse {
995995 static_response ( STYLE_CSS , "text/css; charset=utf-8" )
996996}
997997
998- async fn serve_vortex_black_svg ( ) -> impl IntoResponse {
999- static_response ( VORTEX_BLACK_SVG , "image/svg+xml; charset=utf-8 " )
998+ async fn serve_vortex_black_png ( ) -> impl IntoResponse {
999+ static_response ( VORTEX_BLACK_PNG , "image/png " )
10001000}
10011001
1002- async fn serve_vortex_white_svg ( ) -> impl IntoResponse {
1003- static_response ( VORTEX_WHITE_SVG , "image/svg+xml; charset=utf-8 " )
1002+ async fn serve_vortex_white_png ( ) -> impl IntoResponse {
1003+ static_response ( VORTEX_WHITE_PNG , "image/png " )
10041004}
10051005
10061006fn static_response ( bytes : & ' static [ u8 ] , content_type : & ' static str ) -> Response {
0 commit comments