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,9 @@
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="flag-icons-gg" viewBox="0 0 640 480">
<path fill="#fff" d="M0 0h640v480H0z"/>
<path fill="#e8112d" d="M256 0h128v480H256z"/>
<path fill="#e8112d" d="M0 176h640v128H0z"/>
<path id="gg-a" fill="#f9dd16" d="m110 286.7 23.3-23.4h210v-46.6h-210L110 193.3z"/>
<use xlink:href="#gg-a" width="36" height="24" transform="rotate(90 320 240)"/>
<use xlink:href="#gg-a" width="36" height="24" transform="rotate(-90 320 240)"/>
<use xlink:href="#gg-a" width="36" height="24" transform="rotate(180 320 240)"/>
</svg>

After

Width:  |  Height:  |  Size: 604 B