feat: initial setup of the webapp to be a pwa and add logos

This commit is contained in:
EmmanuelMr18 2023-07-30 22:37:17 -06:00
parent 3cd31d0e24
commit 27a25e9ba2
5 changed files with 22 additions and 0 deletions

BIN
web/assets/comfy192.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

BIN
web/assets/comfy512.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 159 KiB

BIN
web/assets/favicon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

View File

@ -6,6 +6,8 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no"> <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
<link rel="stylesheet" type="text/css" href="./lib/litegraph.css" /> <link rel="stylesheet" type="text/css" href="./lib/litegraph.css" />
<link rel="stylesheet" type="text/css" href="./style.css" /> <link rel="stylesheet" type="text/css" href="./style.css" />
<link rel="manifest" href="./manifest.json">
<link rel="icon" type="image/png" href="./assets/favicon.png">
<script type="text/javascript" src="./lib/litegraph.core.js"></script> <script type="text/javascript" src="./lib/litegraph.core.js"></script>
<script type="text/javascript" src="./lib/litegraph.extensions.js" defer></script> <script type="text/javascript" src="./lib/litegraph.extensions.js" defer></script>
<script type="module"> <script type="module">

20
web/manifest.json Normal file
View File

@ -0,0 +1,20 @@
{
"name": "ComfyUI",
"short_name": "ComfyUI",
"start_url": "./",
"theme_color": "#0B0B0B",
"background_color": "#222222",
"display": "standalone",
"icons":[
{
"src":"assets/comfy192.webp",
"sizes": "192x192",
"type": "image/webp"
},
{
"src":"assets/comfy512.webp",
"sizes": "512x512",
"type": "image/webp"
}
]
}