Sha256: 5837f8db8912afc0060c3b8abc622bbcf813509ac4b9ff181dd2feb5f9e37710

Contents?: true

Size: 1.32 KB

Versions: 30

Compression:

Stored size: 1.32 KB

Contents

<div class="masonry" data-turbolinks="false">
  <% @tutorials.each_with_index do |tutorial, index| %>
    <div class="item">
      <div class="Vlt-card Vlt-card--image Nxd-card--tutorials">
        <div class="Vlt-card__image Vlt-card__image--tech Vlt-card__image--blue">
          <a href="/<%= tutorial.products.join("") %>/tutorials/<%= @language %>" class="Vlt-badge Vlt-badge--large Nxd-tutorials__product Nxd-tutorials__product--<%= tutorial.subtitle %>"><%= tutorial.subtitle %></a>
        </div>

        <a href="<%= tutorial.path %>">
          <div class="Vlt-card__content">
            <h2>
              <span><%= tutorial.title %></span>
            </h2>
            <p><%= tutorial.description %></p>
        </a>

        <% if tutorial.languages.count > 0 %>
          <% tutorial.languages.each do |language| %>
            <a href="<%= "#{@base_path}/#{language.downcase}" %>"><small class="Vlt-grey-darker Nxd-tutorials__language Nxd-tutorials__language--<%= language %>"><span>●</span> <%= language == "Objective_C" ? "Objective-C" : language %></small></a>
            <% end %>
          <% end %>

          <div class="Vlt-card__cta">
            <a href="<%= tutorial.path %>" class="Vlt-btn Vlt-btn--secondary">
            Read more
            </a>
          </div>
        </div>
    </div>
    </div>
  <% end %>
</div>

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
nexmo-oas-renderer-0.7.1 lib/nexmo/oas/renderer/views/tutorials/_index.html.erb
nexmo-oas-renderer-0.7.0 lib/nexmo/oas/renderer/views/tutorials/_index.html.erb
nexmo-oas-renderer-0.6.6 lib/nexmo/oas/renderer/views/tutorials/_index.html.erb
nexmo-oas-renderer-0.6.5 lib/nexmo/oas/renderer/views/tutorials/_index.html.erb
nexmo-oas-renderer-0.6.4 lib/nexmo/oas/renderer/views/tutorials/_index.html.erb
nexmo-oas-renderer-0.6.3 lib/nexmo/oas/renderer/views/tutorials/_index.html.erb
nexmo-oas-renderer-0.6.2 lib/nexmo/oas/renderer/views/tutorials/_index.html.erb
nexmo-oas-renderer-0.6.1 lib/nexmo/oas/renderer/views/tutorials/_index.html.erb
nexmo-oas-renderer-0.5.6 lib/nexmo/oas/renderer/views/tutorials/_index.html.erb
nexmo-oas-renderer-0.5.5 lib/nexmo/oas/renderer/views/tutorials/_index.html.erb
nexmo-oas-renderer-0.5.4 lib/nexmo/oas/renderer/views/tutorials/_index.html.erb
nexmo-oas-renderer-0.5.2 lib/nexmo/oas/renderer/views/tutorials/_index.html.erb
nexmo-oas-renderer-0.5.1 lib/nexmo/oas/renderer/views/tutorials/_index.html.erb
nexmo-oas-renderer-0.5.0 lib/nexmo/oas/renderer/views/tutorials/_index.html.erb
nexmo-oas-renderer-0.4.1 lib/nexmo/oas/renderer/views/tutorials/_index.html.erb
nexmo-oas-renderer-0.4.0 lib/nexmo/oas/renderer/views/tutorials/_index.html.erb
nexmo-oas-renderer-0.3.7 lib/nexmo/oas/renderer/views/tutorials/_index.html.erb
nexmo-oas-renderer-0.3.6 lib/nexmo/oas/renderer/views/tutorials/_index.html.erb
nexmo-oas-renderer-0.3.5 lib/nexmo/oas/renderer/views/tutorials/_index.html.erb
nexmo-oas-renderer-0.3.4 lib/nexmo/oas/renderer/views/tutorials/_index.html.erb