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.4.27 app/views/workarea/storefront/style_guides/components/_category_summary_content_block.html.haml
workarea-storefront-3.5.4 app/views/workarea/storefront/style_guides/components/_category_summary_content_block.html.haml
workarea-storefront-3.4.26 app/views/workarea/storefront/style_guides/components/_category_summary_content_block.html.haml
workarea-storefront-3.5.3 app/views/workarea/storefront/style_guides/components/_category_summary_content_block.html.haml
workarea-storefront-3.4.25 app/views/workarea/storefront/style_guides/components/_category_summary_content_block.html.haml
workarea-storefront-3.5.2 app/views/workarea/storefront/style_guides/components/_category_summary_content_block.html.haml
workarea-storefront-3.4.24 app/views/workarea/storefront/style_guides/components/_category_summary_content_block.html.haml
workarea-storefront-3.5.1 app/views/workarea/storefront/style_guides/components/_category_summary_content_block.html.haml
workarea-storefront-3.4.23 app/views/workarea/storefront/style_guides/components/_category_summary_content_block.html.haml
workarea-storefront-3.4.22 app/views/workarea/storefront/style_guides/components/_category_summary_content_block.html.haml
workarea-storefront-3.5.0 app/views/workarea/storefront/style_guides/components/_category_summary_content_block.html.haml
workarea-storefront-3.4.21 app/views/workarea/storefront/style_guides/components/_category_summary_content_block.html.haml
workarea-storefront-3.5.0.beta.1 app/views/workarea/storefront/style_guides/components/_category_summary_content_block.html.haml
workarea-storefront-3.4.20 app/views/workarea/storefront/style_guides/components/_category_summary_content_block.html.haml
workarea-storefront-3.4.19 app/views/workarea/storefront/style_guides/components/_category_summary_content_block.html.haml
workarea-storefront-3.4.18 app/views/workarea/storefront/style_guides/components/_category_summary_content_block.html.haml
workarea-storefront-3.4.17 app/views/workarea/storefront/style_guides/components/_category_summary_content_block.html.haml
workarea-storefront-3.4.16 app/views/workarea/storefront/style_guides/components/_category_summary_content_block.html.haml
workarea-storefront-3.4.15 app/views/workarea/storefront/style_guides/components/_category_summary_content_block.html.haml
workarea-storefront-3.4.14 app/views/workarea/storefront/style_guides/components/_category_summary_content_block.html.haml