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-jm" viewBox="0 0 640 480">
<g fill-rule="evenodd">
<path fill="#000001" d="m0 0 320 240L0 480zm640 0L320 240l320 240z"/>
<path fill="#090" d="m0 0 320 240L640 0zm0 480 320-240 320 240z"/>
<path fill="#fc0" d="M640 0h-59.6L0 435.3V480h59.6L640 44.7z"/>
<path fill="#fc0" d="M0 0v44.7L580.4 480H640v-44.7L59.6 0z"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 401 B