Commit Graph

44 Commits

Author SHA1 Message Date
sHa
0eab81f0e2 Add Capitals Quiz game and update Game page
- Introduced a new Capitals Quiz game with full functionality including question generation, scoring, and session management.
- Updated Game.svelte to include the Capitals Quiz in the game list with appropriate metadata.
- Enhanced the layout of the game grid for better responsiveness.
- Removed placeholder for the Capitals Quiz in the upcoming games section.
2025-08-11 22:22:02 +03:00
sHa
f9182a6867 Add game feature: Implement Flag Quiz and Game selection page with theme support 2025-08-11 03:04:50 +03:00
sHa
61f8e30e4e Refactor App.svelte: Update Router import for consistency and clarity 2025-07-02 10:59:25 +03:00
sHa
0dcc8f0eba Refactor App.svelte: Reorganize imports for better clarity and structure 2025-07-02 10:49:37 +03:00
sHa
4ea8da4a34 Refactor App.svelte: Remove unused imports and variables for cleaner code 2025-07-02 10:42:22 +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
60d26c5388 feat: Enhance search functionality to include logo metadata 2025-06-18 13:54:23 +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
b81271c1cc feat: Implement collection support for logos and flags in the gallery 2025-06-17 16:21:31 +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
1a006e75b8 feat: Enhance filtering capabilities by adding support for variants in Filter, Header, and Home components 2025-06-12 17:34:43 +03:00
sHa
b4bd726dad feat: Add Filter, ListViewSwitcher, SearchBar, and ThemeSwitcher components
- Implemented Filter component for managing tags and brands with localStorage and URL parameter updates.
- Created ListViewSwitcher component to toggle between compact, grid, and list views.
- Developed SearchBar component with global hotkey support for quick access and URL search parameter management.
- Added ThemeSwitcher component to allow users to switch between system, light, and dark themes.
2025-06-12 16:14:17 +03:00
sHa
52a4292079 feat: add brand filtering functionality and integrate with localStorage 2025-05-29 13:00:27 +03:00
sHa
f4f4312d5b feat: restore selected tags from localStorage and update on changes 2025-05-29 11:27:12 +03:00
sHa
9d91721ab8 feat: update tag filtering UI with new dropdown and compact mode options 2025-05-29 03:03:49 +03:00
sHa
5a5202eb80 feat: add compact view mode and integrate CardTiny component for logo display 2025-05-29 01:36:07 +03:00
sHa
7acb294fa7 refactor: consolidate routing logic into App.svelte; remove router.js file 2025-05-17 01:55:21 +03:00
sHa
5d1bae8008 Refactor Home and Preview pages for improved data handling and UI components
- Updated Home.svelte to streamline app data initialization and reactivity.
- Removed unnecessary intervals and checks for app data updates.
- Enhanced data binding for logos, view modes, and themes.
- Simplified the structure of the Header and Footer components.
- Introduced CardList and CardSquare components for better logo display.
- Improved routing with a NotFound page for unmatched routes.
- Added a RouteHeader component for search functionality and theme switching.
- Enhanced styling for better user experience across components.
2025-05-16 02:24:04 +03:00
sHa
3aaa39b49e feat: clean up unused styles and remove URL manipulation from Preview component 2025-05-15 21:50:11 +03:00
sHa
9509ef0688 feat: refactor layout and styling for improved responsiveness and accessibility; add Footer component 2025-05-15 15:49:56 +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
a007d67828 display brand count in filter buttons 2025-05-04 13:51:12 +03:00
sHa
f017d480e8 Enhance Header and List components with compact mode functionality 2025-05-04 12:48:15 +03:00
sHa
2d9de12630 Add brand filter button and integrate search query functionality in Grid and List components 2025-05-04 12:13:44 +03:00
sHa
63fa0b8229 Implement search query handling in Header component and synchronize with URL parameters 2025-05-04 11:33:52 +03:00
sHa
52ff5da978 Enhance search functionality in Header component with clear button and improved input handling 2025-05-04 11:21:36 +03:00
sHa
446eeabcb3 Refactor App.svelte layout by enhancing main container styles for improved responsiveness and structure 2025-05-02 10:46:10 +03:00
sHa
2938631e85 Refactor App.svelte for improved code consistency and readability 2025-05-02 10:16:51 +03:00
sHa
43a3b37661 Enhance logo preview functionality with URL anchor support and responsive SVG handling 2025-05-01 23:29:46 +03:00
sHa
4a2230223c Enhance theme support: update CSS variables for dark and light themes, improve modal styles, and ensure SVGs use currentColor for theme compatibility. 2025-05-01 13:48:32 +03:00
sHa
3dd4e50281 Merge branch 'worked' 2025-05-01 11:58:41 +03:00
sHa
c62d453946 Refactor logo management components: remove LogoModal, add Actions and Grid components, enhance List and Preview components with improved theme handling and SVG support. 2025-05-01 11:57:23 +03:00
sHa
b044b81644 Revert "feat: Refactor logo components into Grid and List views"
This reverts commit aaf7db1471.
2025-05-01 02:35:10 +03:00
sHa
a49568a389 Add new logos and refactor header component 2025-05-01 01:51:14 +03:00
sHa
aaf7db1471 feat: Refactor logo components into Grid and List views 2025-05-01 00:27:38 +03:00
sHa
ed5cde4db5 Add logo count display to header for improved user information 2025-04-30 16:49:26 +03:00
sHa
a999f219d4 Refactor theme switcher layout and styles for improved usability and aesthetics 2025-04-30 16:17:23 +03:00
sHa
e5482c549e Enhance theme handling and color selection for logos; add utility functions for theme-based color retrieval and improve debug logging across components. 2025-04-29 18:02:07 +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
cd962ac37a feat: Implement logo action buttons for copy and download functionality 2025-04-28 17:17:48 +03:00
sHa
51ea3c3dba feat: Add tagging functionality to logos and enhance logo modal display 2025-04-28 11:51:43 +03:00
sHa
5446646519 feat: Implement theme switching and improve UI consistency across components 2025-04-28 10:52:06 +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