36 lines
1.7 KiB
HTML
36 lines
1.7 KiB
HTML
{% set image_src = image_src | default(value="") %}
|
|
{% set image_alt = image_alt | default(value="") %}
|
|
{% set title = title | default(value="MYCELIUM") %}
|
|
{% set subtitle = subtitle | default(value="") %}
|
|
{% set description = description | default(value="") %}
|
|
{% set highlight = highlight | default(value="") %}
|
|
{% set button_text = button_text | default(value="") %}
|
|
{% set button_link = button_link | default(value="") %}
|
|
|
|
|
|
|
|
<div class="relative fade-in pt-10 mt-4 lg:mt-24 lg:pt-24 lg:h-screen">
|
|
<div class="mx-auto max-w-7xl lg:grid lg:grid-cols-12 lg:gap-x-8 lg:px-8">
|
|
<div class="px-6 lg:col-span-7 lg:px-0 xl:col-span-6">
|
|
<div class="mx-auto max-w-2xl lg:mx-0 lg:flex-auto">
|
|
<h1 class="text-4xl font-semibold tracking-tight lg:text-6xl">
|
|
{{ title }}
|
|
</h1>
|
|
<h2 class="fade-in text-balance lg:text-4xl text-3xl font-normal tracking-tight ">{{ subtitle }}
|
|
</h2>
|
|
<p class="mt-8 text-pretty lg:text-xl text-lg font-light lgl:text-xl">
|
|
{{ description }} <br><br> <b>{{ highlight }}</b>
|
|
</p>
|
|
<div class="mt-10 flex items-center gap-x-6">
|
|
<a href="{{ button_link }}" class="rounded-2xl bg-black px-3.5 py-2.5 text-sm font-semibold text-white shadow-xs hover:bg-gray-600 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-gray-200">
|
|
{{ button_text }}
|
|
</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="relative lg:col-span-5 lg:-mr-8 xl:absolute xl:inset-0 xl:left-1/2 xl:mr-0 ">
|
|
<img class="lg:mt-10 aspect-1/1 mx-auto w-full sm:w-2/3 md:w-1/2 lg:w-full object-cover lg:absolute lg:inset-0 lg:aspect-auto" src="{{ image_src }}" alt="{{ image_alt }}">
|
|
</div>
|
|
</div>
|
|
</div>
|