Sha256: 81b783db9462d96c2082b4f343058485b7c4df8935222d95697c90e0a86249db

Contents?: true

Size: 1.14 KB

Versions: 1

Compression:

Stored size: 1.14 KB

Contents

- records_in_the_row = 4
- if phone.present? || email.present?
  .row.features-small.mt-5.wow.fadeIn
    - if phone.present?
      .col-xl-3.col-lg-6
        .row.link{ data: { href: "tel:#{phone}" } }
          .col-2
            %i.fab.fa-2x.mb-1.fa-phone.indigo-text{ aria: { hidden: 'true' } }
          .col-10.mb-2.pl-3
            %h5.feature-title.font-bold.mb-1
              = phone
    - if email.present?
      .col-xl-3.col-lg-6
        .row.link{ data: { href: "mailto:#{email}" } }
          .col-2
            %i.fab.fa-2x.mb-1.fa-envelop.indigo-text{ aria: { hidden: 'true' } }
          .col-10.mb-2.pl-3
            %h5.feature-title.font-bold.mb-1
              = email 
- social_networks.each_slice(records_in_the_row) do |slice|
  .row.features-small.mt-5.wow.fadeIn
    - slice.each do |social_network, index|
      .col-xl-3.col-lg-6
        .row.link{ data: { href: profile_url(social_network) } }
          .col-2
            %i.fab.fa-2x.mb-1.indigo-text{ aria: { hidden: 'true' }, class: "fa-#{social_network.network_name}" }
          .col-10.mb-2.pl-3
            %h5.feature-title.font-bold.mb-1
              = social_network.title

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tramway-landing-2.1 app/views/tramway/landing/blocks/block_types/contacts/_without_map.html.haml