Commit Graph

4 Commits

Author SHA1 Message Date
sHa
44b73116b3 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.
2025-06-18 18:41:00 +03:00
sHa
2463661748 Refactor code structure for improved readability and maintainability 2025-06-18 17:02:46 +03:00
sHa
e1fb0f60f3 Add Emblem of Ethiopia image to emblems_variants directory 2025-06-18 14:17:10 +03:00
sHa
708334bcf4 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.
2025-06-18 12:27:27 +03:00