Commit Graph

4 Commits

Author SHA1 Message Date
sHa
fba47c142c Refactor CountryMap and CardFull components for ISO code handling
- Updated CardFull to ensure ISO codes are trimmed and uppercased before passing to CountryMap.
- Removed unused countryNames prop from CountryMap and adjusted highlighting logic to use data-iso attributes for country identification.
- Enhanced GeographyQuiz to prioritize ISO code checks and normalize values for consistency.
- Cleaned up code by removing legacy attribute handling and ensuring robust attribute management during country highlighting.
2025-08-16 00:01:01 +03:00
sHa
3ee3ffeb17 Implement code changes to enhance functionality and improve performance 2025-08-15 23:09:19 +03:00
sHa
c1bfa83963 Enhance Geography Quiz functionality and UI
- Updated Header component to recognize new quiz route for geography.
- Improved InlineSvg component to ensure proper SVG scaling and color handling.
- Refactored GeographyQuiz component to streamline game logic, including session management, question generation, and scoring.
- Added achievements tracking and settings management for user preferences.
- Enhanced UI elements for better user experience, including loading states and responsive design adjustments.
- Implemented auto-advance timer for quiz questions and improved state restoration on page reload.
2025-08-15 15:03:40 +03:00
sHa
0dfb29d6f8 Add country flag section to CardFull component
- Introduced a new section to display country information for logos tagged with 'Country'.
- Displays the ISO code and includes an inline SVG world map highlighting the specified country.
- Added styles for the new section to ensure proper layout and visual appeal.
2025-08-14 00:07:11 +03:00