<div class="js-component relative z-0 overflow-hidden lg:overflow-visible component-spacer-margin">
<div class="container ">
<div class="text-center mb-10 lg:mb-16">
<div>
<div class="uppercase text-grey-600 mb-3 font-semibold">
<p>Heading Label</p>
</div>
<h2 class="text-4xl lg:text-8xl block font-heading font-extrabold leading-tight text-bravo mb-4 lg:mb-6">Headline copy</h2>
</div>
<div class="">
<div class="prose prose-p:leading-snug prose-ul:leading-normal prose-ol:leading-normal prose-xl lg:prose-2xl max-w-screen-sm mx-auto">
<p>Lorem ipsum dolor sit amet consectetur. Nunc nunc pulvinar adipiscing vitae. Lorem convallis lorem diam ornare. Sed ornare et diam risus arcu id.</p>
</div>
</div>
</div>
<div class="w-full splide" data-vanilla-module="Slider" data-splide='{"perPage":1,"mediaQuery":"min","pagination":true,"arrows":false,"gap":"1.5rem","padding":{"right":"4.5rem"},"breakpoints":{"768":{"perPage":2,"mediaQuery":"min","pagination":true,"arrows":false,"gap":"1.5rem","padding":{"right":"0rem"}},"1024":{"destroy":true}}}'>
<div class="splide__track !overflow-visible">
<div class="lg:!grid lg:!gap-6 lg:!grid-cols-4 splide__list">
<div class="splide__slide">
<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/example4@16-9@1200w.jpg 1200w" data-src="/front-end/images/test-imagery/example4@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 dolor sit amet, consectetur adipiscing elit</h2>
<p class="text-grey-600 text-base xl:text-lg leading-snug"></p>
<div class="mt-4">
<div class="tag bg-delta w-max py-1 px-1.5 rounded text-xs text-grey-800">
test
</div>
</div>
</div>
</a>
</div>
<div class="splide__slide">
<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/example3@16-9@1200w.jpg 1200w" data-src="/front-end/images/test-imagery/example3@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 dolor sit amet, consectetur adipiscing elit</h2>
<p class="text-grey-600 text-base xl:text-lg leading-snug"></p>
<div class="mt-4">
<div class="tag bg-delta w-max py-1 px-1.5 rounded text-xs text-grey-800">
This is a tag
</div>
</div>
</div>
</a>
</div>
<div class="splide__slide">
<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 dolor sit amet, consectetur adipiscing elit</h2>
<p class="text-grey-600 text-base xl:text-lg leading-snug"></p>
<div class="mt-4">
<div class="tag bg-delta w-max py-1 px-1.5 rounded text-xs text-grey-800">
This is a tag
</div>
</div>
</div>
</a>
</div>
<div class="splide__slide">
<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/example1@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">Refer a friend </h2>
<p class="text-grey-600 text-base xl:text-lg leading-snug"></p>
<div class="mt-4">
<div class="tag bg-delta w-max py-1 px-1.5 rounded text-xs text-grey-800">
This is a tag
</div>
</div>
</div>
</a>
</div>
</div>
</div>
</div>
<div class="w-full">
<a href="" class="flex gap-1.5 justify-center items-center mt-8 group transition ease-in-out duration-300">
<span class="text-grey-700 relative z-10">View all</span>
<svg class="fill-current text-alpha w-4 h-4 relative z-10 group-hover:translate-x-1 transition ease-in-out duration-300">
<use href="/front-end/sprite.svg?v=1.2#icon-arrow"></use>
</svg>
</a>
</div>
</div>
</div>
{% if bgContrast %}
{% set bgClass = "component-spacer-padding bg-grey-50" %}
{% else %}
{% set bgClass = "component-spacer-margin" %}
{% endif %}
<div class="js-component relative z-0 overflow-hidden lg:overflow-visible {{bgClass}}">
<div class="container ">
{% if headline %}
{% render "@headline", headline %}
{% endif %}
<div class="w-full splide" data-vanilla-module="Slider" data-splide='{{ sliderData | dump | safe }}'>
<div class="splide__track !overflow-visible">
<div class="lg:!grid lg:!gap-6 lg:!grid-cols-4 splide__list">
{% for item in cardList %}
<div class="splide__slide">
{% render "@content-card", {
heading: item.heading,
image: item.image, copy: '',
tag: item.tag,
orderImageFirst: true,
bgContrast: bgContrast
}, true %}
</div>
{% endfor %}
</div>
</div>
</div>
<div class="w-full">
<a href="" class="flex gap-1.5 justify-center items-center mt-8 group transition ease-in-out duration-300">
<span class="text-grey-700 relative z-10">View all</span>
{% render "@icon", { name: "icon-arrow", modifier: 'fill-current text-alpha w-4 h-4 relative z-10 group-hover:translate-x-1 transition ease-in-out duration-300' } %}
</a>
</div>
</div>
</div>
{
"siteName": "Gigaclear Pattern Library",
"headline": {
"heading": "Headline copy",
"summary": "Lorem ipsum dolor sit amet consectetur. Nunc nunc pulvinar adipiscing vitae. Lorem convallis lorem diam ornare. Sed ornare et diam risus arcu id.",
"preheading": "Heading Label"
},
"cardList": [
{
"heading": "Lorem ipsum dolor sit amet, consectetur adipiscing elit",
"tag": {
"tag": "true",
"text": "test",
"url": "./index"
},
"image": {
"src": "images/test-imagery/example4@16-9@1200w.jpg",
"srcSet": [
{
"url": "images/test-imagery/example4@16-9@1200w.jpg",
"size": "1200"
}
]
}
},
{
"heading": "Lorem ipsum dolor sit amet, consectetur adipiscing elit",
"tag": {
"tag": "true",
"text": "This is a tag",
"url": "./index"
},
"image": {
"src": "images/test-imagery/example3@16-9@1200w.jpg",
"srcSet": [
{
"url": "images/test-imagery/example3@16-9@1200w.jpg",
"size": "1200"
}
]
}
},
{
"heading": "Lorem ipsum dolor sit amet, consectetur adipiscing elit",
"tag": {
"tag": "true",
"text": "This is a tag",
"url": "./index"
},
"image": {
"src": "images/test-imagery/example2@16-9@1200w.jpg",
"srcSet": [
{
"url": "images/test-imagery/example2@16-9@1200w.jpg",
"size": "1200"
}
]
}
},
{
"heading": "Refer a friend ",
"tag": {
"tag": "true",
"text": "This is a tag",
"url": "./index"
},
"image": {
"src": "images/test-imagery/example2@16-9@1200w.jpg",
"srcSet": [
{
"url": "images/test-imagery/example1@16-9@1200w.jpg",
"size": "1200"
}
]
}
}
],
"sliderData": {
"perPage": 1,
"mediaQuery": "min",
"pagination": true,
"arrows": false,
"gap": "1.5rem",
"padding": {
"right": "4.5rem"
},
"breakpoints": {
"768": {
"perPage": 2,
"mediaQuery": "min",
"pagination": true,
"arrows": false,
"gap": "1.5rem",
"padding": {
"right": "0rem"
}
},
"1024": {
"destroy": true
}
}
}
}
No notes defined.