<?php
/**
 * Template part for displaying banner homepage
 *
 * @link https://developer.wordpress.org/themes/basics/template-hierarchy/
 *
 * @package storeethan
 */
defined( 'ABSPATH' ) || exit;
$images = array(
    'banner1.jpg',
    'banner2.jpg',
    'banner3.jpg',
);
?>
<div class="banner">
    <div class="container-fluid p-0">
        <div class="banner_items">

            <?php foreach ($images as $key => $image) : ?>
                <div class="item">
                    <img src="<?php echo STORE_ASSETS_URL . 'images/' .$image; ?>" alt="Banner<?php echo $key ?>">
                </div>
            <?php endforeach; ?>

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