chore(content): add items to featured

This commit is contained in:
SabreCat
2022-08-15 15:28:47 -05:00
parent f0b5637e9e
commit b82239811c

View File

@@ -5,7 +5,7 @@ import { EVENTS } from './constants';
// path: 'premiumHatchingPotions.Rainbow', // path: 'premiumHatchingPotions.Rainbow',
const featuredItems = { const featuredItems = {
market () { market () {
if (moment().isBefore(EVENTS.summer2022.end)) { if (moment().isBetween(EVENTS.potions202208.start, EVENTS.potions202208.end)) {
return [ return [
{ {
type: 'armoire', type: 'armoire',
@@ -13,15 +13,15 @@ const featuredItems = {
}, },
{ {
type: 'premiumHatchingPotion', type: 'premiumHatchingPotion',
path: 'premiumHatchingPotions.Sunset', path: 'premiumHatchingPotions.Moonglow',
}, },
{ {
type: 'premiumHatchingPotion', type: 'premiumHatchingPotion',
path: 'premiumHatchingPotions.Watery', path: 'premiumHatchingPotions.Porcelain',
}, },
{ {
type: 'premiumHatchingPotion', type: 'food',
path: 'premiumHatchingPotions.Aquatic', path: 'food.Milk',
}, },
]; ];
} }
@@ -32,15 +32,15 @@ const featuredItems = {
}, },
{ {
type: 'food', type: 'food',
path: 'food.Honey', path: 'food.RottenMeat',
}, },
{ {
type: 'hatchingPotions', type: 'hatchingPotions',
path: 'hatchingPotions.CottonCandyPink', path: 'hatchingPotions.Zombie',
}, },
{ {
type: 'eggs', type: 'eggs',
path: 'eggs.BearCub', path: 'eggs.Dragon',
}, },
]; ];
}, },