Commit Graph

10 Commits

Author SHA1 Message Date
sHa
0650c40199 feat: Add PWA support with service worker and caching
- Implemented service worker registration in main.js
- Added icons for PWA in manifest.json
- Created a basic service worker (sw.js) for caching static assets
- Generated a list of files to cache using a Node.js script (generate-pwa-cache-list.js)
- Added icon images (icon-192.png and icon-512.png) for PWA
- Defined PWA manifest with app details and icon references
2025-06-11 22:36:48 +03:00
sHa
e33d296aab feat: add script and workflow step for generating SVG variants from logos 2025-05-29 23:08:18 +03:00
sHa
d30e2f9e0b Implement routing and improve app data management
- Integrated svelte-spa-router for navigation between Home and Preview pages.
- Refactored App.svelte to manage global app data and handle search queries, compact mode, and view mode changes.
- Updated Grid and List components to navigate to the Preview page instead of using modals.
- Created Home.svelte to serve as the main page, utilizing global app data for rendering.
- Enhanced Preview.svelte to fetch logos and display the selected logo based on URL parameters.
- Improved data handling and reactivity across components, ensuring UI updates reflect changes in global state.
- Added logging for better debugging and tracking of state changes.
2025-05-15 10:32:15 +03:00
sHa
bd4c8dca76 feat: add color conversion and target/sets configuration for logos
- Updated Makefile to include a new target for converting logo colors format.
- Added a new script `convertColorsFormat.js` to convert colors from array to object format in `logos.json`.
- Modified `logos.json` structure to use an object for colors and added targets and sets for SVG logos.
- Updated `scanLogos.js` to set default colorConfig, targets, and sets for SVG logos.
- Enhanced Svelte components (`Grid.svelte`, `List.svelte`, `Preview.svelte`, `InlineSvg.svelte`) to support new targets, sets, and colors structure.
- Updated color theme utility functions to handle the new colors object format.
- Removed deprecated `mono_white.svg` logo file.
2025-05-12 20:52:07 +03:00
sHa
fbe239c1fe Added favicon 2025-05-12 16:54:41 +03:00
sHa
c30f8921c2 feat: Add image generation for SVG logos and improve clipboard functionality
- Added @resvg/resvg-js dependency for SVG to PNG/JPG conversion.
- Implemented pregeneration of PNG and JPG images from SVG files in the scanLogos script.
- Enhanced copy URL functionality in App.svelte to support modern clipboard API with fallbacks.
- Removed unnecessary onCopy prop from LogoActions component and handled copy actions locally.
- Introduced notification system for copy actions with success/error feedback.
- Updated styles for action buttons and notifications for better user experience.
- Cleaned up unused code and improved overall structure for clarity.
2025-04-28 22:43:39 +03:00
sHa
d04075154e fix: Refactor Makefile and update Svelte dependency version 2025-04-28 02:29:29 +03:00
sHa
eb3e0421f8 fix: Simplify Pages artifact preparation and update Svelte dependency version 2025-04-28 00:22:32 +03:00
sHa
07d7d7e39b refactor: Update Dockerfile and Docker Compose configuration for improved build process and add Svelte 5.28.2 dependency 2025-04-27 22:50:39 +03:00
sHa
9c3024c61d feat: Initialize Svelte application with logo gallery functionality
- Add Rollup configuration for building and serving the application.
- Implement logo scanning script to generate logos.json from logo files.
- Create main App component to manage logo display and search functionality.
- Develop LogoGrid and LogoList components for different viewing modes.
- Add LogoModal component for logo preview with details.
- Implement URL copying and logo downloading features.
- Style components for improved user experience and responsiveness.
2025-04-27 16:55:23 +03:00