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,4 @@
<svg width="350" height="359" viewBox="0 0 350 359" xmlns="http://www.w3.org/2000/svg">
<path id="Path" fill="currentColor" stroke="none" d="M 44 43 L 44 69 L 121.399994 69 C 195.799988 69 199 69.100006 205.200012 71 C 221.700012 76.100006 233 88.600006 236.099976 105.200012 C 240 126.5 224.099976 148.799988 202 153 C 199.099976 153.5 182.600006 154 165.299988 154 C 134 154 134 154 132.899994 156.700012 C 132.299988 158.299988 132 168.399994 132.200012 182.399994 L 132.5 205.5 L 148 226.900024 C 156.5 238.700012 170.5 258 179 269.900024 C 187.600006 281.799988 197.799988 296 201.799988 301.5 C 205.799988 307 214.099976 318.599976 220.299988 327.200012 L 231.5 342.900024 L 267.799988 343 L 304.099976 343 L 301.200012 339.200012 C 298.099976 335.299988 282.799988 314.200012 269.099976 295 C 264.599976 288.700012 258.099976 279.700012 254.700012 274.900024 C 251.299988 270.200012 240.599976 255.400024 231 242.099976 C 221.400024 228.700012 211.700012 215.299988 209.599976 212.400024 C 207.400024 209.399994 205.900024 206.799988 206.200012 206.5 C 206.400024 206.200012 210.299988 205.399994 214.799988 204.600006 C 233.5 201.299988 249.5 193.799988 263.700012 181.600006 C 270.5 175.700012 279.799988 163.399994 284.400024 154.100006 C 292.099976 138.600006 295 127 295 111.100006 C 294.900024 69 267.099976 32.700012 225 19.799988 C 217.5 17.5 217.5 17.5 130.799988 17.200012 L 44 16.899994 Z"/>
<path id="path1" fill="currentColor" stroke="none" d="M 44 220.5 L 44 343 L 104 343 L 104 98 L 44 98 Z"/>
</svg>

After

Width:  |  Height:  |  Size: 1.5 KiB