Sindbad~EG File Manager

Current Path : /home/julesbu/www/dup-installer/wp-content/themes/Jules_Belamy/components/
Upload File :
Current File : /home/julesbu/www/dup-installer/wp-content/themes/Jules_Belamy/components/pack-block.php

<?php

$title = $title ?? 'Titre par défaut';
$content = $content ?? 'Contenu par défaut';
$items = $items ?? [];

; ?>
<section class="pack-block">
    <div class="container">
        <div class="pack-block__container text-center text-purple800">
            <h3 class="heading-2 mb-12">
                <?php echo $title; ?>
            </h3>
            <p class="pack-block__container-subheading subheading mb-96">
                <?php echo $content; ?>
            </p>
            <div class="pack-block__items-container">
                <?php foreach ($items as $item): ?>

                    <article class="text-left pack-block__item <?php if ($item['highlighted'])
                        echo 'highlighted'; ?>">
                        <div class="pack-block__item-icon-container mb-18">
                            <img src="<?= $item['icon']; ?>" alt="Card Icon" class="pack-block__item-icon" />
                        </div>
                        <h4 class="heading-4 mb-18 font-semibold">
                            <?= $item['title']; ?>
                        </h4>
                        <p class="body-2 mb-18">
                            <?= $item['content']; ?>
                        </p>
                        <a href="<?= $item['cta']['link']; ?>" class="cta-button <?php if ($item['highlighted'])
                              echo 'white'; ?>
                        "><?= $item['cta']['label']; ?>
                        </a>
                    </article>
                <?php endforeach; ?>

            </div>
        </div>
    </div>
</section>

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists