Commit Graph
9 Commits
Author SHA1 Message Date
sha 5baa4bfab4 Add titles to collections and update image URL resolution in components
- Added 'title' property to collections for 'Logos', 'Flags', and 'Emblems'.
- Updated image URL generation in CardMiddle, CardSmall, and CardTiny components to dynamically resolve the current collection based on window.appData.
2025-06-18 14:55:13 +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 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 ec55af55d9 feat: Implement ColorSwitcher component and integrate it into logo cards for enhanced color selection 2025-06-12 03:27:57 +03:00
sha 585589a2d4 feat: add addBrand prop to CardSmall, CardMiddle, List, and Home components for brand filtering 2025-05-29 17:40:35 +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