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.
This commit is contained in:
sHa
2025-06-18 13:18:15 +03:00
parent d7feb6db19
commit 4a32deaeb5
12 changed files with 108 additions and 1622 deletions

View File

@@ -3,6 +3,15 @@
"name": "Escudo De España",
"path": "Escudo_de_España.svg",
"format": "SVG",
"disable": false
"disable": false,
"tags": [
"Spain",
"Coat of arms",
"National emblem"
],
"meta": {
"description": "The coat of arms of Spain, representing the historical kingdoms and the Pillars of Hercules.",
"wikipedia": "https://en.wikipedia.org/wiki/Coat_of_arms_of_Spain"
}
}
]
]

File diff suppressed because it is too large Load Diff