Refactor code structure for improved readability and maintainability

This commit is contained in:
Marek Lesko
2025-10-21 14:42:11 +00:00
parent 61d52a5bd1
commit 213fd63860
13 changed files with 195 additions and 222 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.4 KiB

View File

@@ -0,0 +1,29 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<!-- Creator: CorelDRAW -->
<svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" width="117px" height="36px" version="1.1" style="shape-rendering:geometricPrecision; text-rendering:geometricPrecision; image-rendering:optimizeQuality; fill-rule:evenodd; clip-rule:evenodd"
viewBox="0 0 117.98 36.42"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:xodm="http://www.corel.com/coreldraw/odm/2003">
<defs>
<style type="text/css">
<![CDATA[
.str0 {stroke:#5D87FF;stroke-width:0.05;stroke-miterlimit:10}
.fil1 {fill:#373435;fill-rule:nonzero}
.fil0 {fill:#5D87FF;fill-rule:nonzero}
]]>
</style>
</defs>
<g id="Layer_x0020_1">
<metadata id="CorelCorpID_0Corel-Layer"/>
<path class="fil0 str0" d="M19.25 2.39c-0.66,0 -1.19,-0.53 -1.19,-1.18 0,-0.66 0.53,-1.18 1.19,-1.18l9.25 0c2.18,0 4.17,0.83 5.62,2.19 1.47,1.37 2.38,3.27 2.38,5.36l0 27.64c0,0.65 -0.53,1.18 -1.18,1.18 -0.34,0 -0.65,-0.15 -0.87,-0.38l-8.32 -7.83 -18.1 0c-2.18,0 -4.17,-0.84 -5.62,-2.2 -1.47,-1.37 -2.38,-3.27 -2.38,-5.36l0 -13.05c0,-2.09 0.91,-3.99 2.38,-5.36 1.45,-1.36 3.44,-2.19 5.62,-2.19l4.53 0c2.81,-0.02 4.63,3.41 5.4,5.56l4.45 9.99c0.26,0.59 -0.01,1.29 -0.6,1.55 -0.16,0.07 -0.32,0.11 -0.48,0.11l0 0 -3.17 0 0 3.29c0,0.04 0,0.07 -0.01,0.11 -0.01,0.69 -0.27,3.81 -3.78,3.75l-2.66 0c-0.65,0 -1.18,-0.53 -1.18,-1.18 0,-0.65 0.53,-1.17 1.18,-1.17l2.69 0c1.27,0.02 1.39,-1.11 1.4,-1.41 0,-0.03 -0.01,-0.06 -0.01,-0.1l0 -0.38c-3.69,0.17 -4.39,-2.23 -4.39,-2.24 -0.2,-0.62 0.15,-1.28 0.77,-1.48 0.62,-0.19 1.29,0.16 1.48,0.78 0,0 0.21,0.75 2.14,0.58l0 -1.73c0,-0.65 0.53,-1.18 1.19,-1.18l2.53 0 -3.7 -8.33c-0.03,-0.05 -0.06,-0.11 -0.08,-0.17 -1.09,-3.06 -2.01,-3.82 -2.48,-3.99l-5.22 0c-1.57,0 -2.99,0.59 -4.02,1.55 -1,0.94 -1.62,2.23 -1.62,3.64l0 13.05c0,1.41 0.62,2.7 1.62,3.64 1.03,0.96 2.45,1.55 4.02,1.55l18.57 0 0 0c0.29,0 0.58,0.11 0.81,0.32l6.73 6.34 0 -24.9c0,-1.41 -0.63,-2.7 -1.63,-3.64 -1.02,-0.96 -2.45,-1.55 -4.01,-1.55l-9.25 0zm-6.57 4.45c0.79,0 1.44,0.65 1.44,1.45 0,0.79 -0.65,1.44 -1.44,1.44 -0.8,0 -1.45,-0.65 -1.45,-1.44 0,-0.8 0.65,-1.45 1.45,-1.45z"/>
<g id="_1401823420080">
<path class="fil1" d="M52.77 16.61c0,0.62 0.49,1.15 1.13,1.15l4.28 -0.02c0.65,0 1.13,-0.52 1.13,-1.14 0,-0.64 -0.48,-1.15 -1.13,-1.15l-4.28 0.02c-0.64,0 -1.13,0.51 -1.13,1.14z"/>
<path class="fil1" d="M42.08 26.8l9 0c0.67,0.02 1.18,-0.52 1.18,-1.19 0,-0.66 -0.51,-1.2 -1.18,-1.2l-7.73 0 0 -6.63 5.68 0c0.67,0 1.19,-0.49 1.19,-1.15 0,-0.67 -0.52,-1.19 -1.19,-1.18l-5.68 0 0 -6.66 7.73 0c0.67,0 1.18,-0.52 1.18,-1.19 0,-0.67 -0.51,-1.2 -1.18,-1.2l-8.91 0c-0.66,0 -1.21,0.51 -1.21,1.2l0 17.99c0,0.65 0.47,1.16 1.12,1.21z"/>
<path id="_1" class="fil1" d="M63.58 26.8l3.49 0c5.72,-0.01 10.36,-4.43 10.36,-10.16 0,-5.74 -4.66,-10.24 -10.39,-10.24l-3.46 0c-0.66,0 -1.2,0.51 -1.2,1.18l0 18.05c0,0.65 0.54,1.17 1.2,1.17zm1.19 -2.39l0 -15.59 2.27 0c4.44,0 8,3.4 8,7.82 0,4.44 -3.56,7.77 -8,7.77l-2.27 0z"/>
<path id="_2" class="fil1" d="M81.62 26.8c0.65,0 1.19,-0.52 1.19,-1.18l0 -18.04c0,-0.67 -0.54,-1.18 -1.19,-1.18 -0.65,0 -1.2,0.51 -1.2,1.18l0 18.04c0,0.66 0.55,1.18 1.2,1.18z"/>
<path id="_3" class="fil1" d="M86.45 26.8c0.47,0 0.88,-0.25 1.07,-0.72l2.28 -5.43 8.82 0 2.31 5.43c0.21,0.45 0.64,0.72 1.1,0.72 0.62,0 1.18,-0.46 1.18,-1.11 0,-0.2 -0.05,-0.37 -0.13,-0.56l-7.73 -18.01c-0.19,-0.45 -0.62,-0.72 -1.08,-0.72 -0.52,0 -0.92,0.27 -1.11,0.73l-7.81 17.98c-0.08,0.19 -0.11,0.37 -0.11,0.56 0,0.69 0.56,1.13 1.21,1.13zm4.35 -8.54l3.4 -8.03 3.42 8.03 -6.82 0z"/>
<path id="_4" class="fil1" d="M111.09 26.99c3.73,0 6.89,-2.52 6.89,-6.18 0,-3.47 -3.03,-4.82 -6.14,-5.74 -2.17,-0.53 -4.74,-1.14 -4.72,-3.3 0.02,-2.04 2.06,-3.14 4,-3.14 1.79,0 2.99,0.51 4.2,1.88 0.19,0.22 0.49,0.25 0.75,0.25 0.6,0 1.1,-0.47 1.1,-1.1 0,-0.14 -0.03,-0.3 -0.13,-0.44 -1.13,-1.94 -3.46,-2.98 -5.95,-2.98 -3.17,0 -6.36,2.15 -6.36,5.54 0,3.35 3.07,4.87 6.39,5.59 2.17,0.66 4.48,1.29 4.48,3.56 0,2.4 -2.28,3.67 -4.42,3.67 -2.07,0 -3.89,-0.96 -4.74,-2.56 -0.3,-0.54 -0.73,-0.73 -1.11,-0.73 -0.6,0 -1.16,0.54 -1.16,1.15 0,0.19 0.05,0.41 0.16,0.63 0.96,2.18 3.68,3.9 6.76,3.9z"/>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 83 KiB