<div class="js-component relative z-0  pt-14 pb-16 lg:pt-20 lg:pb-20 ">
    <div class="absolute w-full h-full top-0 left-0 z-0">

        <div class="aspect-[16/10]"></div>
        <video preload="none" class="lazyload absolute object-cover w-full h-full top-0 left-0" muted autoplay loop playsinline>
            <source src="/front-end/playground/GC-afx-Space-blur-tint-1920.webm" type="video/mp4">
        </video>

    </div>
    <div class="container">
        <div class="max-w-[950px] mx-auto px-6 md:px-28 rounded-[2.5rem] relative z-10  bg-grey-50 py-12 ">

            <div class="text-center mb-10 lg:mb-16">
                <div>

                    <h2 class="text-4xl lg:text-8xl block font-heading font-extrabold leading-tight text-bravo  mb-4 lg:mb-6">Not ready to buy yet?</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>Register your details and we&#39;ll keep in touch with our latest offers.</p>
                    </div>

                </div>
            </div>

            <div>
                <div class="flex flex-col gap-4">

                    <label class="block">
                        <span class="text-bravo-900 mb-2 block font-bold lg:text-lg">Name</span>
                        <input type="text" class="
                    block
                    w-full
                    rounded-lg
                    border-grey-400
                    p-4
                    default-focus focus-within:ring-black" placeholder="">
                    </label>

                    <label class="block">
                        <span class="text-bravo-900 mb-2 block font-bold lg:text-lg">Email</span>
                        <input type="text" class="
                    block
                    w-full
                    rounded-lg
                    border-grey-400
                    p-4
                    default-focus focus-within:ring-black" placeholder="">
                    </label>

                    <label class="block">
                        <span class="text-bravo-900 mb-2 block font-bold lg:text-lg">Contact Number</span>
                        <input type="text" class="
                    block
                    w-full
                    rounded-lg
                    border-grey-400
                    p-4
                    default-focus focus-within:ring-black" placeholder="">
                    </label>

                    <label class="block">
                        <span class="text-bravo-900 mb-2 block font-bold lg:text-lg">Postcode</span>
                        <input type="text" class="
                    block
                    w-full
                    rounded-lg
                    border-grey-400
                    p-4
                    default-focus focus-within:ring-black" placeholder="">
                    </label>

                </div>
                <div class="mt-14 text-center">

                    <button class="btn group  bg-alpha text-white border-2 border-alpha">

                        <div class="relative z-10 group-hover:-translate-x-2 transition ease-in-out duration-300">

                            Register interest

                        </div>
                        <div class="w-3.5 h-3.5 absolute right-2 top-2/4 translate-x-2 -translate-y-2/4 -rotate-90 transition-all ease-in-out duration-300 fill-current opacity-0 group-hover:-translate-x-2 group-hover:opacity-100">
                            <svg class="w-full h-full fill-current" aria-hidden="true">
                                <use href="/front-end/sprite.svg?v=1.2#icon-chevron"></use>
                            </svg>
                        </div>

                    </button>

                </div>
            </div>
        </div>
    </div>
</div>
{% if theme %}
    {% set bgColourClass = theme.bgColour %}
{% else %}
    {% set bgColourClass = 'bg-brand-gradient-2' %}
{% endif %}

<div class="js-component relative z-0 {% if backgroundColour %} {{ bgColourClass }} pt-14 pb-16 lg:pt-20 lg:pb-20 {% elseif backgroundImage or video %} pt-14 pb-16 lg:pt-20 lg:pb-20 {% else %} component-spacer-margin {% endif %}">
    <div class="absolute w-full h-full top-0 left-0 z-0">
        {% if backgroundImage %}
            {% render "@image-frame", { src: image.src, srcSet: image.srcSet, width: image.width, height: image.height, modifier: 'object-cover h-full', frameModifier: 'object-cover h-full' } %}
        {% elseif video %}
            <div class="aspect-[16/10]"></div>
            <video preload="none" class="lazyload absolute object-cover w-full h-full top-0 left-0" muted autoplay loop playsinline>
                <source src="{{backgroundVideo.src}}" type="video/mp4">
            </video>
        {% endif %}
    </div>
    <div class="container">
        <div class="max-w-[950px] mx-auto px-6 md:px-28 rounded-[2.5rem] relative z-10 {% if backgroundColour %} bg-grey-50 py-12 {% elseif backgroundImage or video %} bg-grey-50 py-12 {% endif %}">
            {% if headline %}
                {% render "@headline", headline %}
            {% endif %}
            <div>
                <div class="flex flex-col gap-4">
                    {% for field in fields %}
                        {% if field.component == "text-input" %}
                            {% render "@text-input", field %}
                        {% elif field.component == "email-input" %}
                            {% render "@email-input", field %}
                        {% elif field.component == "date-input" %}
                            {% render "@date-input", field %}
                        {% elif field.component == "radio-box-input" %}
                            {% render "@radio-box-input", field %}
                        {% elif field.component == "select-input" %}
                            {% render "@select-input", field %}
                        {% elif field.component == "check-box-list-input" %}
                            {% render "@check-box-list-input", field %}
                        {% elif field.component == "text-area-input" %}
                            {% render "@text-area-input", field %}
                        {% elif field.component == "check-box-input" %}
                            {% render "@check-box-input", field %}
                        {% endif %}
                    {% endfor %}
                </div>
                <div class="mt-14 text-center">
                    {% render "@button", { renderAsButton: true, text: 'Register interest' }, true %}
                </div>
            </div>
        </div>
    </div>
</div>
{
  "siteName": "Gigaclear Pattern Library",
  "fields": [
    {
      "component": "text-input",
      "label": "Name"
    },
    {
      "component": "text-input",
      "label": "Email"
    },
    {
      "component": "text-input",
      "label": "Contact Number"
    },
    {
      "component": "text-input",
      "label": "Postcode"
    }
  ],
  "video": true,
  "backgroundVideo": {
    "src": "/front-end/playground/GC-afx-Space-blur-tint-1920.webm"
  },
  "headline": {
    "heading": "Not ready to buy yet?",
    "summary": "Register your details and we'll keep in touch with our latest offers."
  }
}

No notes defined.