Files
plugi/themes/theme-one/blocks/cta/view.php
T
deepDiverPaul ed8ae3200b refresh theme-one starter blocks and layout
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.
2026-11-25 17:50:12 +01:00

10 lines
697 B
PHP

<section class="bg-slate-100 px-4 py-12 sm:py-16">
<div class="mx-auto max-w-3xl text-center">
<h2 class="mb-4 text-3xl font-semibold tracking-tight text-slate-900 sm:text-4xl"><?= $block->setting('heading') ?></h2>
<p class="mb-8 text-lg leading-7 text-slate-600"><?= $block->setting('message') ?></p>
<a href="<?= $block->setting('button_url') ?>" class="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>
</section>