<?php if (!empty($countdowns)): ?>
    <div class="countdowns">
        <?php foreach ($countdowns as $countdown): ?>
            <div class="countdown"
                 data-countdown="<?= $countdown['count_date'] ?>"
                 data-message="<?= $countdown['message'] ?>"
                 data-timezone="<?= config('timezone') ?>"
            >
                <div class="title"><?= $countdown['title'] ?></div>
                <div class="timer"></div>
            </div>
        <?php endforeach ?>
    </div>
<?php endif ?>