<div class="banner">
    <div id="banner_carousel" class="banner-carousel">
        <?php foreach ($banner as $banner): ?>
            <div class="">
                <a href="#" target="_self">
                    <img alt="<?= $banner['title']; ?>" height="600" loading="lazy" src="<?= $banner['image']; ?>" title="<?= $banner['title']; ?>" width="1920" />
                </a>
            </div>
        <?php endforeach; ?>
    </div>
</div>