Sha256: e258896570072008d57e1178f75b9dd29ff3e89d30c8599968045ec9f7d0e715

Contents?: true

Size: 1.24 KB

Versions: 62

Compression:

Stored size: 1.24 KB

Contents

#category-summary-content-block.style-guide__subsection

  %h3= link_to_style_guide('components', 'category_summary_content_block')

  %p Displays a heading followed by a #{link_to_style_guide('components', 'product_grid', true)}, unless the products are empty. Produced by the content editor in the admin.

  %p Category with products:
  .style-guide__example-block
    .category-summary-content-block
      %h2.category-summary-content-block__heading Category Name
      .grid
        - 4.times do
          .grid__cell.grid__cell--50.grid__cell--33-at-medium.grid__cell--16-at-wide
            .product-summary
              %p.product-summary__media
                = link_to('#', class: 'product-summary__media-link') do
                  = image_tag('workarea/storefront/style_guide_product.jpg', alt: 'Product Name', class: 'product-summary__media-image')
              .product-summary__info
                %p.product-summary__name= link_to('Product Name', '#')
                .product-prices.product-prices--summary
                  %p.product-prices__price
                    %span= number_to_currency(109.99)

  %p Empty category:
  .style-guide__example-block
    .category-summary-content-block
      %h2 Category Name
      %p Category Name is empty.

Version data entries

62 entries across 62 versions & 1 rubygems

Version Path
workarea-storefront-3.5.27 app/views/workarea/storefront/style_guides/components/_category_summary_content_block.html.haml
workarea-storefront-3.5.26 app/views/workarea/storefront/style_guides/components/_category_summary_content_block.html.haml
workarea-storefront-3.4.45 app/views/workarea/storefront/style_guides/components/_category_summary_content_block.html.haml
workarea-storefront-3.5.25 app/views/workarea/storefront/style_guides/components/_category_summary_content_block.html.haml
workarea-storefront-3.5.23 app/views/workarea/storefront/style_guides/components/_category_summary_content_block.html.haml
workarea-storefront-3.4.44 app/views/workarea/storefront/style_guides/components/_category_summary_content_block.html.haml
workarea-storefront-3.5.22 app/views/workarea/storefront/style_guides/components/_category_summary_content_block.html.haml
workarea-storefront-3.4.43 app/views/workarea/storefront/style_guides/components/_category_summary_content_block.html.haml
workarea-storefront-3.5.21 app/views/workarea/storefront/style_guides/components/_category_summary_content_block.html.haml
workarea-storefront-3.4.42 app/views/workarea/storefront/style_guides/components/_category_summary_content_block.html.haml
workarea-storefront-3.5.20 app/views/workarea/storefront/style_guides/components/_category_summary_content_block.html.haml
workarea-storefront-3.4.41 app/views/workarea/storefront/style_guides/components/_category_summary_content_block.html.haml
workarea-storefront-3.5.19 app/views/workarea/storefront/style_guides/components/_category_summary_content_block.html.haml
workarea-storefront-3.4.40 app/views/workarea/storefront/style_guides/components/_category_summary_content_block.html.haml
workarea-storefront-3.5.18 app/views/workarea/storefront/style_guides/components/_category_summary_content_block.html.haml
workarea-storefront-3.4.39 app/views/workarea/storefront/style_guides/components/_category_summary_content_block.html.haml
workarea-storefront-3.5.17 app/views/workarea/storefront/style_guides/components/_category_summary_content_block.html.haml
workarea-storefront-3.4.38 app/views/workarea/storefront/style_guides/components/_category_summary_content_block.html.haml
workarea-storefront-3.5.16 app/views/workarea/storefront/style_guides/components/_category_summary_content_block.html.haml
workarea-storefront-3.4.37 app/views/workarea/storefront/style_guides/components/_category_summary_content_block.html.haml