Sha256: 0443487a4d92211729993edd21f9c9830de516a4eb3573b25ea0f6e287c81221

Contents?: true

Size: 1.46 KB

Versions: 2

Compression:

Stored size: 1.46 KB

Contents

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

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

  %p Displays a column of taxonomy with up to 4 products from a specified category

  %p Taxonomy with category summary content block
  .style-guide__example-block
    .taxonomy-content-block.taxonomy-content-block--with-products
      .taxonomy-content-block__container
        %span.taxonomy-content-block__menu-heading Taxonomy Heading

        %ul.taxonomy-content-block__menu
          - (1..5).each do |i|
            %li.taxonomy-content-block__menu-item
              - if i.even?
                Taxon #{i}
              - else
                = link_to "Taxon #{i}", '#', class: 'taxonomy-content-block__menu-link'

      .taxonomy-content-block__products
        .grid.grid--flush
          - 4.times do
            .grid__cell.grid__cell--50.grid__cell--25-at-medium
              .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)

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
workarea-one_theme-1.3.1 app/views/workarea/storefront/style_guides/components/_taxonomy_with_category_summary_content_block.html.haml
workarea-one_theme-1.3.0 app/views/workarea/storefront/style_guides/components/_taxonomy_with_category_summary_content_block.html.haml