Files
plugi/themes/theme-one/blocks/about-me/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

15 lines
1004 B
PHP

<section class="bg-slate-50 px-4 py-12 sm:py-16">
<div class="mx-auto grid max-w-6xl gap-10 md:grid-cols-[minmax(0,0.8fr)_minmax(0,1.2fr)] md:items-center">
<?php if (strlen($block->setting('image_src')) > 0) : ?>
<div class="overflow-hidden rounded-2xl bg-slate-200">
<img class="aspect-square h-full w-full object-cover" src="<?= $block->setting('image_src') ?>" alt="<?= $block->setting('image_alt') ?>" loading="lazy" decoding="async">
</div>
<?php endif; ?>
<div>
<h2 class="mb-6 text-3xl font-semibold tracking-tight text-slate-900 sm:text-4xl"><?= $block->setting('heading') ?></h2>
<h3 class="text-xl font-semibold text-slate-900"><?= $block->setting('name') ?></h3>
<p class="mt-1 text-sm font-medium text-slate-500"><?= $block->setting('role') ?></p>
<p class="mt-5 text-base leading-7 text-slate-600"><?= $block->setting('biography') ?></p>
</div>
</div>
</section>