Refactor logo image handling across components

- Introduced utility functions to determine the base directory and image URL for logos based on their collection.
- Updated `Actions.svelte`, `CardFull.svelte`, `CardMiddle.svelte`, `CardSmall.svelte`, and `CardTiny.svelte` to use the new utility functions for generating image paths.
- Ensured that the correct image format (SVG, PNG, JPG) is used based on the logo's properties and active color sets.
This commit is contained in:
sHa
2025-06-18 12:27:27 +03:00
parent a7762803b8
commit 708334bcf4
526 changed files with 4676 additions and 193 deletions

View File

@@ -0,0 +1,11 @@
<svg xmlns="http://www.w3.org/2000/svg" height="300" viewBox="0 0 300.00001 300.00004" width="300">
<g id="g4384" transform="matrix(.90995 0 0 .92063 -440.87 568.84)">
<ellipse id="path3338-9" fill-rule="evenodd" rx="164.84" ry="162.93" cy="-453.86" cx="649.34" fill="#ffcb08" />
<path id="path4177-1-8"
d="m737.39-501.95c-20.076-0.00002-36.35 16.132-36.35 36.031 0.002 0.0605 0.004 0.1211 0.006 0.18164-64.989 18.737-128.79 66.231-160.41 134.39 16.92 14.839 36.819 25.749 58.324 32.687 12.025-71.357 64.904-125.63 110.89-143.8 6.8926 7.9684 16.948 12.561 27.537 12.578 20.075 0.00002 36.349-16.131 36.35-36.029 0.0003-19.899-16.274-36.031-36.35-36.031z"
fill="#0c4ea3" />
<path id="path3338"
d="m622.81-570.58c-20.076-0.00002-36.35 16.132-36.35 36.031 0.002 0.8113 0.031 1.6223 0.0879 2.4316-45.162 17.662-79.565 46.991-101.99 82.452 0.97144 31.59 10.715 62.235 28.94 88.109 1.6633-57.949 30.873-113.47 80.705-150.78 6.887 8.7188 17.436 13.814 28.607 13.818 20.075 0.00001 36.349-16.131 36.35-36.029 0.0003-19.899-16.274-36.031-36.35-36.031z"
fill-rule="evenodd" fill="#0c4ea3" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.1 KiB