added icon

This commit is contained in:
Radek Davidek 2026-06-05 10:04:07 +02:00
parent 6d77ebc84a
commit f931a6bb93
3 changed files with 11 additions and 0 deletions

View File

@ -88,6 +88,8 @@ public class App {
contentType = "application/javascript";
if (path.endsWith(".css"))
contentType = "text/css";
if (path.endsWith(".svg"))
contentType = "image/svg+xml";
exchange.getResponseHeaders().set("Content-Type", contentType);
exchange.sendResponseHeaders(200, content.length);

View File

@ -0,0 +1,8 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64">
<rect width="64" height="64" rx="16" fill="#0f172a"/>
<circle cx="32" cy="32" r="18" fill="#1e293b" stroke="#22c55e" stroke-width="4"/>
<circle cx="32" cy="32" r="10" fill="none" stroke="#22c55e" stroke-width="3"/>
<circle cx="32" cy="32" r="3.5" fill="#f8fafc"/>
<path d="M45 17l-5 13-8 2 2-8 11-7z" fill="#22c55e"/>
<path d="M45 17l-2 5-4-3 6-2z" fill="#86efac"/>
</svg>

After

Width:  |  Height:  |  Size: 446 B

View File

@ -4,6 +4,7 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Darts Stats Dashboard</title>
<link rel="icon" type="image/svg+xml" href="/favicon.svg">
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
<style>
:root {