Commit Graph
14 Commits
Author SHA1 Message Date
sha fff1e0b395 Refactor SVG handling for responsive scaling and improve styling attributes 2025-06-20 00:02:36 +03:00
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 e1fb0f60f3 Add Emblem of Ethiopia image to emblems_variants directory 2025-06-18 14:17:10 +03:00
sha 4a32deaeb5 Refactor PWA caching and image generation scripts
- Updated `generate-pwa-cache-list.js` to include images directory and remove duplicate file entries.
- Refactored `generate-svg-variants.js` to utilize collections from a centralized source and renamed generation directory variable.
- Modified `update-data.js` to align with new directory structure for images and variants, ensuring proper paths are used.
- Adjusted `collections.js` to standardize directory naming for variants.
- Enhanced Svelte components (`Actions.svelte`, `CardFull.svelte`, `CardMiddle.svelte`, `CardSmall.svelte`, `CardTiny.svelte`) to utilize context for collection management, simplifying image URL generation.
2025-06-18 13:18:15 +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
sha d87e79f44d chore: update code structure and remove redundant changes 2025-06-18 00:30:47 +03:00
sha ca97046961 feat: Enhance collection management with dropdown in Header and update related components 2025-06-17 17:50:47 +03:00
sha d88c5b802d Enhance logo search and display functionality
- Updated logo filtering to include title in search criteria across multiple components.
- Modified CardFull, CardMiddle, CardSmall, and CardTiny components to display title or name as appropriate.
- Added support for displaying logo variants in CardFull component.
- Improved logo retrieval logic in Preview page to account for title matching.
2025-06-12 18:23:42 +03:00
sha d02e11fd7d refactor: Simplify ColorSwitcher integration and clean up related styles 2025-06-12 10:21:23 +03:00
sha 224a2c7e27 refactor: Clean up unused styles and improve color switcher functionality 2025-06-12 03:41:59 +03:00
sha ec55af55d9 feat: Implement ColorSwitcher component and integrate it into logo cards for enhanced color selection 2025-06-12 03:27:57 +03:00
sha 13e148dc8a refactor: improve layout and styling of preview components for better responsiveness 2025-05-30 02:35:29 +03:00
sha 6b4bada5f4 feat: enhance SVG handling by updating color targets and adding SVG source retrieval; refactor Actions and InlineSvg components for improved functionality 2025-05-16 12:25:33 +03:00
sha cd753de3db feat: add CardFull, CardMiddle, CardSmall, Grid, and List components for logo display; refactor Preview page to use CardFull 2025-05-16 02:50:03 +03:00