www_zola_template/templates/shortcodes/hero3.html
2025-03-18 19:23:09 +01:00

29 lines
1.4 KiB
HTML

<div class="flex items-center justify-center w-full bg-white">
<div class="relative isolate px-4 px-6 lg:px-8 w-full lg:max-w-7xl mx-auto">
<div class="mx-auto w-full py-24 lg:py-32">
<!-- Subheader -->
<p class="text-base/7 font-light text-center text-gray-500 tracking-wide">
{{ subheader }}
</p>
<!-- Title -->
<h1 class="lg:text-6xl text-4xl text-center font-semibold tracking-tight text-balance text-gray-900">
{{ title }}
</h1>
<!-- Subtitle -->
<h2 class="text-balance lg:text-5xl text-center text-4xl font-normal tracking-tight text-gray-700 mt-2">
{{ subtitle }}
</h2>
<!-- Description -->
<p class="mt-6 lg:text-lg text-sm font-light text-center text-gray-600 max-w-2xl mx-auto">
{{ description }}
</p>
<!-- CTA Buttons -->
<div class="mt-8 flex flex-col sm:flex-row items-center justify-center gap-4 sm:gap-6">
<a href="{{ button1_link }}" class="inline-block rounded-lg bg-gray-900 px-5 py-3 text-sm font-semibold text-white shadow-md hover:bg-gray-700 focus-visible:outline focus-visible:ring-2 focus-visible:ring-gray-700 focus-visible:ring-offset-2">
{{ button1_text }}
</a>
<a href="{{ button2_link }}" class="text-sm font-semibold text-gray-900 hover:text-gray-600">{{ button2_text }} <span aria-hidden="true"></span></a>
</div>
</div>
</div>
</div>