From c609db09c1263fe1b5f5c09387454bf687ba87ee Mon Sep 17 00:00:00 2001 From: Sabe Jones Date: Wed, 18 Mar 2020 11:15:10 -0500 Subject: [PATCH] fix(content): feature shinies --- .../script/content/shop-featuredItems.js | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/website/common/script/content/shop-featuredItems.js b/website/common/script/content/shop-featuredItems.js index 564365cea6..0f6fa8fd8f 100644 --- a/website/common/script/content/shop-featuredItems.js +++ b/website/common/script/content/shop-featuredItems.js @@ -5,6 +5,26 @@ import moment from 'moment'; // path: 'premiumHatchingPotions.Rainbow', const featuredItems = { market () { + if (moment().isBefore('2020-05-02')) { + return [ + { + type: 'armoire', + path: 'armoire', + }, + { + type: 'premiumHatchingPotion', + path: 'premiumHatchingPotions.BirchBark', + }, + { + type: 'premiumHatchingPotion', + path: 'premiumHatchingPotions.Shimmer', + }, + { + type: 'premiumHatchingPotion', + path: 'premiumHatchingPotions.Celestial', + }, + ]; + } return [ { type: 'armoire',