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:
5
public/images/logos/mastercard.svg
Normal file
5
public/images/logos/mastercard.svg
Normal file
@@ -0,0 +1,5 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" height="100%" width="100%" viewBox="0 0 1000 618">
|
||||
<path fill="#EB001B" d="m308,0a309,309 0 1,0 2,0z" />
|
||||
<path fill="#F79E1B" d="m690,0a309,309 0 1,0 2,0z" />
|
||||
<path fill="#FF5F00" d="m500,66a309,309 0 0,0 0,486 309,309 0 0,0 0-486" />
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 294 B |
Reference in New Issue
Block a user