<?php
/**
 * Title: CountDown Pattern
 * Slug: aamira/countdown-pattern
 * Categories: featured
 * Keywords: countdown, timer, deal
 * Block Types: core/template-part/featured
 * Inserter: true
 *
 * @package WordPress
 * @subpackage Aamira
 * @since Aamira 1.0
 */
?>

<!-- wp:necessary-block/countdown-block {"align":"full","background":"#d1dce6","textColor":"#1b8bf4","endDate":"<?php echo date("Y-m-d",strtotime(date("Y-m-d")."+ 10 days"))?>","dateColor":"#a5cff6","hourColor":"#abd6fe","minuteColor":"#bfdffd","secondColor":"#c5def6","borderRadius":{"topLeft":"45px","topRight":"45%","bottomLeft":"45%","bottomRight":"15em"},"borderbox":{"color":"#3582c4","style":"dashed","width":"3px"},"style":{"spacing":{"padding":{"top":"var:preset|spacing|80","bottom":"var:preset|spacing|80","left":"var:preset|spacing|50","right":"var:preset|spacing|50"},"margin":{"top":"var:preset|spacing|0","bottom":"var:preset|spacing|0"}}}} -->
    <div class="wp-block-necessary-block-countdown-block text-center alignfull" style="margin-top:var(--wp--preset--spacing--0);margin-bottom:var(--wp--preset--spacing--0);padding-top:var(--wp--preset--spacing--80);padding-right:var(--wp--preset--spacing--50);padding-bottom:var(--wp--preset--spacing--80);padding-left:var(--wp--preset--spacing--50);--days-color:#a5cff6;--hour-color:#abd6fe;--minute-color:#bfdffd;--second-color:#c5def6;background-color:#d1dce6;--text-color:#1b8bf4;--border:3px dashed #3582c4">
        <div class="countdown-timer" data-enddate="<?php echo date("Y-m-d",strtotime(date("Y-m-d")."+ 10 days"))?>">
            <div class="countdown-buttons"><button class="countdown-button days"><?php echo esc_html__( 'Days', 'aamira' ); ?></button><button class="countdown-button hours"><?php echo esc_html__( 'Hours', 'aamira' ); ?></button><button class="countdown-button minutes"><?php echo esc_html__( 'Minutes', 'aamira' ); ?></button><button class="countdown-button seconds"><?php echo esc_html__( 'Seconds', 'aamira' ); ?></button>
        </div>
    </div>
</div><!-- /wp:necessary-block/countdown-block -->