<a href="#" class="bg-grey-50 hover:bg-grey-100 border border-grey-300 flex flex-col lg:flex-row h-full flex-1 transition ease-in-out duration-300 group overflow-hidden hover:shadow-xl group rounded-md">
    <div class="flex flex-1 relative z-10 flex-col justify-center p-8 " data-vanilla-module="AnimateOnScroll" data-animation-type="scroll-fade">

        <h2 class="relative text-xl font-heading font-bold leading-tight text-bravo">Lorem ipsum</h2>

        <p class="mt-2">Lorem ipsum dolor sit amet, consectetur adipiscing elit</p>

    </div>
    <div class="relative z-0 grid-rows-1 grid-cols-12 flex-1 ">
        <div class="w-full h-full">

            <picture class="block overflow-hidden  w-full">

                <img class="lazyload transition ease-in-out duration-300 group-hover:scale-110 w-full" alt="" width="1200" height="750" data-sizes="auto" data-srcset="/front-end/images/test-imagery/example2@16-10@1200w.jpg 1200w" data-src="/front-end/images/test-imagery/example2@16-10@1200w.jpg">

            </picture>
        </div>
    </div>
</a>
{%if bgContrast %}
    {% set bgColor = "bg-white" %}
{% else%}
    {% set bgColor = "bg-grey-50" %}
{% endif %}

<a href="#" class="{{ bgColor }} hover:bg-grey-100 border border-grey-300 flex {% if horizontal %}flex-col lg:flex-row{% else %}flex-col{% endif %} h-full flex-1 transition ease-in-out duration-300 group overflow-hidden hover:shadow-xl group rounded-md">
    <div class="flex flex-1 relative z-10 flex-col justify-center p-8 {% if centerText %}text-center items-center{% endif %}" data-vanilla-module="AnimateOnScroll" data-animation-type="scroll-fade">
        {% if tag %}
            <div class="mb-4">
                 {% render "@tag", tag %}
            </div>
        {% endif %}
        {% if heading %}
            <h2 class="relative text-xl font-heading font-bold leading-tight text-bravo">{{ heading }}</h2>
        {% endif %}
        {% if copy %}
            <p class="mt-2">{{ copy }}</p>
        {% endif %}
    </div>
    <div class="relative z-0 grid-rows-1 grid-cols-12 flex-1 {% if orderImageFirst %}order-first{% endif %}">
        <div class="w-full h-full">
            {% render "@image-frame", { src: image.src, srcSet: image.srcSet, width: image.width, height: image.height, xsmMax: image.xsmMax, smMax: image.smMax, mdMax: image.mdMax, modifier: 'transition ease-in-out duration-300 group-hover:scale-110' } %}
        </div>
    </div>
</a>
{
  "siteName": "MentorKit Pattern Library",
  "heading": "Lorem ipsum",
  "copy": "Lorem ipsum dolor sit amet, consectetur adipiscing elit",
  "image": {
    "src": "images/test-imagery/example2@16-10@1200w.jpg",
    "width": 1200,
    "height": 750,
    "srcSet": [
      {
        "url": "images/test-imagery/example2@16-10@1200w.jpg",
        "size": "1200"
      }
    ]
  },
  "horizontal": true
}

No notes defined.