mirror of
https://github.com/shadoll/sLogos.git
synced 2025-12-20 09:31:59 +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:
12
public/images/flags/cg.svg
Normal file
12
public/images/flags/cg.svg
Normal file
@@ -0,0 +1,12 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" id="flag-icons-cg" viewBox="0 0 640 480">
|
||||
<defs>
|
||||
<clipPath id="cg-a">
|
||||
<path fill-opacity=".7" d="M-79.5 32h640v480h-640z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g fill-rule="evenodd" stroke-width="1pt" clip-path="url(#cg-a)" transform="translate(79.5 -32)">
|
||||
<path fill="#ff0" d="M-119.5 32h720v480h-720z"/>
|
||||
<path fill="#00ca00" d="M-119.5 32v480l480-480z"/>
|
||||
<path fill="red" d="M120.5 512h480V32z"/>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 470 B |
Reference in New Issue
Block a user