mirror of
https://github.com/shadoll/sLogos.git
synced 2025-12-20 15:32:03 +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:
16
public/images/flags/st.svg
Normal file
16
public/images/flags/st.svg
Normal file
@@ -0,0 +1,16 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="flag-icons-st" viewBox="0 0 640 480">
|
||||
<path fill="#12ad2b" d="M0 0h640v480H0z"/>
|
||||
<path fill="#ffce00" d="M0 137.1h640V343H0z"/>
|
||||
<path fill="#d21034" d="M0 0v480l240-240"/>
|
||||
<g id="st-c" transform="translate(351.6 240)scale(.34286)">
|
||||
<g id="st-b">
|
||||
<path id="st-a" fill="#000001" d="M0-200V0h100" transform="rotate(18 0 -200)"/>
|
||||
<use xlink:href="#st-a" width="100%" height="100%" transform="scale(-1 1)"/>
|
||||
</g>
|
||||
<use xlink:href="#st-b" width="100%" height="100%" transform="rotate(72)"/>
|
||||
<use xlink:href="#st-b" width="100%" height="100%" transform="rotate(144)"/>
|
||||
<use xlink:href="#st-b" width="100%" height="100%" transform="rotate(-144)"/>
|
||||
<use xlink:href="#st-b" width="100%" height="100%" transform="rotate(-72)"/>
|
||||
</g>
|
||||
<use xlink:href="#st-c" width="100%" height="100%" x="700" transform="translate(-523.2)"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 954 B |
Reference in New Issue
Block a user