forked from yaso_meth/mih-project
update favicon size
This commit is contained in:
BIN
Frontend/patient_manager/web/Logo-001.png
Normal file
BIN
Frontend/patient_manager/web/Logo-001.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 392 KiB |
BIN
Frontend/patient_manager/web/Logo-002.png
Normal file
BIN
Frontend/patient_manager/web/Logo-002.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 387 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 442 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 441 KiB |
@@ -85,8 +85,8 @@
|
||||
const setFavicon = () => {
|
||||
const favicon = document.querySelector('link[rel="icon"]');
|
||||
favicon.href = (window.matchMedia('(prefers-color-scheme: dark)').matches)
|
||||
? 'Logo-02.png'
|
||||
: 'Logo-01.png';
|
||||
? 'Logo-002.png'
|
||||
: 'Logo-001.png';
|
||||
};
|
||||
|
||||
setFavicon();
|
||||
|
||||
Reference in New Issue
Block a user