İçeriğe geç
Tüm kodlar

ER3NSHOP

Kurulum sihirbazlı online mağaza sistemi

15 satır · 971 BHamİndir
<div class="mx-auto max-w-3xl">
    <?php if ($s['title']): ?><h2 class="heading text-center text-3xl <?= heading_weight_class() ?> sm:text-4xl"><?= e($s['title']) ?></h2><?php endif ?>
    <div class="mt-10 divide-y divide-zinc-200 border-y border-zinc-200">
        <?php foreach ($s['items'] as $item): ?>
            <?php if (!$item['question']) continue ?>
            <details class="group py-5">
                <summary class="flex cursor-pointer list-none items-center justify-between gap-6 text-left text-base font-semibold text-ink">
                    <?= e($item['question']) ?>
                    <span class="flex size-8 shrink-0 items-center justify-center rounded-full bg-zinc-100 transition group-open:rotate-45"><?= icon('plus', 'size-4', '2') ?></span>
                </summary>
                <p class="mt-4 pr-14 leading-7 text-zinc-600"><?= nl2br(e($item['answer'])) ?></p>
            </details>
        <?php endforeach ?>
    </div>
</div>

Lisans bilgisi projenin LICENSE dosyasında.