favicon depends on dark and light mode

This commit is contained in:
2024-11-15 15:12:05 +01:00
parent f838b82f0d
commit 99d74f56db
6 changed files with 3 additions and 4 deletions

View File

@ -7,6 +7,9 @@
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<link rel="apple-touch-icon" href="/static/logo.png">
<link rel="manifest" href="/static/manifest.json">
<link rel="icon" href="/static/img/icon_dark.ico" type="image/x-icon">
<link rel="icon" href="/static/img/icon_light.ico" type="image/x-icon" media="(prefers-color-scheme: light)">
<link rel="icon" href="/static/img/icon_dark.ico" type="image/x-icon" media="(prefers-color-scheme: dark)">
<title>Chat</title>
<meta name='viewport' content='width=device-width, initial-scale=1'>
<link rel='stylesheet' type='text/css' href='/static/style/homePage/home.css'>

View File

@ -29,10 +29,6 @@ http {
alias /var/www/static/;
}
location /favicon.ico {
alias /var/www/static/favicon.ico;
}
location / {
proxy_pass http://djangoserver:8000;
proxy_set_header Host $host;

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 162 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 161 KiB

View File

Before

Width:  |  Height:  |  Size: 4.8 KiB

After

Width:  |  Height:  |  Size: 4.8 KiB