Update SVG logos to use percentage dimensions and add viewBox where missing

- Modified SVG files for logos (webtorrent, wifi, wise-icon, zoom-icon, zoom) to set width and height to 100% for better responsiveness.
- Added viewBox attribute to SVGs that lacked it, using existing width and height values when available.
- Implemented a validation and fixing function in update-data.js to automate the process of ensuring SVGs have the correct attributes.
This commit is contained in:
sHa
2025-06-19 16:46:12 +03:00
parent 8c8078dcd9
commit e86600b610
127 changed files with 3541 additions and 128 deletions

View File

@@ -1,4 +1,4 @@
<svg width="1000" height="359.91382" viewBox="0 0 264.58333 95.227339" xmlns="http://www.w3.org/2000/svg">
<svg width="100%" height="100%" viewBox="0 0 264.58333 95.227339" xmlns="http://www.w3.org/2000/svg">
<path
d="M 132.29167,0 C 59.199637,0 -1.9786051e-4,21.2823 -1.9786051e-4,47.614671 c 0,26.324372 59.20383486051,47.612672 132.29186786051,47.612672 73.09703,0 132.29186,-21.2893 132.29186,-47.612672 C 264.58353,21.2813 205.3897,0 132.29167,0 Z"
fill="#00095b" id="background" />

Before

Width:  |  Height:  |  Size: 8.7 KiB

After

Width:  |  Height:  |  Size: 8.7 KiB