diff --git a/app/models/user.rb b/app/models/user.rb index a7be88d9..220940f6 100644 --- a/app/models/user.rb +++ b/app/models/user.rb @@ -4,7 +4,7 @@ class User < ApplicationRecord PreviewTopContributorsCount = 3 belongs_to :auth_user, foreign_key: :remote_id, inverse_of: :user - delegate :disconnect_neopass, to: :auth_user + delegate :disconnect_neopass, :uses_neopass?, to: :auth_user has_many :closet_hangers has_many :closet_lists diff --git a/app/views/outfits/new.html.haml b/app/views/outfits/new.html.haml index a7a9a4d2..89ae75ea 100644 --- a/app/views/outfits/new.html.haml +++ b/app/views/outfits/new.html.haml @@ -11,20 +11,26 @@ .neopass-content %p %strong - Big news: we're adding NeoPass and other integrations to DTI over the - coming months! + πŸŽ‰ Big news: Login with NeoPass is ready! + - if user_signed_in? + - if current_user.uses_neopass? + And hey, you're already on it, thank you for giving it a try!! πŸ₯° + - else + You can connect your existing account via the + #{link_to "Settings page", edit_auth_user_path}. + - else + If you're new to Dress to Impress, try logging in right now!! πŸŽ‰ + %p - We're hoping it will help new users, and can be part of a more sustainable future for the site. + We're hoping NeoPass will help new users, and can be part of a more sustainable future for the site. %br = link_to "Here's what's coming and why.", about_neopass_path %p - %strong ➑️ Seeking beta testers, please! - We need help making sure NeoPass login actually works reliably! + Big thanks to our beta testers! More to come soon! Thank you all for + your constant love and support! πŸ’– %br - = link_to "Check out the secret testing info", - "https://forms.gle/hEkw5bXY1W4YhUZb7" - and let us know how it goes! Thank you!! πŸ’– + %em β€”Matchu #outfit-forms - localized_cache :action_suffix => 'outfit_forms_intro' do