<a class="h-full group relative flex items-stretch shadow-card border border-grey-200 card-hover rounded-2xl bg-grey-50 px-6 py-7 sm:px-4 sm:py-5 xl:px-6 xl:py-7 flex flex-col gap-7 items-stretch" href="#">
<div class="rounded-t-2xl bg-brand-gradient-2 absolute top-0 left-0 w-full h-28 angled-mask-mega-card z-0"></div>
<div class="relative z-10 rounded-md overflow-hidden shrink-0">
<picture class="block overflow-hidden transition ease-in-out duration-300 group-hover:scale-110 w-full">
<img class="lazyload w-full" alt="" width="1200" height="675" data-sizes="auto" data-srcset="/front-end/images/test-imagery/example2@16-9@1200w.jpg 1200w" data-src="/front-end/images/test-imagery/example2@16-9@1200w.jpg">
</picture>
</div>
<div class="relative z-10 flex h-full flex-col justify-between">
<h2 class="text-bravo font-extrabold mb-2 text-xl xl:text-2xl leading-tight group-hover:underline">Lorem ipsum</h2>
<p class="text-grey-600 text-base xl:text-lg leading-snug">Lorem ipsum dolor sit amet, consectetur adipiscing elit</p>
</div>
</a>
{%if bgContrast %}
{% set bgColor = "bg-white" %}
{% else%}
{% set bgColor = "bg-grey-50" %}
{% endif %}
<a class="h-full group relative flex items-stretch shadow-card border border-grey-200 card-hover rounded-2xl {{ bgColor }} px-6 py-7 sm:px-4 sm:py-5 xl:px-6 xl:py-7 flex flex-col gap-7 items-stretch" href="#">
<div class="rounded-t-2xl bg-brand-gradient-2 absolute top-0 left-0 w-full h-28 angled-mask-mega-card z-0"></div>
<div class="relative z-10 rounded-md overflow-hidden shrink-0">
{% render "@image-frame", { src: image.src, srcSet: image.srcSet, width: 1200, height: 675, frameModifier: 'transition ease-in-out duration-300 group-hover:scale-110' } %}
</div>
<div class="relative z-10 flex h-full flex-col justify-between">
<h2 class="text-bravo font-extrabold mb-2 text-xl xl:text-2xl leading-tight group-hover:underline">{{ heading }}</h2>
<p class="text-grey-600 text-base xl:text-lg leading-snug">{{copy}}</p>
{% if tag %}
<div class="mt-4">
{% render "@tag", tag %}
</div>
{% endif %}
</div>
</a>
{
"siteName": "Gigaclear Pattern Library",
"heading": "Lorem ipsum",
"copy": "Lorem ipsum dolor sit amet, consectetur adipiscing elit",
"image": {
"src": "images/test-imagery/example2@16-9@1200w.jpg",
"width": 1200,
"height": 675,
"srcSet": [
{
"url": "images/test-imagery/example2@16-9@1200w.jpg",
"size": "1200"
}
]
}
}
No notes defined.