Skip to content

Instantly share code, notes, and snippets.

@borisrorsvort
Created October 19, 2022 16:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save borisrorsvort/e1a8f79ddb7164479bae3ff8168e0f7e to your computer and use it in GitHub Desktop.
Save borisrorsvort/e1a8f79ddb7164479bae3ff8168e0f7e to your computer and use it in GitHub Desktop.
<mj-section background-color="#fff">
<mj-column>
<mj-text css-class="subtitle">
<%= @subtitle %>
</mj-text>
</mj-column>
</mj-section>
<mj-section background-color="#fff">
<mj-column>
<mj-text>
<p><%= t('.content_html', space_name: @space.name, profile_info_url: link_to(t('.profile_link_text'), profile_info_url(city_slug: @space.slug), style: "text-decoration: none; color: #{@space.primary_color || City.colors[:primary]}; font-weight: bold;")) %></p>
</mj-text>
</mj-column>
</mj-section>
<mj-section background-color="#fff">
<mj-column>
<mj-button
background-color="<%= @space_color %>"
border-radius="24px"
css-class="cta"
align="left"
href="<%= @space.base_url %>"
>
<%= t('.cta_text') %>
</mj-button>
</mj-column>
</mj-section>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment