feat: add SVG favicon with brand thermometer icon

This commit is contained in:
2026-02-10 19:16:40 +01:00
parent 88813c8d80
commit e9703e49b9
2 changed files with 7 additions and 1 deletions

6
web/favicon.svg Normal file
View File

@@ -0,0 +1,6 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
<rect x="12" y="3" width="8" height="20" rx="4" fill="#ea580c"/>
<circle cx="16" cy="25" r="6" fill="#ea580c"/>
<rect x="14" y="10" width="4" height="13" rx="2" fill="#fbbf24"/>
<circle cx="16" cy="25" r="4" fill="#fbbf24"/>
</svg>

After

Width:  |  Height:  |  Size: 300 B

View File

@@ -4,7 +4,7 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{{t "app.name"}} — {{.Title}}</title>
<link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><text y='.9em' font-size='90'>🌡</text></svg>">
<link rel="icon" type="image/svg+xml" href="/assets/favicon.svg">
<link rel="stylesheet" href="/assets/css/app.css">
<script>
window.HG = { lang: "{{.Lang}}" };