Commit Graph

144 Commits

Author SHA1 Message Date
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
39cbaa32e1 Update rollup-plugin-terser to version 7.0.2 and add new logos for Ntfy and Vite 2025-08-11 00:20:06 +03:00
sHa
4ea8da4a34 Refactor App.svelte: Remove unused imports and variables for cleaner code 2025-07-02 10:42:22 +03:00
sHa
ef4f1c31c6 Refactor Makefile for improved container runtime detection and simplify commands 2025-07-02 10:20:57 +03:00
sHa
745cfb602c Add new SVG logo for Vite 2025-07-01 19:11:10 +03:00
sHa
fff1e0b395 Refactor SVG handling for responsive scaling and improve styling attributes 2025-06-20 00:02:36 +03:00
sHa
cb373ffef2 Refactor SVG gradients and IDs for consistency and clarity
- Updated gradient IDs in google_chrome_icon.svg to be more descriptive.
- Refactored gradient IDs in grafana.svg for better identification.
- Changed gradient IDs in homebridge.svg to follow a consistent naming convention.
- Modified gradient IDs in jellyfin.svg for clarity and consistency.
- Updated gradient IDs in shadoll.svg to avoid conflicts.
- Renamed ID in tesla.svg for better identification.
- Enhanced svg-cleanup.js to fix single-letter ID conflicts by prefixing them with the filename, improving SVG file integrity.
2025-06-19 17:21:55 +03:00
sHa
374ece5142 Refactor SVG processing scripts and add new functionality
- Updated `svg-cleanup.js` to improve SVG file processing and validation.
- Refactored `update-data.js` to streamline the data update process and integrate new scripts for generating image variants and syncing data files.
- Introduced `generate-variants.js` to handle the conversion of SVG files to PNG and JPG formats.
- Created `sync-data.js` to synchronize logo data with the filesystem, ensuring accurate representation of available images.
- Enhanced error handling and logging throughout the scripts for better debugging and user feedback.
- Added support for processing all collections or a specific collection based on command-line arguments or environment variables.
2025-06-19 17:09:45 +03:00
sHa
1db0f1cbe9 Clean up SVG files and update logos
- Removed unnecessary XML and DOCTYPE declarations from SVG files.
- Eliminated comments within SVG files for cleaner output.
- Trimmed leading and trailing whitespace from SVG content.
- Ensured all SVG files end with a newline character.
- Updated multiple logo SVG files including WireGuard, Wise, WOG, Yahoo, and others to conform to the new standards.
- Enhanced the update-data.js script to automate the cleanup process for SVG files.
2025-06-19 16:54:55 +03:00
sHa
e86600b610 Update SVG logos to use percentage dimensions and add viewBox where missing
- Modified SVG files for logos (webtorrent, wifi, wise-icon, zoom-icon, zoom) to set width and height to 100% for better responsiveness.
- Added viewBox attribute to SVGs that lacked it, using existing width and height values when available.
- Implemented a validation and fixing function in update-data.js to automate the process of ensuring SVGs have the correct attributes.
2025-06-19 16:46:12 +03:00
sHa
8c8078dcd9 Add US states flags 2025-06-19 16:13:14 +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
e4e571fd17 Add SVG logos for Subaru and Volvo
- Added Subaru logo SVG file to the project.
- Added Volvo logo SVG file to the project.
2025-06-18 22:07:01 +03:00
sHa
26d6a65499 Add Lesser Coat of Arms of Ukraine image and Belarus flag (1918, 1991–1995) SVG 2025-06-18 19:45:35 +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
2463661748 Refactor code structure for improved readability and maintainability 2025-06-18 17:02:46 +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
77f18007a6 fix: Correct variable name for image variable directory in update-data.js 2025-06-18 13:55:53 +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
d7feb6db19 Refactor logo path handling in update-data.js
- Updated logic to create a Set of logo filenames instead of paths.
- Stripped directory path from logo.path to ensure only filenames are compared.
- Adjusted filtering for new logos to check against filenames directly.
- Ensured consistency in handling logo paths across the scanLogos and main functions.
- Minor formatting adjustments in logos.json to ensure proper file structure.
2025-06-18 12:36:55 +03:00
sHa
6e8168daac Refactor code structure for improved readability and maintainability 2025-06-18 12:31:26 +03:00
sHa
06ecfbf377 feat: Update asset paths and add emblems collection for PWA caching 2025-06-18 12:27:34 +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
a7762803b8 Implement new feature for user authentication and improve error handling 2025-06-18 12:26:19 +03:00
sHa
a93922097a feat: Update GitHub Pages deployment to include additional PWA assets 2025-06-18 10:28:40 +03:00
sHa
5bf292f4c6 Refactor code structure for improved readability and maintainability 2025-06-18 04:22:55 +03:00
sHa
acfe315e20 Add UA cities flags 2025-06-18 04:15:32 +03:00
sHa
d87e79f44d chore: update code structure and remove redundant changes 2025-06-18 00:30:47 +03:00
sHa
8b2adef1af Add favicon and logo generation scripts
- Implemented `generate-favicons.js` to create various favicon formats from a single SVG file.
- Created `update-data.js` to scan logo directories, generate PNG and JPG images from SVGs, and update the logos JSON data.
- Added a `.gitignore` file in the `flags_gen` directory to exclude all files except the `.gitignore` itself.
- Updated `logos.json` to ensure proper formatting.
2025-06-17 16:15:15 +03:00
sHa
cff94aacb8 Add SVG flags directory with all countries flags 2025-06-17 15:49:30 +03:00
sHa
56a093d301 feat: Add FastAPI logo SVG and update variants in logos.json 2025-06-16 01:18:44 +03:00
sHa
211775b1cb feat: Add variants to logos and update OpenVPN SVG structure 2025-06-12 21:11:22 +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
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
dc4abca75b feat: Add Laravel logo with detailed attributes and SVG format 2025-06-12 10:28:50 +03:00
sHa
d02e11fd7d refactor: Simplify ColorSwitcher integration and clean up related styles 2025-06-12 10:21:23 +03:00
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
292ab8fc19 feat: Enhance Kubernetes logo with color sets and SVG structure
- Added color tags and sets for the Kubernetes logo in logos.json.
- Updated the SVG file for Kubernetes to include separate paths for background, outline, and logo, allowing for dynamic color changes.
2025-06-11 00:20:59 +03:00
sHa
222ab46fc3 Add Matter and Mattermost logos, update styles, and enhance Thread logo
- Added Matter and Mattermost logos in SVG format with appropriate attributes and color sets.
- Updated global CSS to include new color variables for default fills.
- Modified existing Mattermost logo to include additional color options.
- Replaced the Thread logo with a new SVG version.
2025-06-10 18:00:35 +03:00
sHa
9ae3d5b7b0 feat: add InfluxDB logos and metadata in SVG format to logos.json 2025-06-01 14:00:42 +03:00
sHa
c84f1e9791 fix: update radial gradient IDs in Affinity SVG logos for consistency 2025-06-01 12:32:52 +03:00
sHa
79b03d396b feat: add Affinity Designer, Photo, and Publisher logos with SVG files and metadata; add Microsoft Azure logo with SVG file 2025-06-01 12:30:55 +03:00
sHa
c4b753b855 feat: add new logos for Eufy, Homarr, and Reolink with SVG files and metadata 2025-06-01 11:42:37 +03:00
sHa
99fbbe551a feat: add 1Password logo and metadata to logos.json 2025-05-30 02:22:05 +03:00
sHa
9cb10afe64 Add new logos and update existing logo data
- Added Apache, Bitwarden, Bluesky, Enpass, Messenger, MongoDB, MQTT, and Neo4j logos in SVG format.
- Updated logo data in logos.json to include new entries and additional tags for existing logos.
- Enhanced color definitions for some logos and added new color sets.
- Improved brand representation for Meta and other logos with updated tags.
2025-05-30 02:20:14 +03:00
sHa
0cc3f570b9 feat: update Apple SVG with new color sets and remove legacy rainbow SVG 2025-05-30 01:16:33 +03:00
sHa
27ed1f9809 Add new SVG logos for Android Auto, Homebridge, OpenVPN, Slack, Unifi, and WireGuard
- Introduced android-auto.svg with a detailed design representing the Android Auto branding.
- Added homebridge.svg featuring a gradient background and a unique home automation icon.
- Included openvpn.svg showcasing the OpenVPN logo with distinct color elements.
- Implemented slack.svg that captures the Slack logo with its characteristic colors and shapes.
- Added unifi.svg, representing the Unifi branding with a circular design and logo details.
- Introduced wireguard.svg featuring the WireGuard logo with a creative circular design and eye element.
2025-05-30 00:46:54 +03:00
sHa
0b5fc5894e feat: add "Selfhosted" tag to various brands and standardize tag casing 2025-05-29 23:44:48 +03:00