favicon depends on dark and light mode
This commit is contained in:
@ -7,6 +7,9 @@
|
|||||||
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
|
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
|
||||||
<link rel="apple-touch-icon" href="/static/logo.png">
|
<link rel="apple-touch-icon" href="/static/logo.png">
|
||||||
<link rel="manifest" href="/static/manifest.json">
|
<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>
|
<title>Chat</title>
|
||||||
<meta name='viewport' content='width=device-width, initial-scale=1'>
|
<meta name='viewport' content='width=device-width, initial-scale=1'>
|
||||||
<link rel='stylesheet' type='text/css' href='/static/style/homePage/home.css'>
|
<link rel='stylesheet' type='text/css' href='/static/style/homePage/home.css'>
|
||||||
|
@ -29,10 +29,6 @@ http {
|
|||||||
alias /var/www/static/;
|
alias /var/www/static/;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /favicon.ico {
|
|
||||||
alias /var/www/static/favicon.ico;
|
|
||||||
}
|
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://djangoserver:8000;
|
proxy_pass http://djangoserver:8000;
|
||||||
proxy_set_header Host $host;
|
proxy_set_header Host $host;
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 4.9 KiB |
BIN
docker-compose/requirements/nginx/static/img/icon_dark.ico
Normal file
BIN
docker-compose/requirements/nginx/static/img/icon_dark.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 162 KiB |
BIN
docker-compose/requirements/nginx/static/img/icon_light.ico
Normal file
BIN
docker-compose/requirements/nginx/static/img/icon_light.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 161 KiB |
Before Width: | Height: | Size: 4.8 KiB After Width: | Height: | Size: 4.8 KiB |
Reference in New Issue
Block a user