Sha256: 397b0f17cfd4f4574b0d6f3255250c8b23c120e6308039437a4e7189dba7876c

Contents?: true

Size: 867 Bytes

Versions: 2

Compression:

Stored size: 867 Bytes

Contents

- if collection.any?
  %main.mt-5{ id: block.anchor }
    .container
      %section#best-features.text-center
        %h2.mb-4.font-weight-bold
          = block.title
        .row.d-flex.justify-content-center.mb-4
          .col-md-8
            %p.grey-text
              = block.description
        - collection.each_slice 5 do |sub_collection|
          .row
            - sub_collection.each do |item|
              .col.col-sm-2.col-xl-4.col-lg-4.col-md-4.mb-1.auto{ class:  (item.anchor.present? ? :link : ''), data: { href: item.anchor.present? ? "##{item.anchor}" : '' } }
                - if item.icon.present?
                  = fa_icon item.icon, class: 'fa-4x blue-text'
                - else
                  = image_tag item.image
                %h4.my-4
                  = item.title
                %p.grey-text
                  != item.text

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
tramway-landing-1.3 app/views/tramway/landing/blocks/templates/_features_list.html.haml
tramway-landing-1.2.20 app/views/tramway/landing/blocks/templates/_features_list.html.haml