mirror of
https://github.com/shadoll/sLogos.git
synced 2025-12-20 14:32:02 +00:00
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:
6
public/images/flags/sr.svg
Normal file
6
public/images/flags/sr.svg
Normal file
@@ -0,0 +1,6 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" id="flag-icons-sr" viewBox="0 0 640 480">
|
||||
<path fill="#377e3f" d="M.1 0h640v480H.1z"/>
|
||||
<path fill="#fff" d="M.1 96h640v288H.1z"/>
|
||||
<path fill="#b40a2d" d="M.1 144h640v192H.1z"/>
|
||||
<path fill="#ecc81d" d="m320 153.2 56.4 173.6-147.7-107.3h182.6L263.6 326.8z"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 312 B |
Reference in New Issue
Block a user