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
|
module OutfitsHelper
|
||||||
LAST_DAY_OF_ANNOUNCEMENT = Date.parse("2024-09-13")
|
LAST_DAY_OF_ANNOUNCEMENT = Date.parse("2024-09-27")
|
||||||
def show_announcement?
|
def show_announcement?
|
||||||
Date.today <= LAST_DAY_OF_ANNOUNCEMENT
|
Date.today <= LAST_DAY_OF_ANNOUNCEMENT
|
||||||
end
|
end
|
||||||
|
|
|
@ -6,25 +6,20 @@
|
||||||
|
|
||||||
- if show_announcement?
|
- if show_announcement?
|
||||||
%section.announcement
|
%section.announcement
|
||||||
= image_tag "about/announcement.png", width: 70, height: 70,
|
= image_tag "about/announcement-broom.png", width: 70, height: 70,
|
||||||
srcset: {"about/announcement@2x.png": "2x"},
|
srcset: {"about/announcement-broom@2x.png": "2x"},
|
||||||
class: "neopass-thumbnail"
|
class: "neopass-thumbnail"
|
||||||
.content
|
.content
|
||||||
%p
|
%p
|
||||||
%strong
|
%strong
|
||||||
= link_to "We've updated the item page!",
|
= link_to "State of DTI: 2024!",
|
||||||
item_path("37002-Floating-Negg-Faerie-Doll")
|
"https://blog.openneo.net/2024/09/20/state-of-dti-2024.html"
|
||||||
It should load faster, work better on phones, and be more reliable—no
|
Here's what we've been up to this year! We talk a bit about the
|
||||||
more "failed to fetch"! Please try it out and let us know if it does
|
cleanups, the partnerships, and the future!
|
||||||
anything weird!!
|
%p
|
||||||
|
The themes are stability, simplicity, and sustainability. We've been
|
||||||
%p{style: "font-style: italic; opacity: .85; font-size: 85%"}
|
online for 15 years now, and we're gonna keep doing our best to keep
|
||||||
By the way, our integration work with TNT is on pause while they focus
|
DTI here for a long time to come!
|
||||||
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.
|
|
||||||
|
|
||||||
#outfit-forms
|
#outfit-forms
|
||||||
- localized_cache :action_suffix => 'outfit_forms_intro' do
|
- localized_cache :action_suffix => 'outfit_forms_intro' do
|
||||||
|
|
Loading…
Reference in a new issue