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.
16 lines
652 B
PHP
16 lines
652 B
PHP
<?php
|
|
$itemCount = max(1, min(10, intval($block->setting('item_count'))));
|
|
?>
|
|
<section class="px-4 py-12 sm:py-16">
|
|
<div class="mx-auto max-w-4xl">
|
|
<div class="mb-8 max-w-3xl">
|
|
<h2 class="text-3xl font-semibold tracking-tight text-slate-900 sm:text-4xl"><?= $block->setting('heading') ?></h2>
|
|
<p class="mt-4 text-lg leading-7 text-slate-600"><?= $block->setting('intro') ?></p>
|
|
</div>
|
|
<div class="space-y-3">
|
|
<?php for ($i = 0; $i < $itemCount; $i++): ?>
|
|
[block slug="faq-item" id="faq-item-<?= $i ?>"]
|
|
<?php endfor; ?>
|
|
</div>
|
|
</div>
|
|
</section>
|