WIP
10
index.html
@@ -2,7 +2,15 @@
|
|||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8" />
|
<meta charset="UTF-8" />
|
||||||
<link rel="icon" type="image/svg+xml" href="favicon.svg" />
|
<meta property="og:title" content="ShareChess" />
|
||||||
|
<meta property="og:description" content="Share chess games." />
|
||||||
|
<meta
|
||||||
|
property="og:image"
|
||||||
|
content="https://sharechess.github.io/img/baner.png"
|
||||||
|
/>
|
||||||
|
<meta property="og:url" content="https://sharechess.github.io" />
|
||||||
|
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
|
||||||
|
<link rel="manifest" href="/manifest.json" />
|
||||||
<meta
|
<meta
|
||||||
name="viewport"
|
name="viewport"
|
||||||
content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"
|
content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"
|
||||||
|
|||||||
BIN
public/img/baner.png
Normal file
|
After Width: | Height: | Size: 295 KiB |
BIN
public/img/icon-128x128.png
Normal file
|
After Width: | Height: | Size: 2.3 KiB |
BIN
public/img/icon-144x144.png
Normal file
|
After Width: | Height: | Size: 2.6 KiB |
BIN
public/img/icon-152x152.png
Normal file
|
After Width: | Height: | Size: 2.7 KiB |
BIN
public/img/icon-192x192.png
Normal file
|
After Width: | Height: | Size: 3.4 KiB |
BIN
public/img/icon-384x384.png
Normal file
|
After Width: | Height: | Size: 6.8 KiB |
BIN
public/img/icon-512x512.png
Normal file
|
After Width: | Height: | Size: 5.5 KiB |
BIN
public/img/icon-72x72.png
Normal file
|
After Width: | Height: | Size: 1.5 KiB |
BIN
public/img/icon-96x96.png
Normal file
|
After Width: | Height: | Size: 1.8 KiB |
65
public/manifest.json
Normal file
@@ -0,0 +1,65 @@
|
|||||||
|
{
|
||||||
|
"dir": "ltr",
|
||||||
|
"lang": "en",
|
||||||
|
"name": "ShareChess",
|
||||||
|
"short_name": "ShareChess",
|
||||||
|
"scope": "/",
|
||||||
|
"display": "fullscreen",
|
||||||
|
"url": "https://sharechess.github.io",
|
||||||
|
"start_url": "https://game.voidvoyage.com/",
|
||||||
|
"theme_color": "transparent",
|
||||||
|
"description": "Share chess games",
|
||||||
|
"orientation": "any",
|
||||||
|
"background_color": "transparent",
|
||||||
|
"related_applications": [],
|
||||||
|
"prefer_related_applications": false,
|
||||||
|
"icons": [
|
||||||
|
{
|
||||||
|
"src": "/assets/favicon.8c35612c.svg",
|
||||||
|
"type": "image/svg+xml"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"src": "/img/icon-72x72.png",
|
||||||
|
"sizes": "72x72",
|
||||||
|
"type": "image/png"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"src": "/img/icon-96x96.png",
|
||||||
|
"sizes": "96x96",
|
||||||
|
"type": "image/png"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"src": "/img/icon-128x128.png",
|
||||||
|
"sizes": "128x128",
|
||||||
|
"type": "image/png"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"src": "/img/icon-144x144.png",
|
||||||
|
"sizes": "144x144",
|
||||||
|
"type": "image/png"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"src": "/img/icon-152x152.png",
|
||||||
|
"sizes": "152x152",
|
||||||
|
"type": "image/png"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"src": "/img/icon-192x192.png",
|
||||||
|
"sizes": "192x192",
|
||||||
|
"type": "image/png"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"src": "/img/icon-384x384.png",
|
||||||
|
"sizes": "384x384",
|
||||||
|
"type": "image/png"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"src": "/img/icon-512x512.png",
|
||||||
|
"sizes": "512x512",
|
||||||
|
"type": "image/png"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"screenshots": [],
|
||||||
|
"shortcuts": [],
|
||||||
|
"generated": "true"
|
||||||
|
}
|
||||||
@@ -137,7 +137,7 @@ class Player {
|
|||||||
? "White wins!"
|
? "White wins!"
|
||||||
: result === "0-1"
|
: result === "0-1"
|
||||||
? "Black wins!"
|
? "Black wins!"
|
||||||
: "Draw"
|
: "Draw!"
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||