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,7 @@
<svg width="100%" height="100%" viewBox="0 0 75 75" xmlns="http://www.w3.org/2000/svg">
<g fill="#5bba47" fill-rule="nonzero">
<path
d="M56.912,14.821l0,42.057l-5.721,-0c-2.469,-20.798 -15.534,-33.864 -36.339,-36.333l0,-5.724l42.06,-0Zm-56.884,-14.821l0,34.896l7.414,-0c19.51,-0 29.402,9.889 29.402,29.392l-0,7.41l34.889,0l0,-71.698l-71.705,0Z" />
</g>
<rect fill="#231f20" fill-rule="nonzero" x="0" y="43.661" width="28.035" height="28.031" />
</svg>

After

Width:  |  Height:  |  Size: 484 B