<div class="js-component relative z-0 pt-[104px] lg:pt-[153px] lg:min-h-[400px] xl:min-h-[635px] flex flex-col max-lg:mb-[25%]">
<div class="h-[250px] absolute top-0 left-0 z-10 w-full hero-gradient pointer-events-none opacity-25"></div>
<div class="bg-gradient-to-l bg-brand-gradient absolute top-0 left-0 w-full h-full z-0 hero-angle-clip-path-alt"></div>
<div class="relative z-20 flex flex-col flex-1">
<div class="container flex-1 flex flex-col lg:flex-row lg:gap-12">
<div class="flex-1 flex items-center pb-[15%] lg:pb-[10%] lg:pt-[5%] flex">
<div class="text-left">
<h1>
<span class="text-white font-extrabold italic uppercase text-[clamp(2rem,5vw,88px)] [text-shadow:0_4px_4px_rgba(0,0,0,0.10)] block hero-text leading-[0.9]">Smart</span>
<span class="text-white font-extrabold italic uppercase text-[clamp(2rem,5vw,88px)] [text-shadow:0_4px_4px_rgba(0,0,0,0.10)] block hero-text leading-[0.9]">Wifi</span>
</h1>
<div class="mt-6 leading-tight text-white font-[600] italic text-[clamp(1rem,2vw,28px)] text-white hero-text leading-[0.9] [text-shadow:0_4px_4px_rgba(0,0,0,0.10)]">
<p>Connect up to 100 devices at once</p>
</div>
</div>
</div>
<div class="relative z-10 flex-1 flex items-end max-lg:-mb-[20%] lg:pt-[3%]">
<picture class="block overflow-hidden rounded-[12px] w-full">
<img class="lazyload w-full" alt="" width="1200" height="750" data-sizes="auto" data-srcset="/front-end/images/test-imagery/eros@16-10@1200w.png 1200w" data-src="/front-end/images/test-imagery/eros@16-10@1200w.png">
</picture>
</div>
</div>
</div>
</div>
{% set headingClass = "font-extrabold italic uppercase text-[clamp(2rem,5vw,88px)] [text-shadow:0_4px_4px_rgba(0,0,0,0.10)] block hero-text leading-[0.9]" %}
{% set captionClass = "font-[600] italic text-[clamp(1rem,2vw,28px)] text-white hero-text leading-[0.9] [text-shadow:0_4px_4px_rgba(0,0,0,0.10)]" %}
{% set mobileHeadingClass = "" %}
{% if smallType %}
{% set headingClass = "text-6xl lg:text-8xl font-bold" %}
{% set captionClass = "text-lg prose prose-p:leading-normal prose-white prose-lg lg:prose-xl prose-a:font-bold prose-a:no-underline max-w-[460px]" %}
{% if image %}
{% set mobileHeadingClass = "max-lg:pb-8" %}
{% endif %}
{% endif %}
{% if image %}
{% set sectionMarginClass = "max-lg:mb-[25%]" %}
{% set headingColClass = "flex-1 flex items-center pb-[15%] lg:pb-[10%] lg:pt-[5%]" %}
{% set imageColClass = "relative z-10 flex-1 flex items-end max-lg:-mb-[20%] lg:pt-[3%]" %}
{% else %}
{% set sectionMarginClass = "" %}
{% set headingColClass = "flex-1 flex items-center pb-[25%] lg:pb-[15%] lg:pt-[5%]" %}
{% set imageColClass = "" %}
{% endif %}
<div class="js-component relative z-0 pt-[104px] lg:pt-[153px] lg:min-h-[400px] xl:min-h-[635px] flex flex-col {{ sectionMarginClass }}">
{% render "@hero-gradient", { opacity: headerGradientOpacity } %}
<div class="bg-gradient-to-l bg-brand-gradient absolute top-0 left-0 w-full h-full z-0 hero-angle-clip-path-alt"></div>
<div class="relative z-20 flex flex-col flex-1">
<div class="container flex-1 flex flex-col lg:flex-row lg:gap-12">
<div class="{{ headingColClass }} {{ mobileHeadingClass }} flex">
<div class="text-left">
{% if heading %}
<h1>
{% for word in heading %}
<span class="text-white {{ headingClass }}">{{ word }}</span>
{% endfor %}
</h1>
{% endif %}
{% if caption %}
<div class="mt-6 leading-tight text-white {{ captionClass }}">
<p>{{ caption | safe }}</p>
</div>
{% endif %}
</div>
</div>
{% if image %}
<div class="{{ imageColClass }}">
{% render "@image-frame", {
src: image.src,
srcSet: image.srcSet,
smMax: image.smMax,
mdMax: image.mdMax,
modifier: '',
frameModifier: 'rounded-[12px]',
width: 1200,
height: 750
} %}
</div>
{% endif %}
</div>
</div>
</div>
{
"siteName": "Gigaclear Pattern Library",
"heading": [
"Smart",
"Wifi"
],
"caption": "Connect up to 100 devices at once",
"headerGradientOpacity": "opacity-25",
"image": {
"src": "images/test-imagery/eros@16-10@1200w.png",
"srcSet": [
{
"url": "images/test-imagery/eros@16-10@1200w.png",
"size": 1200
}
]
},
"link": {
"text": "Find out more",
"url": "./"
}
}
No notes defined.