Sha256: 9985ca19ddafeefa3159fe37d369c1f7cb638c27692957843a28d0400c08348e

Contents?: true

Size: 1.08 KB

Versions: 1

Compression:

Stored size: 1.08 KB

Contents

<% @folders.each do |folder| %>
  <section class="hero is-morion is-small">
    <div class="hero-body">
      <div class="container">
        <h1 class="title">
          <%= folder.first %>
        </h1>
      </div>
    </div>
  </section>
  <div class="section">
    <div class="container">
      <div class="columns is-multiline is-mobile">
        <% folder.second.each do |file| %>
          <div class="column is-narrow">
            <div class="img-box" data-balloon="<%= file.asset_path %>" data-balloon-pos="up">
              <% if file.extension == '.svg' %>
                <%= image_tag(file.asset_path, class: 'full-dimenssion') %>
              <% else %>
                <%= image_tag(file.asset_path) %>
              <% end %>

              <span class="icon is-small copy-icon" data-clipboard-text="<%= file.asset_path %>">
                <i class="fa fa-copy" data-path="<%= file.filename %>"></i>
              </span>

              <span class="extension"><%= file.extension %></span>
            </div>
          </div>
        <% end %>
      </div>
    </div>
  </div>
<% end %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
morion-0.0.5 app/views/morion/morion/index.html.erb