feat: Refactor code structure and optimize performance across multiple modules
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M10.0165 2.42505C7.25816 2.42505 5.0165 4.66672 5.0165 7.42505V9.83338C5.0165 10.3417 4.79983 11.1167 4.5415 11.55L3.58316 13.1417C2.9915 14.125 3.39983 15.2167 4.48316 15.5834C8.07483 16.7834 11.9498 16.7834 15.5415 15.5834C16.5498 15.25 16.9915 14.0584 16.4415 13.1417L15.4832 11.55C15.2332 11.1167 15.0165 10.3417 15.0165 9.83338V7.42505C15.0165 4.67505 12.7665 2.42505 10.0165 2.42505Z" stroke="#1A1A1A" stroke-width="1.5" stroke-miterlimit="10" stroke-linecap="round"/>
|
||||
<path d="M11.5584 2.6667C11.3001 2.5917 11.0334 2.53337 10.7584 2.50003C9.95843 2.40003 9.19176 2.45837 8.4751 2.6667C8.71676 2.05003 9.31676 1.6167 10.0168 1.6167C10.7168 1.6167 11.3168 2.05003 11.5584 2.6667Z" stroke="#1A1A1A" stroke-width="1.5" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
<path d="M12.5166 15.8833C12.5166 17.2583 11.3916 18.3833 10.0166 18.3833C9.33327 18.3833 8.69993 18.1 8.24993 17.65C7.79993 17.2 7.5166 16.5666 7.5166 15.8833" stroke="#1A1A1A" stroke-width="1.5" stroke-miterlimit="10"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.1 KiB |
@@ -0,0 +1,8 @@
|
||||
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M19.9779 10.5217C20.4136 10.8122 20.621 11.3487 20.494 11.8568C20.4155 12.1707 20.6064 12.4888 20.9203 12.5673C21.2344 12.6458 21.5524 12.455 21.6309 12.141C21.8777 11.1537 21.4746 10.1111 20.6279 9.54657C19.3878 8.71985 17.7229 8.88477 16.669 9.93861L16.1435 10.4642C15.3931 9.5595 14.4911 8.64868 13.5346 7.85528L14.0602 7.32973C15.114 6.2759 15.2789 4.61093 14.4522 3.37085C13.8877 2.52417 12.8451 2.12104 11.8578 2.36788C11.5439 2.44635 11.353 2.76448 11.4314 3.07842C11.5099 3.39237 11.8279 3.58315 12.142 3.50475C12.6499 3.37768 13.1866 3.58515 13.4771 4.02089C13.995 4.79777 13.8917 5.84082 13.2315 6.50105L12.6004 7.13211C12.0495 6.73617 11.5066 6.40051 10.9905 6.13976C9.15921 5.21457 8.26402 5.53105 7.83558 5.95949C7.69038 6.10469 7.5853 6.27445 7.51632 6.46473L2.1747 18.97C2.06192 19.2341 1.99989 19.5227 1.99989 19.8239C1.99989 21.3908 3.60334 22.4339 5.02889 21.8241L17.5303 16.4841C17.7222 16.4151 17.8931 16.3094 18.0393 16.1632C18.4677 15.7348 18.7842 14.8396 17.859 13.0082C17.5983 12.4921 17.2626 11.9492 16.8667 11.3983L17.4977 10.7673C18.158 10.107 19.201 10.0037 19.9779 10.5217ZM11.1682 17.9273L7.07733 10.4758L7.82191 8.7327C9.0146 11.4788 12.5159 14.9825 15.266 16.177L11.1682 17.9273ZM7.39198 19.5404L5.09256 15.1223L6.49233 11.8454L10.0853 18.3899C9.61465 18.591 10.111 18.379 7.39198 19.5404ZM4.5683 20.7465C3.82658 21.0638 3.03134 20.417 3.19177 19.6238C3.22068 19.4836 3.14165 19.6896 4.49709 16.5165L6.3112 20.0021L4.5683 20.7465ZM16.813 13.5367C17.3537 14.6068 17.347 15.1982 17.2106 15.3346C17.1843 15.3609 17.1582 15.3687 17.1144 15.3874C16.8785 15.4619 16.3127 15.3987 15.4027 14.9437C13.0633 13.774 10.2262 10.9384 9.05507 8.5961C8.60003 7.68602 8.53683 7.12016 8.61144 6.88426C8.62984 6.84137 8.63781 6.81461 8.66425 6.78816C8.71062 6.7418 8.80945 6.71047 8.96183 6.71047C9.25785 6.71047 9.7557 6.82887 10.4621 7.18578C10.8779 7.39578 11.3146 7.66106 11.7604 7.97223L11.2731 8.45954C11.0443 8.68837 11.0443 9.05934 11.2731 9.28817C11.5019 9.517 11.8729 9.51704 12.1018 9.28817L12.7026 8.68735C13.6313 9.44837 14.5492 10.366 15.3115 11.2962L14.7106 11.897C14.4818 12.1259 14.4818 12.4969 14.7106 12.7257C14.9394 12.9545 15.3104 12.9546 15.5393 12.7257L16.0266 12.2384C16.3378 12.6842 16.603 13.121 16.813 13.5367Z" fill="#7A88BE"/>
|
||||
<path d="M17.4143 7.41349L20.3831 4.44473C20.6119 4.2159 20.6119 3.84492 20.3831 3.61609C20.1543 3.38726 19.7833 3.38726 19.5544 3.61609L16.5857 6.58485C16.3568 6.81368 16.3568 7.18466 16.5857 7.41349C16.8145 7.64231 17.1855 7.64235 17.4143 7.41349Z" fill="#7A88BE"/>
|
||||
<path d="M5.12513 4.14747H5.47669V4.49903C5.47669 4.82263 5.73904 5.08497 6.06263 5.08497C6.38623 5.08497 6.64857 4.82263 6.64857 4.49903V4.14747H7.00013C7.32373 4.14747 7.58607 3.88512 7.58607 3.56153C7.58607 3.23793 7.32373 2.97559 7.00013 2.97559H6.64857V2.58496C6.64857 2.26137 6.38623 1.99902 6.06263 1.99902C5.73904 1.99902 5.47669 2.26137 5.47669 2.58496V2.97559H5.12513C4.80153 2.97559 4.53919 3.23793 4.53919 3.56153C4.53919 3.88512 4.80149 4.14747 5.12513 4.14747Z" fill="#7A88BE"/>
|
||||
<path d="M21.4139 16.7256H21.0233V16.3741C21.0233 16.0505 20.7609 15.7881 20.4373 15.7881C20.1137 15.7881 19.8514 16.0505 19.8514 16.3741V16.7256H19.4998C19.1762 16.7256 18.9139 16.988 18.9139 17.3116C18.9139 17.6352 19.1762 17.8975 19.4998 17.8975H19.8514V18.2491C19.8514 18.5727 20.1137 18.835 20.4373 18.835C20.7609 18.835 21.0233 18.5727 21.0233 18.2491V17.8975H21.4139C21.7375 17.8975 21.9998 17.6352 21.9998 17.3116C21.9998 16.988 21.7375 16.7256 21.4139 16.7256Z" fill="#7A88BE"/>
|
||||
<path d="M17.3131 3.1709C17.6367 3.1709 17.8991 2.90856 17.8991 2.58496C17.8991 2.26137 17.6367 1.99902 17.3131 1.99902C16.9858 1.99902 16.727 2.26453 16.727 2.58496C16.727 2.90856 16.9895 3.1709 17.3131 3.1709Z" fill="#7A88BE"/>
|
||||
<path d="M20.1648 7.31155C20.1648 7.63515 20.4273 7.89749 20.7509 7.89749C21.0745 7.89749 21.3369 7.63515 21.3369 7.31155C21.3369 6.99065 21.0773 6.72561 20.7505 6.72561C20.4269 6.72561 20.1648 6.98796 20.1648 7.31155Z" fill="#7A88BE"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 4.0 KiB |
@@ -0,0 +1,6 @@
|
||||
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M18.04 13.55C17.62 13.96 17.38 14.55 17.44 15.18C17.53 16.26 18.52 17.05 19.6 17.05H21.5V18.24C21.5 20.31 19.81 22 17.74 22H6.26C4.19 22 2.5 20.31 2.5 18.24V11.51C2.5 9.44001 4.19 7.75 6.26 7.75H17.74C19.81 7.75 21.5 9.44001 21.5 11.51V12.95H19.48C18.92 12.95 18.41 13.17 18.04 13.55Z" stroke="#5C7581" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
<path d="M2.5 12.4098V7.83986C2.5 6.64986 3.23 5.58982 4.34 5.16982L12.28 2.16982C13.52 1.69982 14.85 2.61985 14.85 3.94985V7.74983" stroke="#5C7581" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
<path d="M22.5588 13.9702V16.0302C22.5588 16.5802 22.1188 17.0302 21.5588 17.0502H19.5988C18.5188 17.0502 17.5288 16.2602 17.4388 15.1802C17.3788 14.5502 17.6188 13.9602 18.0388 13.5502C18.4088 13.1702 18.9188 12.9502 19.4788 12.9502H21.5588C22.1188 12.9702 22.5588 13.4202 22.5588 13.9702Z" stroke="#5C7581" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
<path d="M7 12H14" stroke="#5C7581" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.1 KiB |
@@ -0,0 +1,3 @@
|
||||
<svg width="21" height="15" viewBox="0 0 21 15" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M13.9943 13.5859C12.0515 15.4841 8.94854 15.4841 7.00573 13.5859L2.39024 9.07633C-0.815973 5.94368 1.40195 0.500001 5.88451 0.500002L15.1155 0.500003C19.598 0.500003 21.816 5.94368 18.6098 9.07633L13.9943 13.5859Z" fill="#FFEB6B"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 344 B |
@@ -0,0 +1,10 @@
|
||||
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M8 2V5" stroke="#040B45" stroke-width="1.5" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
<path d="M16 2V5" stroke="#040B45" stroke-width="1.5" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
<path d="M21 8.5V13.63C20.11 12.92 18.98 12.5 17.75 12.5C16.52 12.5 15.37 12.93 14.47 13.66C13.26 14.61 12.5 16.1 12.5 17.75C12.5 18.73 12.78 19.67 13.26 20.45C13.63 21.06 14.11 21.59 14.68 22H8C4.5 22 3 20 3 17V8.5C3 5.5 4.5 3.5 8 3.5H16C19.5 3.5 21 5.5 21 8.5Z" stroke="#040B45" stroke-width="1.5" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
<path d="M7 11H13" stroke="#040B45" stroke-width="1.5" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
<path d="M7 16H9.62" stroke="#040B45" stroke-width="1.5" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
<path d="M23 17.75C23 18.73 22.72 19.67 22.24 20.45C21.96 20.93 21.61 21.35 21.2 21.69C20.28 22.51 19.08 23 17.75 23C16.6 23 15.54 22.63 14.68 22C14.11 21.59 13.63 21.06 13.26 20.45C12.78 19.67 12.5 18.73 12.5 17.75C12.5 16.1 13.26 14.61 14.47 13.66C15.37 12.93 16.52 12.5 17.75 12.5C18.98 12.5 20.11 12.92 21 13.63C22.22 14.59 23 16.08 23 17.75Z" stroke="#040B45" stroke-width="1.5" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
<path d="M18 16V20" stroke="#040B45" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
<path d="M16 18H20" stroke="#040B45" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.6 KiB |
@@ -0,0 +1,4 @@
|
||||
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M12.1596 10.87C12.0596 10.86 11.9396 10.86 11.8296 10.87C9.44957 10.79 7.55957 8.84 7.55957 6.44C7.55957 3.99 9.53957 2 11.9996 2C14.4496 2 16.4396 3.99 16.4396 6.44C16.4296 8.84 14.5396 10.79 12.1596 10.87Z" stroke="#5C7581" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
<path d="M7.15973 14.56C4.73973 16.18 4.73973 18.82 7.15973 20.43C9.90973 22.27 14.4197 22.27 17.1697 20.43C19.5897 18.81 19.5897 16.17 17.1697 14.56C14.4297 12.73 9.91973 12.73 7.15973 14.56Z" stroke="#5C7581" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 647 B |
Reference in New Issue
Block a user