mirror of
https://github.com/shadoll/sLogos.git
synced 2026-08-28 11:33:29 +00:00
- 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.
31 lines
802 B
JavaScript
31 lines
802 B
JavaScript
// This file lists all supported collections for the gallery
|
|
export const collections = [
|
|
{
|
|
name: 'logos',
|
|
label: 'Logos',
|
|
title: 'Logo Gallery',
|
|
baseDir: 'images/logos',
|
|
varDir: 'images/logos_variants',
|
|
dataFile: 'data/logos.json'
|
|
},
|
|
{
|
|
name: 'flags',
|
|
label: 'Flags',
|
|
title: 'Flag Gallery',
|
|
baseDir: 'images/flags',
|
|
varDir: 'images/flags_variants',
|
|
dataFile: 'data/flags.json'
|
|
},
|
|
{
|
|
name: 'emblems',
|
|
label: 'Emblems',
|
|
title: 'Emblem Gallery',
|
|
baseDir: 'images/emblems',
|
|
varDir: 'images/emblems_variants',
|
|
dataFile: 'data/emblems.json'
|
|
}
|
|
];
|
|
if (typeof module !== 'undefined' && module.exports) {
|
|
module.exports = { collections };
|
|
}
|