mirror of
https://github.com/shadoll/sLogos.git
synced 2025-12-20 17:34: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:
6
public/images/flags/gh.svg
Normal file
6
public/images/flags/gh.svg
Normal file
@@ -0,0 +1,6 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" id="flag-icons-gh" viewBox="0 0 640 480">
|
||||
<path fill="#006b3f" d="M0 0h640v480H0z"/>
|
||||
<path fill="#fcd116" d="M0 0h640v320H0z"/>
|
||||
<path fill="#ce1126" d="M0 0h640v160H0z"/>
|
||||
<path fill="#000001" d="m320 160 52 160-136.1-98.9H404L268 320z"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 293 B |
Reference in New Issue
Block a user