Refactor code structure for improved readability and maintainability

This commit is contained in:
sHa
2025-05-27 00:37:04 +03:00
parent 44a5cbb67f
commit 538627fb91
3 changed files with 44 additions and 78 deletions

View File

@@ -1,13 +1,12 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0.38 0.75 79.33 50.97" width="100%" height="100%">
<svg width="100%" height="100%" viewBox="0 0 80 51" version="1.1" xmlns="http://www.w3.org/2000/svg">
<path
d="M45.484,0.001c-7.767,0.016 -14.944,4.236 -18.736,11.014c-1.605,-0.782 -3.367,-1.19 -5.152,-1.192c-5.754,0.015 -10.701,4.236 -11.621,9.916c-6.031,2.525 -9.977,8.454 -9.977,14.993c0.008,8.915 7.348,16.244 16.263,16.24c0.682,-0.006 1.363,-0.055 2.039,-0.148l45.188,-0c0.237,0.017 0.475,0.029 0.713,0.035c0.227,-0.007 0.453,-0.018 0.679,-0.035l1.082,-0l0,-0.08c7.578,-0.896 13.356,-7.42 13.361,-15.087l0,-0.03c-0.018,-7.264 -5.214,-13.55 -12.317,-14.9c-0.425,-11.504 -10.01,-20.735 -21.522,-20.726"
style="fill:url(#_Linear_784326489);fill-rule:nonzero;" />
<defs>
<linearGradient id="b" x1="-108.903" x2="-1137.198" y1="2124.834" y2="2110.651"
gradientTransform="matrix(.0774 0 0 .0774 88.374 -128.026)" gradientUnits="userSpaceOnUse" />
<linearGradient id="a">
<linearGradient id="_Linear_784326489" x1="0" y1="0" x2="1" y2="0" gradientUnits="userSpaceOnUse"
gradientTransform="matrix(-79.59,-1.09776,1.09776,-79.59,79.5649,35.6862)">
<stop offset="0" style="stop-color:#3e82f4;stop-opacity:1" />
<stop offset="1" style="stop-color:#93dcf7;stop-opacity:1" />
</linearGradient>
</defs>
<path
d="M45.864.751a21.52 21.52 0 0 0-18.736 11.014 11.8 11.8 0 0 0-5.152-1.192 11.804 11.804 0 0 0-11.621 9.916A16.255 16.255 0 0 0 .378 35.482a16.255 16.255 0 0 0 16.263 16.24 16 16 0 0 0 2.039-.148h45.188a15.13 15.202 0 0 0 .713.035 15.13 15.202 0 0 0 .679-.035h1.082v-.08a15.13 15.202 0 0 0 13.361-15.087v-.03a15.13 15.202 0 0 0-12.317-14.9A21.52 21.52 0 0 0 45.864.751"
style="opacity:1;fill:url(#b);fill-opacity:1;stroke:none;stroke-width:0;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
</svg>

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB