feat: Implement collection support for logos and flags in the gallery

This commit is contained in:
sha
2025-06-17 16:21:31 +03:00
parent ed7c0e1b96
commit b81271c1cc
5 changed files with 107 additions and 25 deletions
+20
View File
@@ -0,0 +1,20 @@
// This file lists all supported collections for the gallery
export const collections = [
{
name: 'logos',
label: 'Logos',
baseDir: 'logos',
genDir: 'logos_gen',
dataFile: 'data/logos.json'
},
{
name: 'flags',
label: 'Flags',
baseDir: 'flags',
genDir: 'flags_gen',
dataFile: 'data/flags.json'
}
];
if (typeof module !== 'undefined' && module.exports) {
module.exports = { collections };
}