Remove survey link from NeoPass announcement, schedule it to vanish
Survey time is done! We'll keep this message up for a few days for people to get to see the thank-you, then it'll stay up through May 5, then vanish.
This commit is contained in:
parent
3f0936f25c
commit
5a9e874d52
2 changed files with 23 additions and 33 deletions
|
@ -1,4 +1,9 @@
|
||||||
module OutfitsHelper
|
module OutfitsHelper
|
||||||
|
LAST_DAY_OF_NEOPASS_ANNOUNCEMENT = Date.parse("2024-05-05")
|
||||||
|
def show_neopass_announcement?
|
||||||
|
Date.today <= LAST_DAY_OF_NEOPASS_ANNOUNCEMENT
|
||||||
|
end
|
||||||
|
|
||||||
def destination_tag(value)
|
def destination_tag(value)
|
||||||
hidden_field_tag 'destination', value, :id => nil
|
hidden_field_tag 'destination', value, :id => nil
|
||||||
end
|
end
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
|
|
||||||
%p#pet-not-found.alert= t 'pets.load.not_found'
|
%p#pet-not-found.alert= t 'pets.load.not_found'
|
||||||
|
|
||||||
|
- if show_neopass_announcement?
|
||||||
%section.neopass-announcement
|
%section.neopass-announcement
|
||||||
= image_tag "about/neopass-survey.png", width: 70, height: 70,
|
= image_tag "about/neopass-survey.png", width: 70, height: 70,
|
||||||
srcset: {"about/neopass-survey@2x.png": "2x"},
|
srcset: {"about/neopass-survey@2x.png": "2x"},
|
||||||
|
@ -11,29 +12,13 @@
|
||||||
.neopass-content
|
.neopass-content
|
||||||
%p
|
%p
|
||||||
%strong
|
%strong
|
||||||
💭 Can you help us and TNT decide what to build next with NeoPass?
|
💭 Thank you for sending us your NeoPass feedback!
|
||||||
|
|
||||||
%p
|
%p
|
||||||
- if user_signed_in?
|
We're working with TNT now to build new integrations, based on what you
|
||||||
- if current_user.uses_neopass?
|
told us! We're glad
|
||||||
= link_to "Login with NeoPass", about_neopass_path
|
= link_to "log in with NeoPass", about_neopass_path
|
||||||
is ready—and you're already on it, thank you! 🥰
|
is working well, and we're excited to do the next part! More info soon!
|
||||||
- else
|
|
||||||
= link_to "Login with NeoPass", about_neopass_path
|
|
||||||
is ready! You can connect via the
|
|
||||||
#{link_to "Settings page", edit_auth_user_path}.
|
|
||||||
- else
|
|
||||||
= link_to "Login with NeoPass", about_neopass_path
|
|
||||||
is ready! If you're new to Dress to Impress, try logging in right now!!
|
|
||||||
🎉
|
|
||||||
|
|
||||||
%p
|
|
||||||
Now that we've built the foundation, TNT are looking for our help deciding what integration to build
|
|
||||||
next.
|
|
||||||
= link_to "Would you fill out this survey for us, please?",
|
|
||||||
"https://docs.google.com/forms/d/e/1FAIpQLSdyi7bZB3-gyztdOVSmikRrfts6KM5mK2r37D0SBla3JO3GbQ/viewform"
|
|
||||||
We've got some ideas, and we're looking for more! Even if you don't use
|
|
||||||
NeoPass yet, your input would be <em>super</em> useful.
|
|
||||||
|
|
||||||
%p
|
%p
|
||||||
Thanks again to everyone for helping us out! We're grateful, as always 💖
|
Thanks again to everyone for helping us out! We're grateful, as always 💖
|
||||||
|
|
Loading…
Reference in a new issue