Icons for games

This commit is contained in:
2024-08-22 01:37:55 +02:00
parent 3b939ca612
commit 8d63fe402d
6 changed files with 2 additions and 1 deletions

View File

@@ -18,7 +18,7 @@ window.onload = () => {
for(let i=0; i<games.length; i++){
document.body.innerHTML += `
<a href="./${games[i].link}" class="game">
<img src="./img/${games[i].link}.png" alt="${games[i].name}">
<img src="./${games[i].link}/icon.png" alt="${games[i].name}">
</a>`
}
}