mirror of
https://github.com/shadoll/sLogos.git
synced 2025-12-20 03:26:59 +00:00
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:
@@ -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
Reference in New Issue
Block a user