Files
plugi/themes/theme-one/blocks/feature-card/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
832 B
PHP

<article class="h-full rounded-xl border border-slate-200 bg-white p-6 shadow-sm transition hover:shadow-md">
<span class="mb-5 inline-flex h-11 w-11 items-center justify-center rounded-lg bg-slate-100 text-xl text-slate-900" aria-hidden="true"><?= $block->setting('symbol') ?></span>
<h3 class="text-xl font-semibold text-slate-900"><?= $block->setting('heading') ?></h3>
<p class="mt-3 leading-7 text-slate-600"><?= $block->setting('description') ?></p>
<?php if (strlen($block->setting('link_url')) > 0) : ?>
<a class="mt-5 inline-flex items-center gap-2 text-sm font-semibold text-slate-900 underline decoration-slate-300 underline-offset-4 hover:decoration-slate-900" href="<?= $block->setting('link_url') ?>">
<?= $block->setting('link_label') ?>
</a>
<?php endif; ?>
</article>