docbrown/app/views/shared/_auth_widget.html.erb
ludwiczakpawel 9b7503fde3
Update left sidebar links with new Crayons components (#15757)
* update

* hamburger fix

* Update app/views/shared/_hamburger.html.erb

Co-authored-by: Suzanne Aitchison <suzanne@forem.com>

* updates

* spec

* social media icons

* reading list counter

Co-authored-by: Suzanne Aitchison <suzanne@forem.com>
2021-12-20 08:46:30 +01:00

14 lines
698 B
Text

<div class="crayons-card crayons-card--secondary p-4">
<h2 class="crayons-subtitle-2 lh-tight mb-4">
<%= render "shared/authentication_title" %>
</h2>
<% if Settings::Community.tagline.present? %>
<p class="color-base-70 mb-4">
<%= Settings::Community.tagline %>
</p>
<% end %>
<div>
<a href="<%= sign_up_path(state: "new-user") %>" class="c-cta c-cta--branded justify-center w-100 mb-1" aria-label="<%= t("views.auth.create.aria_label") %>"><%= t("views.auth.create.text") %></a>
<a href="<%= sign_up_path %>" class="c-link c-link--block justify-center" aria-label="<%= t("views.auth.login.aria_label") %>"><%= t("views.auth.login.text") %></a>
</div>
</div>