<?php
use WpBookingEvent\Language\Text;
use WpBookingEvent\Factory as FactoryAlias;
?>
<div class="block-destination-default destination-home1">
    <div class="title">
        <p><?php esc_attr_e('booking with','wpbookingevent');?></p>
        <h1><?php esc_attr_e('any location','wpbookingevent');?></h1>
    </div>
    <div class="row">
            <div class=" col-md-4 col-xs-6 wrapper-location-item location-item-full-width location-item-1">
                <div class="wrapper-banner-location">
                    <div class="img-location">
                        <a href="<?php echo FactoryAlias::getRootUrl() ?>/events-list/?location=<?php echo esc_attr($list_location[0]->id);?>">
                            <div>
                                <img src="<?php echo esc_url($list_location[0]->banner);?>" alt="img-location" />
                            </div>
                            <div class="name-location">
                                <h3> <?php echo esc_html($list_location[0]->name);?> </h3>
                            </div>
                        </a>
                    </div>
                    <div class="layer-blur"></div>
                </div>
            </div>
            <div class=" col-md-4 col-xs-6 wrapper-location-item  location-item-full-width location-item-2">
                <div class="wrapper-banner-location">
                    <div class="img-location">
                        <a href="<?php echo FactoryAlias::getRootUrl() ?>/events-list/?location=<?php echo esc_attr($list_location[1]->id);?>">
                            <div>
                                <img src="<?php echo esc_url($list_location[1]->banner);?>" alt="img-location" />
                            </div>
                            <div class="name-location">
                                <h3> <?php echo esc_html($list_location[1]->name);?> </h3>
                            </div>
                        </a>
                    </div>
                    <div class="layer-blur"></div>

                </div>
                <div class="wrapper-banner-location">
                    <div class="img-location">
                        <a href="<?php echo FactoryAlias::getRootUrl() ?>/events-list/?location=<?php echo esc_attr($list_location[2]->id);?>">
                            <div>
                                <img src="<?php echo esc_url($list_location[2]->banner);?>" alt="img-location" />
                            </div>
                            <div class="name-location">
                                <h3> <?php echo esc_html($list_location[2]->name);?> </h3>
                            </div>
                        </a>
                    </div>
                    <div class="layer-blur"></div>
                </div>
            </div>
            <div class=" col-md-4 col-xs-6 wrapper-location-item location-item-full-width location-item-3">
                <div class="wrapper-banner-location">
                    <div class="img-location">
                        <a href="<?php echo FactoryAlias::getRootUrl() ?>/events-list/?location=<?php echo esc_attr($list_location[3]->id);?>">
                            <div>
                                <img src="<?php echo esc_url($list_location[3]->banner);?>" alt="img-location" />
                            </div>
                            <div class="name-location">
                                <h3> <?php echo esc_html($list_location[3]->name);?> </h3>
                            </div>
                        </a>
                    </div>
                    <div class="layer-blur"></div>
                </div>
            </div>
            <div class=" col-md-4 col-xs-6 wrapper-location-item location-item-full-width location-item-4">
                <div class="wrapper-banner-location">
                    <div class="img-location ">
                        <a href="<?php echo FactoryAlias::getRootUrl() ?>/events-list/?location=<?php echo esc_attr($list_location[4]->id);?>">
                            <div>
                                <img src="<?php echo esc_url($list_location[4]->banner);?>" alt="img-location" />
                            </div>
                            <div class="name-location">
                                <h3> <?php echo esc_html($list_location[4]->name);?> </h3>
                            </div>
                        </a>
                    </div>
                    <div class="layer-blur"></div>
                </div>
                <div class="wrapper-banner-location">
                    <div class="img-location">
                        <a href="<?php echo FactoryAlias::getRootUrl() ?>/events-list/?location=<?php echo esc_attr($list_location[5]->id);?>">
                            <div>
                                <img src="<?php echo esc_url($list_location[5]->banner);?>" alt="img-location" />
                            </div>
                            <div class="name-location">
                                <h3> <?php echo esc_html($list_location[5]->name);?></h3>
                            </div>
                        </a>
                    </div>
                    <div class="layer-blur"></div>
                </div>
            </div>
    </div>
</div>


