* Redesigned home auth CTA * Nit fixes * Nit fixes * Updated test * Applied review changes * Applied review changes * Refractored login path code * Added aria-label
20 lines
708 B
Text
20 lines
708 B
Text
<div>
|
|
<div class="align-center">
|
|
<a href="<%= sign_up_path(state: "new-user") %>" class="crayons-btn w-75" aria-label="<%= t("views.auth.create.aria_label") %>" data-tracking-id="ca_feed_home_page" data-tracking-source="feed_card" data-no-instant>
|
|
<%= t("views.auth.create.text") %>
|
|
</a>
|
|
</div>
|
|
<div class="align-center mt-4">
|
|
<span>
|
|
<%= t("views.auth.already_have_an_account") %>
|
|
<a
|
|
href="<%= sign_up_path %>"
|
|
aria-label="<%= t("views.auth.login.aria_label") %>"
|
|
data-tracking-id="si_feed_home_page"
|
|
data-tracking-source="feed_card"
|
|
data-no-instant>
|
|
<%= t("views.auth.sign_in") %>
|
|
</a>
|
|
</span>
|
|
</div>
|
|
</div>
|