icons and logos

This commit is contained in:
Mateusz Gruszczyński
2026-07-31 14:15:44 +02:00
parent 618e5ae0fb
commit c6e9a3dd43
16 changed files with 182 additions and 17 deletions
+6 -1
View File
@@ -60,7 +60,12 @@ pub fn render_html(
"false"
},
)
.replace("</head>", &format!("{frontend_config}</head>"));
.replace(
"</head>",
&format!(
r#"<link rel="icon" href="/favicon.svg" type="image/svg+xml"><link rel="icon" href="/favicon.ico" sizes="any"><link rel="icon" href="/favicon-32.png" type="image/png" sizes="32x32"><link rel="apple-touch-icon" href="/apple-touch-icon.png">{frontend_config}</head>"#
),
);
let mut response = Html(html).into_response();
response.headers_mut().insert(