Files
plugi/themes/theme-one/blocks/faq-item/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

9 lines
599 B
PHP

<details class="group rounded-xl border border-slate-200 bg-white">
<summary class="flex cursor-pointer list-none items-center justify-between gap-4 px-5 py-4 font-semibold text-slate-900 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-slate-700">
<span><?= $block->setting('question') ?></span>
<span class="text-xl font-normal text-slate-500 transition group-open:rotate-45" aria-hidden="true">+</span>
</summary>
<div class="px-5 pb-5 text-slate-600">
<p class="leading-7"><?= $block->setting('answer') ?></p>
</div>
</details>