Sha256: e8effb0c0f5643525887177eb935d83ee40bbfe4dde23b3f7e5c47252c54a4e6

Contents?: true

Size: 776 Bytes

Versions: 1

Compression:

Stored size: 776 Bytes

Contents

.section.our_services
  h1 = @structure.title
  .section_content
    .our_services_carousel
      - unless @services.blank?
        - @services.each do |service|
          .our_services_item
            - if service.service_info.cover.present?
              .photo
                = image_tag service.service_info.cover.try(:url, :medium)

            .services_item_title
              span = service.title
            .services_item_content
              = simple_format service.service_info.welcome_description.try(:truncate, 350)

              = link_to I18n.t(:read_more, scope: [:layout, :button]), service_path(service), class: 'read_more'

    = raw @structure.content

    = link_to I18n.t(:start_project, scope: [:layout, :button]), new_order_path, class: 'button'

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
translation_cms-0.1.5 app/cells/composite/welcome_our_services.html.slim