Change crossposted show logic and change signup CTA link (#120)

* Change base signup CTA link
This commit is contained in:
Ben Halpern 2018-03-22 13:29:21 -04:00 committed by GitHub
parent 284f78a517
commit cd8f63ba2c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 3 deletions

View file

@ -32,8 +32,7 @@ module ArticlesHelper
article.published_from_feed &&
article.published &&
article.published_at &&
article.feed_source_url.present? &&
article.published_at.next_day < article.crossposted_at
article.feed_source_url.present?
end
def get_host_without_www(url)

View file

@ -27,6 +27,6 @@
<% unless user_signed_in? %>
<div class="showpage-signin-cta cta" id="showpage-signin-cta">
<a href="/">dev.to</a> is where software developers publish and get feedback.
<span style="display:block;margin-top:15px;"><a href="/enter" id="primary-cta-link">And signing up takes six seconds</a></span>
<span style="display:block;margin-top:15px;"><a href="/enter" id="primary-cta-link">Signing up (for free!) is the first step.</a></span>
</div>
<% end %>