Skip to content

Commit

Permalink
Improve tags images resolution
Browse files Browse the repository at this point in the history
  • Loading branch information
Vianpyro committed Sep 27, 2024
1 parent 455dd52 commit 31dbdde
Show file tree
Hide file tree
Showing 13 changed files with 7 additions and 1 deletion.
Binary file removed resources/images/tags/assassin.png
Binary file not shown.
1 change: 1 addition & 0 deletions resources/images/tags/assassin.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed resources/images/tags/fighter.png
Binary file not shown.
1 change: 1 addition & 0 deletions resources/images/tags/fighter.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed resources/images/tags/mage.png
Binary file not shown.
1 change: 1 addition & 0 deletions resources/images/tags/mage.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed resources/images/tags/marksman.png
Binary file not shown.
1 change: 1 addition & 0 deletions resources/images/tags/marksman.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed resources/images/tags/support.png
Binary file not shown.
1 change: 1 addition & 0 deletions resources/images/tags/support.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed resources/images/tags/tank.png
Binary file not shown.
1 change: 1 addition & 0 deletions resources/images/tags/tank.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion resources/javascript/champions_load.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
// Create the 'img' element and define its properties.
const tag_image = document.createElement('img');
tag_image.loading = 'lazy';
tag_image.src = `resources/images/tags/${this_tag.toLowerCase()}.png`;
tag_image.src = `resources/images/tags/${this_tag.toLowerCase()}.svg`;
tag_image.style.backgroundColor = '#ccc';

// Create the 'a' element and define its properties.
Expand Down

0 comments on commit 31dbdde

Please sign in to comment.