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,8 @@
<svg xmlns="http://www.w3.org/2000/svg" id="flag-icons-ss" viewBox="0 0 640 480">
<path fill="#078930" d="M0 336h640v144H0z"/>
<path fill="#fff" d="M0 144h640v192H0z"/>
<path fill="#000001" d="M0 0h640v144H0z"/>
<path fill="#da121a" d="M0 168h640v144H0z"/>
<path fill="#0f47af" d="m0 0 415.7 240L0 480z"/>
<path fill="#fcdd09" d="M200.7 194.8 61.7 240l139 45.1L114.9 167v146z"/>
</svg>

After

Width:  |  Height:  |  Size: 398 B