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,14 @@
<svg xmlns="http://www.w3.org/2000/svg" id="flag-icons-lr" viewBox="0 0 640 480">
<defs>
<clipPath id="lr-a">
<path fill-opacity=".7" d="M0 0h682.7v512H0z"/>
</clipPath>
</defs>
<g fill-rule="evenodd" clip-path="url(#lr-a)" transform="scale(.9375)">
<path fill="#fff" d="M0 0h767.9v512H0z"/>
<path fill="#006" d="M0 0h232.7v232.8H0z"/>
<path fill="#c00" d="M0 464.9h767.9V512H0z"/>
<path fill="#c00" d="M0 465.4h767.9V512H0zm0-92.9h767.9v46.2H0zm0-93.2h766V326H0zM232.7 0h535.1v46.5H232.7zm0 186h535.1v46.8H232.7zm0-92.7h535.1v46.5H232.7z"/>
<path fill="#fff" d="m166.3 177.5-50.7-31-50.4 31.3 18.7-50.9-50.3-31.4 62.3-.4 19.3-50.7L135 95h62.3l-50.1 31.7z"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 713 B