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.
This commit is contained in:
sHa
2025-04-28 22:43:39 +03:00
parent cd962ac37a
commit c30f8921c2
11 changed files with 876 additions and 174 deletions

View File

@@ -1,14 +1,15 @@
services:
logo-gallery-dev:
slogos-dev:
build:
context: .
dockerfile: Dockerfile.dev
container_name: logo-gallery-dev
container_name: slogos-dev
ports:
- "5006:5000"
- "35729:35729"
volumes:
- ./:/app
- /app/node_modules
working_dir: /app
environment:
- NODE_ENV=development