Sync google sheets icon name

we have google_sheets as backend_name in the DB. this makes it easier
to dynamically load the icon
This commit is contained in:
bumi 2020-04-26 11:52:01 +02:00
parent d67961d98b
commit d733468abe
3 changed files with 2 additions and 2 deletions

View File

Before

Width:  |  Height:  |  Size: 60 KiB

After

Width:  |  Height:  |  Size: 60 KiB

View File

@ -9,7 +9,7 @@
<ul> <ul>
<li class="<%= 'is-active' if @form.backend_name == 'google_sheets' %>"> <li class="<%= 'is-active' if @form.backend_name == 'google_sheets' %>">
<a href="#" data-target="google-sheets-form"> <a href="#" data-target="google-sheets-form">
<span class="icon is-small"><%= image_tag 'google-sheets-icon.svg' %></span> <span class="icon is-small"><%= image_tag 'google_sheets-icon.svg' %></span>
<span>Google Sheets</span> <span>Google Sheets</span>
</a> </a>
</li> </li>

View File

@ -7,7 +7,7 @@
The form backend for designers and developers The form backend for designers and developers
</h1> </h1>
<p class="tag-line is-size-5"> <p class="tag-line is-size-5">
Link your online forms to <span class="google-sheets backend-logo"><%= image_tag 'google-sheets-icon.svg' %> Google Sheets</span> or <span class="airtable backend-logo"><%= image_tag 'airtable-icon.svg' %> Airtable</span> and receive form submissions in your favorite spreadsheet tool. Link your online forms to <span class="google-sheets backend-logo"><%= image_tag 'google_sheets-icon.svg' %> Google Sheets</span> or <span class="airtable backend-logo"><%= image_tag 'airtable-icon.svg' %> Airtable</span> and receive form submissions in your favorite spreadsheet tool.
</p> </p>
<p class="call-to-action"> <p class="call-to-action">
<%= link_to "Get started", signup_url, class: 'is-uppercase button is-rounded is-primary has-text-white a-menu' %> <%= link_to "Get started", signup_url, class: 'is-uppercase button is-rounded is-primary has-text-white a-menu' %>