add webmanifest

This commit is contained in:
Alexander Popov 2023-04-30 15:30:09 +03:00
parent 28adc41ca4
commit f67def6a8d
Signed by: iiiypuk
GPG Key ID: E47FE0AB36CD5ED6
10 changed files with 22 additions and 1 deletions

View File

@ -12,7 +12,7 @@ insert_final_newline = true
indent_style = space indent_style = space
indent_size = 2 indent_size = 2
[{*.html,*.css,*.json}] [{*.html,*.css,*.json,*.webmanifest}]
indent_style = tab indent_style = tab
indent_size = 4 indent_size = 4
@ -20,6 +20,10 @@ indent_size = 4
indent_style = space indent_style = space
indent_size = 2 indent_size = 2
[*.webmanifest]
indent_style = space
indent_size = 4
[*.md] [*.md]
trim_trailing_whitespace = false trim_trailing_whitespace = false

View File

@ -1,3 +1,5 @@
![engine_icon](/src/icons/apple-touch-icon.png)
## Build `ENGINE` ## Build `ENGINE`
```sh ```sh

BIN
src/favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

BIN
src/icons/favicon-16x16.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 766 B

BIN
src/icons/favicon-32x32.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

View File

@ -5,6 +5,10 @@
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<title>ujs</title> <title>ujs</title>
<link rel="stylesheet" type="text/css" href="styles.css"> <link rel="stylesheet" type="text/css" href="styles.css">
<link rel="apple-touch-icon" sizes="180x180" href="/icons/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/icons/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/icons/favicon-16x16.png">
<link rel="manifest" href="/site.webmanifest">
<script src="./js/game.js" type="module"></script> <script src="./js/game.js" type="module"></script>
</head> </head>
<body> <body>

11
src/site.webmanifest Normal file
View File

@ -0,0 +1,11 @@
{
"name": "",
"short_name": "",
"icons": [
{ "src": "/icons/android-chrome-192x192.png", "sizes": "192x192", "type": "image/png" },
{ "src": "/icons/android-chrome-512x512.png", "sizes": "512x512", "type": "image/png" }
],
"theme_color": "#ffffff",
"background_color": "#ffffff",
"display": "standalone"
}