docbrown/app/views/layouts/_signup_modal.html.erb
yheuhtozr a6f08ae215
views/stories, views/layouts and other homepage i18n (#15083)
* views/stories and home related i18n

* PR key names fixes

* remove ja.yml

* Update en.yml

* Update fr.yml

* Update articles_search_spec.rb

* Update _meta.html.erb

* Update index.html.erb

* Update _meta.html.erb

* Update articles_search_spec.rb

text in HTML should not contain raw brackets

* Update articles_search_spec.rb

* Update _signup_modal.html.erb

* Add back missing Search text

Co-authored-by: Fernando Valverde <fernando@visualcosita.com>
2021-11-10 07:38:43 -06:00

25 lines
1.2 KiB
Text

<div id="global-signup-modal" class="authentication-modal hidden">
<div class="authentication-modal__container">
<figure class="authentication-modal__image-container">
<img class="authentication-modal__image" src="<%= optimized_image_url(Settings::General.logo_png, width: 190) %>"
alt="<%= community_name %>" loading="lazy" />
</figure>
<div class="authentication-modal__content">
<p class="authentication-modal__description">
<% if Settings::Community.tagline.present? %>
<%= Settings::Community.tagline %>
<% end %>
</p>
</div>
<div class="authentication-modal__actions">
<a href="<%= sign_up_path %>" class="crayons-btn" aria-label="<%= t("views.main.modal.login.aria_label") %>" data-no-instant>
<%= t("views.main.modal.login.text") %>
</a>
<a href="<%= sign_up_path(state: "new-user") %>" class="crayons-btn crayons-btn--ghost-brand" aria-label="<%= t("views.main.modal.create_account.aria_label") %>" data-no-instant>
<%= t("views.main.modal.create_account.text") %>
</a>
</div>
</div>
</div>
<%= javascript_packs_with_chunks_tag "signupModalShortcuts", defer: true %>