Skip to content

Commit

Permalink
End of year featured panel
Browse files Browse the repository at this point in the history
  • Loading branch information
mitchts committed Dec 25, 2023
1 parent 0ad2c7c commit 008cb85
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 15 deletions.
28 changes: 14 additions & 14 deletions src/data/maps/pgm.json
Original file line number Diff line number Diff line change
Expand Up @@ -160,20 +160,20 @@
"data": {
"featured": {
"enabled": true,
"title": "❄️ Candy Cane Carnival ❄️",
"description": "Get in the Christmas spirit with these festive themed maps! Check out all themed maps <a href='#searchable-collection' data-action='filter-custom' filters='christmas' highest-version='true'>here</a>.",
"title": "ResoucePile's Favorite New Maps of 2023",
"description": "This year was filled with so many awesome new maps created by the PGM community. Here are some of our personal favorites! Check out all of this year's new releases <a href='#searchable-collection' data-action='filter-custom' filters='new' highest-version='true'>here</a>.",
"maps": [
"overcastcommunity_publicmaps_candy_cane_valley",
"overcastcommunity_publicmaps_holiday_blocks",
"overcastcommunity_communitymaps_hobbitmas",
"overcastcommunity_communitymaps_winter_gem_ctw",
"overcastcommunity_publicmaps_two_trees",
"overcastcommunity_communitymaps_extraterrestrial_subzero",
"overcastcommunity_publicmaps_danagal_valley_dtm",
"overcastcommunity_publicmaps_arablizzardia",
"overcastcommunity_communitymaps_chilla",
"overcastcommunity_publicmaps_christmas_sanctuary",
"overcastcommunity_communitymaps_iti_marshmallow_moai"
"overcastcommunity_communitymaps_bed_wars_thunderbird",
"overcastcommunity_communitymaps_entropy_reactor_mk_1",
"overcastcommunity_communitymaps_mame_i_shrunk_the_pvpers",
"overcastcommunity_communitymaps_rockaway_bridge",
"overcastcommunity_communitymaps_player_blender_lifesteal",
"overcastcommunity_communitymaps_procedural_shroom_towers",
"overcastcommunity_communitymaps_sanctum_wasser",
"overcastcommunity_communitymaps_kickflip",
"overcastcommunity_communitymaps_do_not_press_the_button_for_two_minutes",
"overcastcommunity_communitymaps_apple_smash",
"overcastcommunity_communitymaps_frob"
]
},
"maps": [
Expand Down Expand Up @@ -131944,4 +131944,4 @@
}
]
}
}
}
3 changes: 2 additions & 1 deletion src/helpers/isNewMap.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@ module.exports = function(created) {
var threshold = new Date();
threshold = threshold.setMonth(threshold.getMonth() - 2); // 2 months ago

return Date.parse(created) > threshold;
// return Date.parse(created) > threshold;
return Date.parse(created) > new Date('2023-01-01');
};

0 comments on commit 008cb85

Please sign in to comment.