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 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated by Pixelmator Pro 3.6.17 -->
<svg width="492" height="492" viewBox="0 0 492 492" xmlns="http://www.w3.org/2000/svg">
<g id="Group">
<path id="Path" fill="#2c6dff" stroke="none" d="M 88 215 L 166 215 L 166 166 L 326 166 L 326 326 L 287 326 L 287 404 L 404 404 L 404 88 L 88 88 Z"/>
<path id="path1" fill="#2c6dff" stroke="none" d="M 132 257.899994 C 131.5 259 131 264.799988 131 270.900024 L 131 282 L 143 282 L 143 267 L 191 267 L 191 283 L 203 283 L 203 271.400024 C 203 265.100006 202.5 259 202 257.899994 C 201 256.100006 199.5 256 167 256 C 134.5 256 133 256.100006 132 257.899994 M 90 292 C 88.700012 292.799988 88.799988 401.200012 89.799988 402.200012 C 90.799988 403.200012 246 402 246 402 C 246 402 245.700012 293.099976 244.799988 292.200012 C 243.899994 291.299988 90.899994 291.400024 90 292"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 897 B