Change crossposted show logic and change signup CTA link (#120)
* Change base signup CTA link
This commit is contained in:
parent
284f78a517
commit
cd8f63ba2c
2 changed files with 2 additions and 3 deletions
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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 %>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue