feat(event): Winter Wonderland 2021 and Gift-One-Get-One Promotion

This commit is contained in:
Sabe Jones
2020-12-10 16:53:37 -06:00
parent 74ebcf919e
commit 53f19c4da3
282 changed files with 681 additions and 198 deletions

View File

@@ -1,23 +1,42 @@
// import { SEASONAL_SETS } from '../content/constants';
import moment from 'moment';
import { SEASONAL_SETS } from '../content/constants';
const SHOP_OPEN = moment().isBetween('2020-12-17T08:00-04:00', '2021-01-31T20:00-04:00');
export default {
opened: false,
opened: SHOP_OPEN,
currentSeason: 'Closed',
currentSeason: SHOP_OPEN ? 'Winter' : 'Closed',
dateRange: { start: '2020-09-22', end: '2020-10-31' },
dateRange: { start: '2020-12-17', end: '2021-01-31' },
availableSets: [
],
availableSets: SHOP_OPEN
? [
...SEASONAL_SETS.winter,
]
: [],
pinnedSets: {
},
pinnedSets: SHOP_OPEN
? {
healer: 'winter2021ArcticExplorerHealerSet',
rogue: 'winter2021HollyIvyRogueSet',
warrior: 'winter2021IceFishingWarriorSet',
wizard: 'winter2021WinterMoonMageSet',
}
: {},
availableSpells: [
],
availableSpells: moment().isBetween('2020-12-17T08:00-04:00', '2021-01-31T20:00-04:00')
? [
'snowball',
]
: [],
availableQuests: [
],
availableQuests: SHOP_OPEN
? [
'evilsanta',
'evilsanta2',
]
: [],
featuredSet: 'fall2020WraithWarriorSet',
featuredSet: 'winter2020CarolOfTheMageSet',
};