<?php
/**
 * Homepage Main Widget Area
 *
 * @package Vintuna
 */

if (!function_exists('vintuna_case_home_widget_area_block')):

    function vintuna_case_home_widget_area_block($vintuna_home_section, $repeat_times)
    {
        ?>
        <?php if (is_active_sidebar('front-page-widget-area-1') ) { ?>
            <div id="theme-block-<?php echo esc_attr($repeat_times); ?>" class="theme-block theme-widgetarea-full theme-widgetarea-primary">
                <?php if (is_active_sidebar('front-page-widget-area-1')) { ?>
                    <?php dynamic_sidebar('front-page-widget-area-1'); ?>
                <?php } ?>
            </div>
    <?php } ?>

        <?php
    }

endif;