Fix all chrome Dev Tools warnings

This commit is contained in:
2024-02-18 16:45:50 +01:00
parent 4d07719066
commit 65a66a9f35
6 changed files with 23 additions and 14 deletions
Binary file not shown.

Before

Width:  |  Height:  |  Size: 251 KiB

After

Width:  |  Height:  |  Size: 49 KiB

BIN
View File
Binary file not shown.

Before

Width:  |  Height:  |  Size: 192 KiB

After

Width:  |  Height:  |  Size: 153 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 161 KiB

+21 -14
View File
@@ -1,21 +1,28 @@
{
"short_name": "Démineur",
"name": "Démineur",
"id": "/",
"short_name": "Minesweeper",
"name": "Minesweeper",
"description": "ReactJS made Minesweeper game",
"display": "standalone",
"orientation": "portrait",
"lang": "fr-FR",
"start_url": "/",
"dir": "left",
"theme_color": "#ffffff",
"background_color": "#598b8e",
"display_override": ["window-controls-overlay"],
"icons": [
{
"src": "favicon.ico",
"sizes": "64x64 32x32 24x24 16x16",
"type": "image/x-icon"
},
{
"src": "logo.png",
"type": "image/png",
"sizes": "512x512"
"sizes": "512x512",
"purpose": "any"
},
{
"src": "maskable_logo.png",
"type": "image/png",
"sizes": "512x512",
"purpose": "maskable"
}
],
"start_url": ".",
"display": "standalone",
"theme_color": "#000000",
"background_color": "#ffffff"
]
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 153 KiB

+2
View File
@@ -56,6 +56,7 @@ const Home = () => {
<p className='settingLabel'>Taille de la grille</p>
<select
ref={sizeRef}
name='gridSize'
className='select'
defaultValue={'12'}
>
@@ -69,6 +70,7 @@ const Home = () => {
<p className='settingLabel'>Difficulté</p>
<select
ref={difficultyRef}
name='difficulty'
className='select'
defaultValue={'beginner'}
>