Redesign the master layout and content blocks with responsive styling, accessible navigation, and configurable CTA and quote sections. Add about-me, embedded-code, and FAQ blocks, and update the generated theme assets. Replace Alpine-based locale handling with vanilla JavaScript for locale flags and gallery lightboxes, and remove Alpine and DaisyUI dependencies.
17 lines
1.3 KiB
PHP
17 lines
1.3 KiB
PHP
<section class="bg-white px-4 py-16 sm:py-20 lg:py-24">
|
|
<div class="mx-auto grid max-w-7xl gap-12 lg:grid-cols-2 lg:items-center">
|
|
<div>
|
|
<p class="mb-4 text-sm font-semibold uppercase tracking-wide text-slate-600"><?= $block->setting('eyebrow') ?></p>
|
|
<h1 class="text-4xl font-semibold tracking-tight text-slate-950 sm:text-5xl lg:text-6xl"><?= $block->setting('heading') ?></h1>
|
|
<p class="mt-6 max-w-2xl text-lg leading-8 text-slate-600"><?= $block->setting('message') ?></p>
|
|
<a href="<?= $block->setting('button_url') ?>" class="mt-8 inline-flex items-center justify-center rounded-lg bg-slate-900 px-5 py-3 text-sm font-semibold text-white transition hover:bg-slate-700 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-slate-900">
|
|
<?= $block->setting('button_label') ?>
|
|
</a>
|
|
</div>
|
|
<?php if (strlen($block->setting('image_src')) > 0) : ?>
|
|
<div class="overflow-hidden rounded-2xl bg-slate-100">
|
|
<img class="aspect-[4/3] h-full w-full object-cover" src="<?= $block->setting('image_src') ?>" alt="<?= $block->setting('image_alt') ?>" fetchpriority="high">
|
|
</div>
|
|
<?php endif; ?>
|
|
</div>
|
|
</section>
|