mirror of
https://github.com/shadoll/sLogos.git
synced 2026-08-28 11:33:29 +00:00
feat: add Armenian flag SVG and update existing flag SVGs
- Added a new SVG file for the Armenian flag (am-1952–1990.svg). - Updated the existing Armenian flag SVG (am.svg) to use a new structure and color scheme. - Refactored logo loading logic in App.svelte to reset filters and state when loading a new collection. - Simplified PNG and JPG download functions in Actions.svelte to directly use collection variable directory. - Enhanced SVG source fetching in CardFull.svelte to utilize a helper function for image URL generation.
This commit is contained in:
@@ -86,7 +86,7 @@
|
||||
$: if (show && logo) {
|
||||
if (logo.format === "SVG" && !svgSource) {
|
||||
isFetchingSvgSource = true;
|
||||
fetchSvgSource(logo.path)
|
||||
fetchSvgSource(getImageUrl(logo))
|
||||
.then((source) => {
|
||||
svgSource = source;
|
||||
isFetchingSvgSource = false;
|
||||
|
||||
Reference in New Issue
Block a user