Commit Graph
101 Commits
Author SHA1 Message Date
sha 348617688c Refactor FlagQuiz component: standardize string quotes, improve session state management, and integrate ActionButtons component for better UI control 2025-08-11 21:47:11 +03:00
sha 32846dfc6f Add WelcomeStats component and integrate session management in FlagQuiz
- Created a new WelcomeStats component to display user statistics and session results.
- Integrated session management in FlagQuiz, allowing users to track their performance across multiple sessions.
- Updated game state handling to include session completion and results display.
- Enhanced user experience with improved navigation and session reset functionality.
2025-08-11 21:09:41 +03:00
sha 889514ad45 Refactor Footer and Header components for improved layout; enhance FlagQuiz with question re-rendering and state management 2025-08-11 19:34:33 +03:00
sha bf615ff94f Refactor FlagQuiz to integrate QuizSettings component and implement auto-advance feature with timer 2025-08-11 19:05:59 +03:00
sha 317d953a78 Enhance achievements: Add continent knowledge achievements and track progress for correct answers in FlagQuiz 2025-08-11 17:00:22 +03:00
sha c7bc987d41 Refactor achievement definitions: Standardize formatting and add new achievements for improved clarity and functionality 2025-08-11 16:27:43 +03:00
sha 064401dc58 Update achievement icon: Replace 'crown-minimalistic.svg' with 'crown-star.svg' for improved design 2025-08-11 16:25:42 +03:00
sha 21e400e989 Enhance accessibility: Add ARIA roles and keyboard navigation to reset confirmation dialog in FlagQuiz page; remove unused CSS class from AchievementButton component 2025-08-11 16:15:58 +03:00
sha 292c7e88b6 Refactor components to use InlineSvg for icons, enhance Header layout with grid, and implement achievement system in FlagQuiz page
- Replaced inline SVGs with InlineSvg component in Filter, Header, and ThemeSwitcher components for better maintainability.
- Improved Header layout using CSS Grid for better alignment and spacing of elements.
- Added achievement tracking and display functionality in FlagQuiz, including reset confirmation dialog and achievement count updates.
- Enhanced user feedback with animated result icons in FlagQuiz for correct and wrong answers.
- Introduced country info tooltips in FlagQuiz for additional context on answers.
2025-08-11 16:14:18 +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 fff1e0b395 Refactor SVG handling for responsive scaling and improve styling attributes 2025-06-20 00:02:36 +03:00
sha 9d8205f321 Add new SVG logos for mini, Rolls Royce flat, and Rolls Royce 2025-06-19 00:50:06 +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 83dd8245a8 fix: Update collection label retrieval to support titles and improve SVG error handling 2025-06-18 16:49:05 +03:00
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 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 b81271c1cc feat: Implement collection support for logos and flags in the gallery 2025-06-17 16:21:31 +03:00
sha b0014295c8 refactor: Remove padding from logo image container in CardSmall component 2025-06-16 00:56:34 +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 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 7968d399f2 feat: Add script to generate PWA cache file list and improve SVG circle rendering 2025-06-12 01:59:13 +03:00
sha 13e148dc8a refactor: improve layout and styling of preview components for better responsiveness 2025-05-30 02:35:29 +03:00
sha 754f87eaca feat: update SVG handling to support active color sets and improve URL copying 2025-05-29 23:27:18 +03:00
sha 9f315ac247 feat: refactor Header and Footer styles for improved layout and consistency 2025-05-29 21:09:34 +03:00
sha 23a45aaf71 feat: update border-radius of selected filter buttons for improved styling 2025-05-29 20:37:42 +03:00
sha 670c265db1 feat: add additional color variable and update selected filter button styles for improved UI 2025-05-29 20:36:46 +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 f1731e55dd feat: update Header component to use allLogos for accurate logo count display 2025-05-29 17:27:10 +03:00
sha ac263276af feat: reorganize filter display and improve layout for selected tags and brands 2025-05-29 16:23:25 +03:00
sha 2010eb6704 feat: refactor header layout for improved responsiveness on mobile 2025-05-29 15:48:16 +03:00
sha 341571d920 feat: remove mobile logo count display and clean up responsive styles in header 2025-05-29 14:55:08 +03:00
sha 07931e9767 feat: add mobile logo count display and responsive styles for header 2025-05-29 14:19:34 +03:00
sha 2212c6db17 feat: enhance layout styles for better responsiveness and visual consistency 2025-05-29 13:21:22 +03:00
sha 52a4292079 feat: add brand filtering functionality and integrate with localStorage 2025-05-29 13:00:27 +03:00
sha 436d6847b2 feat: update tag labels for consistency and add clear all filters functionality 2025-05-29 11:45:14 +03:00
sha e1165b72d8 refactor: improve tag filtering logic and clean up unused styles 2025-05-29 11:04:20 +03:00
sha aac4889a25 refactor: rename 'Tags' to 'Categories' and update placeholder text in search input 2025-05-29 04:21:47 +03:00
sha 13077a9925 style: update header layout and adjust tag background color for consistency 2025-05-29 04:18:22 +03:00
sha 9c63c940cb feat: enhance tag filtering with search functionality and update compact mode toggle 2025-05-29 04:05:33 +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 016239c30f style: remove comment on border-radius in Header component 2025-05-29 02:03:14 +03:00
sha fe67375590 feat: refactor theme and view mode switchers to use button group styles 2025-05-29 01:53:37 +03:00