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,11 @@
<svg version="1.0" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 600 300">
<rect width="600" height="150" fill="#000" />
<rect y="150" width="600" height="150" fill="#007a3d" />
<rect y="100" width="600" height="100" fill="#fff" />
<path d="M 0,0 200,150 0,300 z" fill="#c4111b" />
<circle cx="300" cy="150" r="40" fill="#c4111b" />
<circle cx="315" cy="150" r="40" fill="#fff" />
<path
d="m 289.26294,174.2204 17.05633,-12.19273 16.92296,12.37709 -6.32527,-19.98928 17.00081,-12.26999 -20.96556,-0.16131 -6.41591,-19.96036 -6.63215,19.88957 -20.96606,-0.0661 16.86669,12.45373 -6.54184,19.91946 z"
fill="#c4111b" />
</svg>

After

Width:  |  Height:  |  Size: 675 B