<a href="#" class="image-cell__image-link">
      <div class="image ">
          <picture>
              <img src="/example-assets/images/responsive-table/thumb.png" class="image__img image-cell__image is-loading" alt="Alt" title="Title" srcset="/example-assets/images/responsive-table/thumb.png 1x, /example-assets/images/responsive-table/thumb.png 2x" onload="this.classList.remove('is-loading')" />
          </picture>
      </div>

  </a>

  <div class="image-cell__specials">
      <div class="specials">

          <div class="specials--medium-horizontally-vertically  ">
              <button type="button" class="specials__toggle" data-info-tooltip-content="Sale" style="background-color: #e30a24;">
                  <span class="visually-hidden">Sale</span>
                  <span class="image ">
                      <picture>
                          <img src="/example-assets/images/specials/sale.svg" class="image__img specials__toggle-image is-loading" alt="" onload="this.classList.remove('is-loading')" />
                      </picture>
                  </span>

              </button>
              <button type="button" class="specials__toggle" data-info-tooltip-content="New" style="background-color: #333333;">
                  <span class="visually-hidden">New</span>
                  <span class="image ">
                      <picture>
                          <img src="/example-assets/images/specials/new.svg" class="image__img specials__toggle-image is-loading" alt="" onload="this.classList.remove('is-loading')" />
                      </picture>
                  </span>

              </button>
          </div>
      </div>
  </div>
{% include '@SharedComponents/modules/shared-product/components/cell-components/image-cell/image-cell.twig' %}
{
  "href": "#",
  "image": {
    "src": "/example-assets/images/responsive-table/thumb.png",
    "src2x": "/example-assets/images/responsive-table/thumb.png",
    "alt": "Alt",
    "title": "Title"
  },
  "specials": {
    "variant": "medium-horizontally-vertically",
    "items": [
      {
        "value": "Sale",
        "color": "#e30a24",
        "icon": "/example-assets/images/specials/sale.svg"
      },
      {
        "value": "New",
        "color": "#333333",
        "icon": "/example-assets/images/specials/new.svg"
      }
    ]
  }
}
  • Content:
    import './image-cell.scss';
  • URL: /components/raw/image-cell/image-cell.js
  • Filesystem Path: src/components/modules/shared-product/components/cell-components/image-cell/image-cell.js
  • Size: 27 Bytes
  • Content:
    @import "~shared/base";
    @import "~cando-cx-components-library/components/modules/shared-product/components/cell-components/image-cell/image-cell";
  • URL: /components/raw/image-cell/image-cell.scss
  • Filesystem Path: src/components/modules/shared-product/components/cell-components/image-cell/image-cell.scss
  • Size: 146 Bytes

No notes defined.