Add "State of DTI: 2024" blog post announcement
This commit is contained in:
parent
7f55456454
commit
1f53615654
4 changed files with 11 additions and 16 deletions
BIN
app/assets/images/about/announcement-broom.png
Normal file
BIN
app/assets/images/about/announcement-broom.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 13 KiB |
BIN
app/assets/images/about/announcement-broom@2x.png
Normal file
BIN
app/assets/images/about/announcement-broom@2x.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 45 KiB |
|
@ -1,5 +1,5 @@
|
|||
module OutfitsHelper
|
||||
LAST_DAY_OF_ANNOUNCEMENT = Date.parse("2024-09-13")
|
||||
LAST_DAY_OF_ANNOUNCEMENT = Date.parse("2024-09-27")
|
||||
def show_announcement?
|
||||
Date.today <= LAST_DAY_OF_ANNOUNCEMENT
|
||||
end
|
||||
|
|
|
@ -6,25 +6,20 @@
|
|||
|
||||
- if show_announcement?
|
||||
%section.announcement
|
||||
= image_tag "about/announcement.png", width: 70, height: 70,
|
||||
srcset: {"about/announcement@2x.png": "2x"},
|
||||
= image_tag "about/announcement-broom.png", width: 70, height: 70,
|
||||
srcset: {"about/announcement-broom@2x.png": "2x"},
|
||||
class: "neopass-thumbnail"
|
||||
.content
|
||||
%p
|
||||
%strong
|
||||
= link_to "We've updated the item page!",
|
||||
item_path("37002-Floating-Negg-Faerie-Doll")
|
||||
It should load faster, work better on phones, and be more reliable—no
|
||||
more "failed to fetch"! Please try it out and let us know if it does
|
||||
anything weird!!
|
||||
|
||||
%p{style: "font-style: italic; opacity: .85; font-size: 85%"}
|
||||
By the way, our integration work with TNT is on pause while they focus
|
||||
on the
|
||||
= link_to "~Void Within plot~!", "https://www.neopets.com/tvw/",
|
||||
target: "_blank", style: "color: purple; font-weight: bold"
|
||||
%br
|
||||
We'll start it back up closer to the new year.
|
||||
= link_to "State of DTI: 2024!",
|
||||
"https://blog.openneo.net/2024/09/20/state-of-dti-2024.html"
|
||||
Here's what we've been up to this year! We talk a bit about the
|
||||
cleanups, the partnerships, and the future!
|
||||
%p
|
||||
The themes are stability, simplicity, and sustainability. We've been
|
||||
online for 15 years now, and we're gonna keep doing our best to keep
|
||||
DTI here for a long time to come!
|
||||
|
||||
#outfit-forms
|
||||
- localized_cache :action_suffix => 'outfit_forms_intro' do
|
||||
|
|
Loading…
Reference in a new issue