diff options
| author | 2026-05-03 12:31:49 +0700 | |
|---|---|---|
| committer | 2026-05-03 12:31:49 +0700 | |
| commit | 8a66768bee63f3e813fb4ba920b3155db885c4bd (patch) | |
| tree | 60cb4ecf5ad7aaf6d45d78f2940f63dff07486da /views/pages | |
| parent | 3483fdac0c40df7e390a941431b9e99f5a6de687 (diff) | |
| download | web-8a66768bee63f3e813fb4ba920b3155db885c4bd.tar.gz web-8a66768bee63f3e813fb4ba920b3155db885c4bd.zip | |
feat: new svg icon for dark/light themes
format: svg/html formatting
Diffstat (limited to 'views/pages')
| -rw-r--r-- | views/pages/global-map.html | 21 | ||||
| -rw-r--r-- | views/pages/unsubscribe-page.html | 12 |
2 files changed, 30 insertions, 3 deletions
diff --git a/views/pages/global-map.html b/views/pages/global-map.html index bb51131..ce9d5b1 100644 --- a/views/pages/global-map.html +++ b/views/pages/global-map.html @@ -15,8 +15,11 @@ /> <meta property="og:type" content="site" /> <title>{{ .L.GlobalMap.Header }} // SAYA.UZ</title> - <link rel="canonical" href="{{ .CanonicalEndpoint }}/{{ .Lang }}/map"> - <link rel="stylesheet" href="{{ .StaticStorageBaseUrl }}/fonts/fonts.css"> + <link rel="canonical" href="{{ .CanonicalEndpoint }}/{{ .Lang }}/map" /> + <link + rel="stylesheet" + href="{{ .StaticStorageBaseUrl }}/fonts/fonts.css" + /> <link rel="stylesheet" href="{{ .StaticStorageBaseUrl }}/libs/font-awesome/7.2.0/css/fontawesome.min.css" @@ -30,7 +33,19 @@ href="{{ .StaticStorageBaseUrl }}/libs/font-awesome/7.2.0/css/solid.min.css" /> {{ block "header" . }}{{ end }} - <link rel="stylesheet" href="/output.css"> + <link rel="stylesheet" href="/output.css" /> + <link + rel="icon" + href="/favicon-light.svg" + type="image/svg+xml" + media="(prefers-color-scheme: light)" + /> + <link + rel="icon" + href="/favicon-dark.svg" + type="image/svg+xml" + media="(prefers-color-scheme: dark)" + /> <link rel="stylesheet" href="{{ .StaticStorageBaseUrl }}/libs/leaflet/1.9.4/leaflet.css" diff --git a/views/pages/unsubscribe-page.html b/views/pages/unsubscribe-page.html index c9de473..a917746 100644 --- a/views/pages/unsubscribe-page.html +++ b/views/pages/unsubscribe-page.html @@ -4,6 +4,18 @@ <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="robots" content="noindex,nofollow" /> + <link + rel="icon" + href="/favicon-light.svg" + type="image/svg+xml" + media="(prefers-color-scheme: light)" + /> + <link + rel="icon" + href="/favicon-dark.svg" + type="image/svg+xml" + media="(prefers-color-scheme: dark)" + /> <title>{{ .L.UnsubscribePage.Header }} // SAYA.UZ</title> <style> .bg-paper { |