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,13 @@
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="flag-icons-gw" viewBox="0 0 640 480">
<path fill="#ce1126" d="M0 0h220v480H0z"/>
<path fill="#fcd116" d="M220 0h420v240H220z"/>
<path fill="#009e49" d="M220 240h420v240H220z"/>
<g id="gw-b" transform="matrix(80 0 0 80 110 240)">
<path id="gw-a" fill="#000001" d="M0-1v1h.5" transform="rotate(18 0 -1)"/>
<use xlink:href="#gw-a" width="100%" height="100%" transform="scale(-1 1)"/>
</g>
<use xlink:href="#gw-b" width="100%" height="100%" transform="rotate(72 110 240)"/>
<use xlink:href="#gw-b" width="100%" height="100%" transform="rotate(144 110 240)"/>
<use xlink:href="#gw-b" width="100%" height="100%" transform="rotate(-144 110 240)"/>
<use xlink:href="#gw-b" width="100%" height="100%" transform="rotate(-72 110 240)"/>
</svg>

After

Width:  |  Height:  |  Size: 846 B