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,16 @@
<svg xmlns="http://www.w3.org/2000/svg" id="flag-icons-gr" viewBox="0 0 640 480">
<path fill="#0d5eaf" fill-rule="evenodd" d="M0 0h640v53.3H0z"/>
<path fill="#fff" fill-rule="evenodd" d="M0 53.3h640v53.4H0z"/>
<path fill="#0d5eaf" fill-rule="evenodd" d="M0 106.7h640V160H0z"/>
<path fill="#fff" fill-rule="evenodd" d="M0 160h640v53.3H0z"/>
<path fill="#0d5eaf" d="M0 0h266.7v266.7H0z"/>
<path fill="#0d5eaf" fill-rule="evenodd" d="M0 213.3h640v53.4H0z"/>
<path fill="#fff" fill-rule="evenodd" d="M0 266.7h640V320H0z"/>
<path fill="#0d5eaf" fill-rule="evenodd" d="M0 320h640v53.3H0z"/>
<path fill="#fff" fill-rule="evenodd" d="M0 373.3h640v53.4H0z"/>
<g fill="#fff" fill-rule="evenodd" stroke-width="1.3">
<path d="M106.7 0H160v266.7h-53.3z"/>
<path d="M0 106.7h266.7V160H0z"/>
</g>
<path fill="#0d5eaf" d="M0 426.7h640V480H0z"/>
</svg>

After

Width:  |  Height:  |  Size: 868 B