From 3ac89e830ee289afece9a7a817cb9710afdd0bcc Mon Sep 17 00:00:00 2001 From: Emi Matchu Date: Wed, 6 Nov 2024 11:55:05 -0800 Subject: [PATCH] Announcement about modeling being broken --- app/helpers/outfits_helper.rb | 2 +- app/views/outfits/new.html.haml | 16 ++++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/app/helpers/outfits_helper.rb b/app/helpers/outfits_helper.rb index f5475baf..36f1a52f 100644 --- a/app/helpers/outfits_helper.rb +++ b/app/helpers/outfits_helper.rb @@ -1,5 +1,5 @@ module OutfitsHelper - LAST_DAY_OF_ANNOUNCEMENT = Date.parse("2024-10-21") + LAST_DAY_OF_ANNOUNCEMENT = Date.parse("2024-11-08") def show_announcement? Date.today <= LAST_DAY_OF_ANNOUNCEMENT end diff --git a/app/views/outfits/new.html.haml b/app/views/outfits/new.html.haml index 252920bb..cb12920a 100644 --- a/app/views/outfits/new.html.haml +++ b/app/views/outfits/new.html.haml @@ -6,18 +6,18 @@ - if show_announcement? %section.announcement - = image_tag "about/announcement.png", width: 70, height: 70, - srcset: {"about/announcement@2x.png": "2x"} + = image_tag "/images/error-grundo.png", width: 70, height: 70, + srcset: {"/images/error-grundo.png": "2x"} .content %p %strong - 🎃 - = link_to "New pet styles are out today!", alt_styles_path - If you've seen one we don't have yet, please model it by entering the - pet's name in the box below. Thank you!! + Modeling is down, and some items are broken! + For the first time in One Million Years, we made some changes to our + modeling code—and it looks like we goofed it, and some items are losing + data! %p - By the way, we had a bug where modeling new styles wasn't working for a - little while. Fixed now! 🤞 + We've turned off modeling while we work to restore a backup, and then + we'll fix the mistake and turn it back on. Sorry about this! #outfit-forms #pet-preview