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="301" viewBox="0 0 1000 301" xmlns="http://www.w3.org/2000/svg">
<svg width="100%" height="100%" viewBox="0 0 1000 301" xmlns="http://www.w3.org/2000/svg">
<g fill="#ff9900" fill-rule="evenodd" stroke="none" id="arrow">
<path
d="M 620.380432 235.314178 C 562.268738 278.147095 478.039398 301 405.519531 301 C 303.8349 301 212.292709 263.390625 143.037476 200.838943 C 137.596313 195.92009 142.471573 189.216583 149.001007 193.04715 C 223.740906 236.53299 316.153748 262.694153 411.613647 262.694153 C 475.99353 262.694153 546.815796 249.374146 611.93573 221.733032 C 621.773376 217.554169 630.000427 228.175369 620.380432 235.314178" />

Before

Width:  |  Height:  |  Size: 8.2 KiB

After

Width:  |  Height:  |  Size: 8.2 KiB