mirror of
https://github.com/shadoll/sLogos.git
synced 2025-12-20 13:32:01 +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:
13
public/images/flags/cl.svg
Normal file
13
public/images/flags/cl.svg
Normal file
@@ -0,0 +1,13 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" id="flag-icons-cl" viewBox="0 0 640 480">
|
||||
<defs>
|
||||
<clipPath id="cl-a">
|
||||
<path fill-opacity=".7" d="M0 0h682.7v512H0z"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<g fill-rule="evenodd" clip-path="url(#cl-a)" transform="scale(.9375)">
|
||||
<path fill="#fff" d="M256 0h512v256H256z"/>
|
||||
<path fill="#0039a6" d="M0 0h256v256H0z"/>
|
||||
<path fill="#fff" d="M167.8 191.7 128.2 162l-39.5 30 14.7-48.8L64 113.1l48.7-.5L127.8 64l15.5 48.5 48.7.1-39.2 30.4z"/>
|
||||
<path fill="#d52b1e" d="M0 256h768v256H0z"/>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 552 B |
Reference in New Issue
Block a user